Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
increase timout on eth0 dhcpc
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
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2539
Location: Near Toronto

PostPosted: Wed Jun 07, 2017 11:51 am    Post subject: increase timout on eth0 dhcpc Reply with quote

anyone know how to increase the timeout on eth0 waiting for an
address from internet provider's router?

Please note that having

Quote:
dhcpcd_eth0="-t 60"


in /etc/conf.d/net has NO effect

some busybox utility is what actually acquires the address so
should "dhcpcd" in the above be replaced with something else?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6960

PostPosted: Wed Jun 07, 2017 1:53 pm    Post subject: Reply with quote

Did you try -t 0?
maybe 60 is not enough
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2539
Location: Near Toronto

PostPosted: Wed Jun 07, 2017 3:15 pm    Post subject: Reply with quote

I think the solution is to have this in
/etc/conf.d/net

udhcpc_eth0="-t 10"

(-t for retries / -T for timeout in seconds by the way)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
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