Changing timeout when using DHCP on interfaces

Stefan Bruda yellowdog-general@lists.terrasoftsolutions.com
Mon Oct 21 14:44:01 2002


Hi.

At 15:06 -0500 on 2002-10-21 Stephen Hocking wrote:
 >
 > I have an iBook, which has both its internal ethernet and an airport card. 
 > When I don't have it plugged into an ethernet cable, the boot process takes a 
 > horrensously long time when attempting to bring up eth0. Is there any way I 
 > can shorten the timeout on this without removing the request altogether?

The following works for me: in /etc/sysconfig/network-scripts/ifcfg-eth0 
change

    ONBOOT="yes"

to

    ONBOOT="no"

Then, when you want to bring eth0 up you do (as root)

    ifconfig eth0 up

Actually my tibook gets connected to the external world through DHCP
both at work and at home.  If this is your case as well, then you
could launch directly /sbin/dhcpcd which brings eth0 up between
others.

Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as
it isn't, it ain't. That's logic.
    --Lewis Carroll, Through the Looking-Glass