I want to try and mount a smb shared network drive on boot. The following command works for me when I put it in a terminal.
sudo mount -t cifs -o -credentials=/home/pi/.smbcredentials,vers=3.0,uid=1000,gid=1000 //192.168.1.129/SecurityVideos/ /media/share/
I tried puting in that command into a startup script but it dosent execute. So I tried to follow this post: Proper fstab entry to mount a samba share on boot? but it is not working for me.
I added this entry to my /etc/fstab/ file but it still does not mount on boot.
//192.168.1.129/SecurityVideos /media/share/ cifs credentials=/home/pi/.smbcredentials,vers=3.0,uid=1000,gid=1000 0 0
What am I missing/doing wrong?