Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
network interface timeout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gil
n00b
n00b


Joined: 23 Feb 2003
Posts: 32
Location: Vancouver, Canada

PostPosted: Wed Jan 07, 2004 6:54 am    Post subject: network interface timeout Reply with quote

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
View user's profile Send private message
hadfield
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 308
Location: Vancouver, BC, Canada

PostPosted: Wed Jan 07, 2004 7:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Gil
n00b
n00b


Joined: 23 Feb 2003
Posts: 32
Location: Vancouver, Canada

PostPosted: Wed Jan 07, 2004 7:27 pm    Post subject: Reply with quote

[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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum