Date: Wed, 15 Jun 2005 00:45:27 +0400 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-current@freebsd.org Subject: Re: HEADSUP: OpenBSD dhclient incoming Message-ID: <1118781927.1003.1.camel@localhost> In-Reply-To: <20050614162338.GA20371@odin.ac.hmc.edu> References: <20050607034620.GA32718@odin.ac.hmc.edu> <1118728905.939.5.camel@localhost> <20050614162338.GA20371@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
В вт, 14/06/2005 в 09:23 -0700, Brooks Davis пишет: > 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 > > > > I have strange behavior of new dhclient + devd: > > > > 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. > > > > I do not think that it is desired behavior. > > > > my rc.conf, related to this: > > > > ifconfig_fxp0="dhcp" > > network_interfaces="lo0" > > devd_enable="YES" > > > > 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. I am claiming that first notification is triggered by ifconfig command (interface already detected). I guess it should be triggered by real module load/interface detection, but not by user's ifconfig. > -- Brooks > -- Vladimir B. Grebenschikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1118781927.1003.1.camel>
