LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mounting network drives on bootup (https://www.linuxquestions.org/questions/linux-networking-3/mounting-network-drives-on-bootup-10161/)

manderso 12-16-2001 01:15 PM

Mounting network drives on bootup
 
Hi there. I've been having issues mounting my shared network drives from my win2k server to my suse machine on bootup.

I've searched the forum (and have found a lot of good resources), but the stuff that I've seen here and other polaces so far isn't working.

I've tried adding //server/music /home/manderso/music smbfs username=administrator,password=xxxx,user to my fstab line, and I get "/home/manderso/music --v Error: Coiuld not determine network interfaces, you must use interfaces config line."

I've also tried adding mount -t smbfs -o username=administrator,password'xxxx' //server/music /home/manderso/music , which is the command I use to manually mount it when I'm booted. I don't get an error message as I boot, but the files certainly aren't mounted to the dir.

I'd appreciate any help you could provide. Thanks.

DavidPhillips 12-16-2001 01:32 PM

put the command you use to mount the share in your startup scripts.

like in rc.local

manderso 12-16-2001 02:09 PM

Lawsy mercy, but I feel stupid. I can't find rc.local. I find rc in etc/init.d and usr/share/doc/packages/xntp ... both of which are large script file. the one in usr/share/doc... seems to be ntp ??? (no idea what that is) and the other is the master resource control script. That sounds like the right file, but where do I put my line?

Thanks for the help.

Edited to say that I'm running suse 7.2, which might help.

DavidPhillips 12-17-2001 05:16 AM

I guess rc.local is a redhat thing.

although I did create one on my sparc running unix.

in redhat it is in /etc/rc.d/
for suse 7.2 they are in /etc/initd/


All times are GMT -5. The time now is 07:36 PM.