Make the mount folder
sudo mkdir /mnt/nethdd
Add the network drive to fstab:
sudo nano /etc/fstab
//192.168.0.10/HDDShared /mnt/nethdd cifs auto,password= 0 0
Mount it
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:
sudo chown -R pi /mnt/nethdd/
sudo chmod a+rwx /mnt/nethdd/
fstab:
//192.168.1.254/HDDShared /mnt/nethdd cifs rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
remount withour rebooting:
sudo mount -a