bogus dhclient EXPIRE when using wi0
J.R. Oldroyd
fbsd at opal.com
Sun May 14 15:48:44 PDT 2006
Using 6.1-STABLE cvsup'd on 5/9, I am noticing that on insertion
of a wi0 card, dhclient is invoking its dhclient-script several
times, as follows, from instrumentation added to the script:
Sun May 14 18:34:20 EDT 2006 dhclient reason=PREINIT
Sun May 14 18:34:20 EDT 2006 dhclient reason=REBOOT
Sun May 14 18:34:21 EDT 2006 dhclient reason=EXPIRE
The third invocation, the EXPIRE, is wrong. This EXPIRE has the
effect of causing the just-acquired IP address to be deleted, so
the i/f appears to have no IP address.
Interestingly, if dhclient is run manually, immediately following
this, as in:
# killall dhclient
# dhclient wi0
the dhclient-script invocations then do not include the EXPIRE, as
one would expect:
Sun May 14 18:36:49 EDT 2006 dhclient reason=PREINIT
Sun May 14 18:36:50 EDT 2006 dhclient reason=REBOOT
Further instrumentation of the dhclient-script shows that the
EXPIRE does seem to be premature, in that the value of $old_expiry
does appear to be (well) beyond the current time.
Anyone have thoughts on why this is happening?
Tcpdumping the DHCP dialog on shows a perfectly normal exchange
with the server, by the way.
-jr
More information about the freebsd-stable
mailing list