On Sat, 9 Aug 2003, Craig Rodrigues wrote: > I just did a cvsup of -CURRENT and rebuilt the world. > dhclient doesn't seem to work for me any more. > It looks like a problem with dhclient, and not the > kernel, because an older version of dhclient works fine. > > Here is the output of dhclient -v -d xl0
Try this (cut & paste): %%% Index: if_xl.c =================================================================== RCS file: /cvs/src/sys/pci/if_xl.c,v retrieving revision 1.150 diff -u -u -r1.150 if_xl.c --- if_xl.c 27 Jul 2003 13:56:03 -0000 1.150 +++ if_xl.c 4 Aug 2003 15:46:36 -0000 @@ -3031,6 +3031,10 @@ icfg >>= XL_ICFG_CONNECTOR_BITS; ifmr->ifm_active = IFM_ETHER; + ifmr->ifm_status = IFM_AVALID; + + if (!(CSR_READ_2(sc, XL_W4_MEDIA_STATUS) & XL_MEDIASTAT_CARRIER)) + ifmr->ifm_status |= IFM_ACTIVE; switch(icfg) { case XL_XCVR_10BT: %%% -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | [EMAIL PROTECTED] | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"