I am new to Ubuntu and just only started using it. So please be specific if you are able to help me with my issue.
I am trying to automount my Netgear ReadyNAS shared drive which is using SMB1. I am aware of the security risk but there is nothing I can do as that is the only supported version.
Anyway, I am able to mount the shared drive using the following command:
sudo mount -t cifs -o username=MyUsername -o password=MyPassword -o vers=1.0 //192.168.0.34/Family_Medias /mnt/NAS-Media/
However, when I reboot the machine, the mounted folder is no longer mounted. My question is based on the above mount command, how do I add into /etc/fstab?
Please note that I had to add the option vers=1.0 or I will get the error "Host is down" due to the fact that my NAS device only supports SMB1. Thanks for any help you can provide me.
//192.168.0.34/Family_Medias /mnt/NAS-Media/ cifs credentials=/etc/samba/passwd_file,vers=1.0,sec=ntlm 0 0(the sec= option may not be needed, I found I needed it on some boxes)