View previous topic :: View next topic |
Author |
Message |
MusclePup n00b
Joined: 08 Mar 2003 Posts: 16
|
Posted: Sun Mar 20, 2005 12:19 am Post subject: DHCP Timeout |
|
|
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 |
|
|
inode77 Veteran
Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Sun Mar 20, 2005 12:37 am Post subject: |
|
|
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 |
|
|
Mr Faber n00b
Joined: 14 Mar 2005 Posts: 47
|
Posted: Sun Mar 20, 2005 5:20 pm Post subject: |
|
|
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 |
|
|
|