I'm running Ubuntu 7.10. i'm trying to mount a CIFS share on a NAS. I can mount the nas from the command line, but i want it to automount every time i startup. I have modified /etc/fstab, i have tried a few different lines but none seem to work. here is what i tried.
//192.168.1.15/public /media/NAS cifs auto,username=<user>,passw
ord=<pass>
,uid=1000,
gid=1000 0 0
//192.168.1.15/public /media/NAS cifs username=<user>,password=<
pass>,uid=
1000,gid=1
000 0 0
//192.168.1.15/public /media/NAS cifs rw,_netdev,username=<user>
,password=
<pass>,uid
=1000,gid=
1000 0 0
none of the above successfully mount the NAS at startup. But if i run the command 'sudo mount -a', and it will mount correctly.
As i am writing this, it just hit me that maybe the network hasn't started at the time /etc/fstab is loaded. maybe i'll look down that path as well.
any help would be great. Thanks in advance
Start Free Trial