kanotix.com

Networking - how to set time out for dhcp at boot

fishtank - 25.08.2006, 20:32 Uhr
Titel: how to set time out for dhcp at boot
I configured the wireless to use dhcp at boot. The dhcp client would try to reconnect if the first attempt failed and it took too long. I wanted to set the time out to probably about 5 seconds. I looked at the /etc/dhcp3/dhcpd.conf and wasn't sure if I should add something like timeout = 5 to it. Thanks.
ockham23 - 25.08.2006, 22:14 Uhr
Titel: how to set time out for dhcp at boot
You're close, but not quite there:
Code:
su
mcedit /etc/dhclient.conf
Replace
Code:
#timeout 60;
with
Code:
timeout 5;

fishtank - 26.08.2006, 02:04 Uhr
Titel: RE: how to set time out for dhcp at boot
Thanks a lot, ockham23. Problem solved!
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007