Sasquatch NAS usage - norlab-ulaval/Norlab_wiki GitHub Wiki
Using the NAS with your computer
- Make sure the NAS is powered off
- Connect your computer to the LAN port on the NAS with the tag
STATIC 192.168.0.1
- Assign the static IP
192.168.0.2
to your wired connection on your computer (view image)
- Power on the NAS
- You should be able to access the NAS web interface on http://192.168.0.1:5000/
- To mount it on your filesystem
SHARE_FOLDER=mamba-demo
NAS_USERNAME=norlab
NAS_PASSWORD=<insert password>
mkdir -p /mnt/nas
sudo mount -t cifs "//192.168.0.1/$SHARE_FOLDER" "/mnt/nas" -o username=$NAS_USERNAME,password=$NAS_PASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix
Using the NAS with the warthog
- Make sure the NAS is powered off
- Connect the warthog LAN to the LAN port on the NAS with the tag
DYNAMIC
. The warthog router will assign the IP192.168.3.99
to the NAS - Power on the NAS
- You should be able to access the NAS web interface on http://192.168.3.99:5000/
- To mount it on your filesystem
SHARE_FOLDER=mamba-demo
NAS_USERNAME=norlab
NAS_PASSWORD=<insert password>
mkdir -p /mnt/nas
sudo mount -t cifs "//192.168.3.99/$SHARE_FOLDER" "/mnt/nas" -o username=$NAS_USERNAME,password=$NAS_PASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix
Auto-mounting the NAS
For easier use, you can add a rule to your /etc/fstab
so that the NAS can automatically mount when its available (Don't forget to add the password). Then reboot your computer and it should mount automatically.
//192.168.0.1/mamba-demo /mnt/nas cifs username=norlab,password=<insert password>,iocharset=utf8,vers=3.0,file_mode=0777,dir_mode=0777,nounix,_netdev,x-systemd.automount 0 0