dhclient problem with xl0

Matthew N. Dodd winter at jurai.net
Sat Aug 9 05:42:51 PDT 2003


On Sat, 9 Aug 2003, Martin Blapp wrote:
> > dhclient is still relying on behavior from the kernel that isn't
> > guaranteed.
>
> I know. But I'd consider that as a kernel bug, not dhclient fault.
> Would it help the set the card into promisc. mode anyway, even
> if we don't have link ?

Except that you've added code to dhclient that makes poor assumptions
about the ifmedia status word.  Its optional; for hardware that you can
detect media status it can be used to display the status.  For other
hardware, we shouldn't have to "lie" about media status; if the hardware
doesn't support reporting media status then we shouldn't do anything with
the status word.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter at jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |


More information about the freebsd-current mailing list