Tag: Network drive
Mounting a network hd
22/08/2013
Make the mount folder
1 |
sudo mkdir /mnt/nethdd |
Add the network drive to fstab:
1 |
sudo nano /etc/fstab |
//192.168.0.10/HDDShared /mnt/nethdd cifs auto,password= 0 0
Mount it
1 |
sudo mount /mnt/mynethdd |
Ok that worked as long as you want to have it read only..
Tried some other things to get it read/write..
This seems to work for now:
1 2 |
sudo chown -R pi /mnt/nethdd/ sudo chmod a+rwx /mnt/nethdd/ |
fstab:
1 |
//192.168.1.254/HDDShared /mnt/nethdd cifs rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 |
remount withour rebooting:
1 |
sudo mount -a |
Share the post "Mounting a network hd"