Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have several cifs fstab entries that aren't being mounted at boot, and I don't know why. Once the OS finishes booting, I can do "mount -a" as root, and they mount fine. They stay mounted until I unmount them or reboot. The issue is that this machine is multi-boot, and I reboot frequently, so it becomes a serious pain in the rear.
1) These are network mounts. Don't I need the card AND the IP stack loaded BEFORE I mount a network resource?
2) Doesn't Linux automatically mount stuff in fstab? I would think, that by putting it into my fstab, it would auto mount at boot. I didn't think I needed to add a manual mount command anywhere in rc. I listed my rc5.d because I thought maybe something needed to be shuffled around.
I'm not trying to downplay your comment, I'm just a little lost. Thanks for the help!
not sure what the file is in suse, but basically there is a place you can run commands on boot.
i don't know a way, or know if it is possible to mount network mount points from fstab at boot, i always have mounted them from a script that runs from my rc.local file that sends me an email if the drive was not reconnected.
I put my CIFS mounts on noauto, and then put 'mount -a' in a shell script, and symlinked it in boot.d, so that it the last boot.d script (S14netmount is what I called it).
I rebooted, and nothing. It appears 'mount -a' ignores noauto entries.
So, I took out the noauto option, and then put 'mount -a' in /etc/init.d/boot.local, rebooted, and got the same results: nothing.
So exactly what do you do? If you don't want it to attempt to automount when it reads fstab (during boot), and put 'noauto' in fstab, how do you tell linux to mount the 'noauto' entries in fstab without using 'mount -a' option?
Should the net mounting occur before the runlevel is initiated, or before? In the past, I have put 'mount -a' in the rc5.d (the default runlevel on this box), and it didn't work.
This issue has eluded me for some time, varying distros.