Click to See Complete Forum and Search --> : Couple problems mounting NT shares?


robisc
01-03-2002, 12:52 PM
Need some Linux help, I'm pretty new to Linux even though I have been fooling around with it for a couple years and about 20 distros later. I am trying to access a couple shares on an NT server on my local network. I am running Suse 7.3, I have used the following command from the terminal to mount the NT shares sucessfully.

smbmount //server/share /local/dir -o username=n***,password=p***,ip=192.168.0.2

After I mount this one I am typing another command in the console for the other share similar to the first one.

Now I have 1 question and seemingly 1 problem.

My question is how can I get these shares to stay mounted when I log on as user since I can only run this as root, and how can I get these shares to stay mounted when I reboot?

My problem is that when I access these files from konqueror it will sometimes hang up and I can't do anything unless I logout of the system and then back in, this is more prevalant when accessing MP3 files than it is with other types.

2thumbs
01-03-2002, 04:22 PM
add something like this to /etc/fstab:

//foo/bar /mountpoint smbfs user,password=*,username=*,auto 0 0

then you can mount it using mount /mountpoint and it will auto mount on boot.