View previous topic :: View next topic |
Author |
Message |
Gil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9463607303e8f26a8c487b.gif)
Joined: 23 Feb 2003 Posts: 32 Location: Vancouver, Canada
|
Posted: Wed Jan 07, 2004 6:54 am Post subject: network interface timeout |
|
|
Is there a way to change the timeout of starting a network interface?
In my case, I have Gentoo on my laptop. I set the net.eth0 to start up automatically. However, when I'm on the road, it tries to start up the net.eth0 and timeout after about a minute. Is there a way to shorter the timeout to, let say, 5 seconds?
This also happens when I have the wireless pcmcia plugged in, but no wireless network available...
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hadfield Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Mar 2003 Posts: 308 Location: Vancouver, BC, Canada
|
Posted: Wed Jan 07, 2004 7:46 am Post subject: |
|
|
In the file /conf.d/net add the following:
dhcpcd_eth0="-t 5"
This should set dhcp to time out after 5 seconds.
Scott |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9463607303e8f26a8c487b.gif)
Joined: 23 Feb 2003 Posts: 32 Location: Vancouver, Canada
|
Posted: Wed Jan 07, 2004 7:27 pm Post subject: |
|
|
[quote="shadfiel"]In the file /conf.d/net add the following:
dhcpcd_eth0="-t 5"
This should set dhcp to time out after 5 seconds.
Scott[/quote]
Works very well. Thanks a lot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|