Quote:
Originally Posted by keogk
Is there some other way to do this on startup other then fstab?
|
Is there some reason you DON'T want to do this using fstab? If the issue is just that your current fstab entry doesn't work, here's the fstab entry I use for something similar (the sharing computer is "192.168.0.53" fixed IP, it's shared resource is "f", and local mountpoint is "/mnt/livingroom/f" ):
Code:
//192.168.0.53/f /mnt/livingroom/f smbfs fmask=0777,dmask=0777,credentials=/etc/cred 0 0
And here's the (bogus-ized) contents of /etc/cred (file readable only by root):
Code:
#
# /etc/cred
#
# Credentials to mount Windows shares via SAMBA
username = arthur_dent
password = qn(*^#$w0rQ_7Wt5a]sr453*&^*(^TYG*2t66