-   Linux - Newbie (
-   -   dhcp slows boot (

javierj 03-02-2005 10:28 PM

dhcp slows boot
well... i am kindda stuck here..

what happens is that when i boot my pc it starts everything allright... but after a while.. if
a lan cable is not plugged in,, my laptop takes a lot of time to boot cause doesnt find
dhcp but when it is plugged it doesnt take that much.. a couple of seconds... (still a lot i think)
but it works... how can I reconfigure that... to maybe use dhcp at some later point... or something... i use debian and use a program called laptop-net which sees if some cable is
plugged into my eth0 and configures dhcp

cavalier 03-02-2005 10:48 PM

This isn't meant to be a flip or funny comment, but have you considered using a static IP address? I have to, as there's an odd interaction between linux dhcp clients and my DSL router, and it's one less bit of unnecessary overhead on my laptop.

If you're using this at home, and control the router/dhcpd machine, I can't think of a reason not to go with a static IP address.

javierj 03-02-2005 10:51 PM

yes.. its an approach but.. the problem is that its a laptop that i use on different places.. not only in my home.. but in work (sometimes) and in college.. and thats why i dont use static ip...
even though thnx

homey 03-02-2005 11:24 PM

Check out a network tool called ifplugd .
If you can't use that, then consider setting the network interface to be not active on boot. Then, if you decide to connect after the machine is all booted up, type the command: /sbin/dhclient

All times are GMT -5. The time now is 01:29 AM.