Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2005 09:23:38 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Vladimir Grebenschikov <vova@fbsd.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADSUP: OpenBSD dhclient incoming
Message-ID:  <20050614162338.GA20371@odin.ac.hmc.edu>
In-Reply-To: <1118728905.939.5.camel@localhost>
References:  <20050607034620.GA32718@odin.ac.hmc.edu> <1118728905.939.5.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 14, 2005 at 10:01:45AM +0400, Vladimir Grebenschikov wrote:
> ? ??, 06/06/2005 ? 20:46 -0700, Brooks Davis ?????:
> > I'm about to start importing the OpenBSD dhclient and required
> > support in /etc.  I will unhook dhclient from the build while I work so
> > there shouldn't be much breakage for most people
>=20
> I have strange behavior of new dhclient + devd:
>=20
> just after boot (with ethernet plugged) I have no devd events about
> state of media and have interface down, but after first ifconfig (even
> without parameters, even executed by any user) "link state chages to UP"
> event appears and devd starts dhclient on interface.
>=20
> I do not think that it is desired behavior.
>=20
> my rc.conf, related to this:=20
>=20
> ifconfig_fxp0=3D"dhcp"
> network_interfaces=3D"lo0"
> devd_enable=3D"YES"
>=20
> Probably I need to comment network_interfaces line, but anyway, now it
> works strange.

I'm not sure what you are claiming here.  The dhclient should be being
started by /etc/rc.d/netif which is well before devd.  The link state
message had nothing to do with devd other than being emitted by the same
function that sends a notifaction to devd.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCrwSKXY6L6fI4GtQRAheGAKDdZcawEDVJUz9O42SCEaPq7SUVMQCdFTbu
0Mq+bs5dVG2HSlwUic1Y8w4=
=Unjv
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--



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