On Fri, 2002-08-02 at 07:57, Rob & Jen wrote:
> I would like to change my DHCP timeout from the default 2 min to more
> like 20 sec as when booting off the network is too slow. Can anybody
> help me on how to edit the ifup file to do this?
>
from the dhcpcd man page:
-t timeout
Specifies (in seconds ) for how long dhcpcd will
try to get an IP address. The default is 60 sec�
onds. dhcpcd will not fork into background until
it gets a valid IP address in which case dhcpcd
will return 0 to the parent process. In a case
dhcpcd times out before receiving a valid IP
address from DHCP server dhcpcd will return exit
code 1 to the parent process.
Now what this does not tell you is that if you set the variable
DHCPCDARGS in /etc/sysconfig/network-scripts/ifcfg-eth? like so:
DHCPCDARGS=" -t 5"
ifup will the value to dhcpcd when the interface is started.
HTH
Bret
--
redhat-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list