dhclient existing when run early in startup
Doug Barton
dougb at FreeBSD.org
Sun Feb 26 13:30:12 PST 2006
Tobias Roth wrote:
> On Tue, Feb 21, 2006 at 01:28:18PM -0800, Brooks Davis wrote:
>
>>> Possible improvements:
>>> 1) change dhclient to accept a timeout on the commandline
>> This would be a useful addon. Actually, I'd like to see both the option
>> to specify a shorter one and the option to keep trying forever since
>> that's what's wanted in some scenerios.
>
> I've implemented the two switches -i and -t, that override the variables
> from dhclient.conf 'retry' and 'timeout'. The patch can be found here:
>
> http://fsck.ch/dhclient_timeouts.diff
While you're at it, how about making the number of tries a runtime option as
well? I'm speaking specifically about the number of times dhclient tries an
interface before giving up with 'no link'. I have locally patched my system
to reduce that number from 10 to 5 since on my laptop bge0 is always tried
first, and rarely is it actually connected.
Doug
--
This .signature sanitized for your protection
More information about the freebsd-rc
mailing list