Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 18:48:16 -0400
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        freebsd-stable@freebsd.org
Subject:   bogus dhclient EXPIRE when using wi0
Message-ID:  <20060514224816.GA65273@vougeot.opal.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060514224816.GA65273>