Setting the timeout for the network card

Jason Shein jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
Sat Mar 19 15:09:36 UTC 2005


On March 18, 2005 02:58 pm, Jim Skehill wrote:
> I'm running Mandrake 9.2 on a laptop with a Wireless and a Network card.
>
> When I start up without a network cable plugged into the network card (i.e.
> using a wireless connection) it takes around a minute longer then when it
> is plugged in. I assume that this is because the startup sequence is
> repeatedly trying the network card connection before eventually timing out.
>
> Does anyone know where this timeout is set? I'd like to shorten it.
>
> Regards,
> Jim.
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml

Changing this in Mandrake 9.2 should be as follows:

open /etc/sysconfig/network

Add a line as below:

DHCP_TIMEOUT=#  
where # is replaced by the number of seconds you would like to wait


In a Gentoo environment you would edit /etc/conf.d/net(interface_name_here)

and add or edit the following line

dhcpcd_eth0="-t #"
where # is replaced by the number of seconds you would like to wait

Hope this helps.

-- 
Jason Shein
Director of Networking, Operations and Systems
Detached Networks
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
( 905 ) - 876 - 4158 Voice
( 905 ) - 876 - 5817 Mobile
http://www.detachednetworks.ca
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list