Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP 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
MusclePup
n00b
n00b


Joined: 08 Mar 2003
Posts: 16

PostPosted: Sun Mar 20, 2005 12:19 am    Post subject: DHCP Timeout Reply with quote

Hello...

Could anyone give me a tip/hint on how to setup a DHCP timeout... I have used rc-update add net.eth0 default and when my connection is unplugged boot up takes a very long time. Can I set up a time out so that it does not wait so long for DHCP ?

Thanks
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Mar 20, 2005 12:37 am    Post subject: Reply with quote

I think you're better using something like this:
Code:
*  sys-apps/ifplugd
      Latest version available: 0.26
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 135 kB
      Homepage:    http://0pointer.de/lennart/projects/ifplugd/
      Description: Brings up/down ethernet ports automatically with cable detection
      License:     GPL-2

If you set the DHCP timing too short you won't get an address on a slow network.
I took about 30 to 50 seconds where I studied until I got an IP. (That's slow :-( )
Back to top
View user's profile Send private message
Mr Faber
n00b
n00b


Joined: 14 Mar 2005
Posts: 47

PostPosted: Sun Mar 20, 2005 5:20 pm    Post subject: Reply with quote

You can enabled multi tasking for init scripts. I don't know if this has some bad effect on some init scripts but I think that it is enabled on the live cd too because nobody wants to wait so long if he has no DHCP :)

Quote:

/etc/conf.d/rc

change:
Code:
RC_PARALLEL_STARTUP="no"

for:
Code:
RC_PARALLEL_STARTUP="yes"


This will start all the services at the same moment, not one after the other.
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