On Thu, Sep 10, 2009 at 02:33:27PM -0600, Warner Losh wrote: > From: Brooks Davis <bro...@freebsd.org> > Subject: svn commit: r197047 - head/share/man/man4 > Date: Wed, 9 Sep 2009 20:28:58 +0000 (UTC) > > > Author: brooks > > Date: Wed Sep 9 20:28:58 2009 > > New Revision: 197047 > > URL: http://svn.freebsd.org/changeset/base/197047 > > > > Log: > > Mention that a few ed(4) devices don't emit link state change notices > > and a workaround for dhclient. > > I thought that I'd made it so that we report the link as active always > for those devices that don't support reporting the link status in the > hardware. Is this really necessary still?
That fixes the case where dhclient never sees a link, but apparently doesn't deal with the fact that in 8.0 dhclient never starts without a link-up event. It may be that we need to generate a single link-up event at startup to provide an equivalent workaround. -- Brooks > Warner > > > Reviewed by: thierry > > MFC after: 3 days > > > > Modified: > > head/share/man/man4/ed.4 > > > > Modified: head/share/man/man4/ed.4 > > ============================================================================== > > --- head/share/man/man4/ed.4 Wed Sep 9 19:40:54 2009 > > (r197046) > > +++ head/share/man/man4/ed.4 Wed Sep 9 20:28:58 2009 > > (r197047) > > @@ -425,3 +425,21 @@ driver is slow by today's standards. > > .Pp > > PC Card attachment supports the D-Link DMF650TX LAN/Modem card's Ethernet > > port only at this time. > > +.Pp > > +Some devices supported by > > +.Nm > > +do no generate the link state change events used by > > +.Xr devd 8 > > +to start > > +.Xr dhclinet 8 . > > +If you have problems with > > +.Xr dhclient 8 > > +not starting and the device is always attached to the network it may > > +be possible to work around this by changing > > +.Dq Li DHCP > > +to > > +.Dq Li SYNCDHCP > > +in the > > +.Va ifconfig_ed0 > > +entry in > > +.Pa /etc/rc.conf . > > >
pgpQFmCIjM34V.pgp
Description: PGP signature