Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I have a Dell Latitude laptop run RH7.3. I have an entry in the fstab file to mount an NT share automatically. I can run the mount command manually and mounting the share works fine but for some reason it was not mounting during bootup. I checked the /var/log/messages and it appears that the share is not able to be mounted during boot because the ethernet card is not yet initallized (or at least I do not have a working network connection when fstab is run). Is there a way to delay fstab during boot or maybe run a command to mount the share after login? Any other suggestions? Thanks in advance!
well you can always convert the fstab line to a mount command in /etc/rc.local, but why isn't your network loaded by then? the network should by one of the earliest services started, and netfs (the service that will mount smb / nfs etc..) will not start till later. check the S??servicename values in your /etc/rc3.d or /etc/rc5.d for netfs and network, mine are 25 and 10 respectively.
Hi Chris, thank you for the answer, I checked the servicename values for netfs and network, and mine are 25 and 10 respectively as well. I included a section of the output from my /var/log/messages below: I noticed that cardmanager is initializing right before the smb connection fails, that is why I was thinking my PCMCIA eth card was not running properly before fstab was run. I did try the mount command in /etc/rc.local solution and it works, thanks again for the suggestion.
I think I've posted this elsewhere but I'll do it again here.
I used the Service Configuration GUI to stop netfs from starting at run levels 3 and 4 and then I went to /etc/rc5.d and moved S25netfs to S60netfs. I haven't had the time to see if a lower start sequence would work but this works for me and doesn't appear to hamper any other service. Anyone know why netfs needs to start so early?
I think I've posted this elsewhere but I'll do it again here.
I used the Service Configuration GUI to stop netfs from starting at run levels 3 and 4 and then I went to /etc/rc5.d and moved S25netfs to S60netfs. I haven't had the time to see if a lower start sequence would work but this works for me and doesn't appear to hamper any other service. Anyone know why netfs needs to start so early?
OMG!!!! Thank you sooooo much I have been trying to figure this out for days and I tried changing the S25netfs to S60 like you said but it wasn't working BUT THEN I stopped it from running @ 3 and 4 and holy crap IT WORKED!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.