slow boot when ethernet cable not connected to network
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
slow boot when ethernet cable not connected to network
I've just installed Mandrake 10.1, but it boots really slowly when it is not connected to a network. Is there anyway to set a timeout so that it doesn't take so long to boot up if it is not connected to a network? I'm using a laptop and I can't always have it connected to a network.
It's probably trying to resolve it's own hostname when it's starting up. You can either 1) set your hostname correctly in /etc/hosts or 2) disable the network servers that are trying to start at boot time. You probably don't need them anyway as you're not connected to a network
I still want it to automatically try to connect to the network, because it is connected to the network much of the time, I just don't want it to take so long. I read somewhere that you can set a timeout in dhclient.conf, but I don't have that file. I tried to create it and put it in the etc folder, but that did not help.
When you say it's slow what is the rough time estimate for it to boot? If the system can't resolve it's own hostname then it can take a few minutes. Linux usually only waits about 20 seconds per interface for response from a DHCP server.
It pauses for about a minute when it gets to the part where it says something about setting up eth0. A while before that it says that it is setting the hostname, but it doesn't take much time to do that at all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.