Date: Wed, 1 Feb 2006 21:30:14 +0100 From: Krzysztof Kowalik <kkowalik@uci.agh.edu.pl> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-mobile@freebsd.org Subject: Re: devd.conf Message-ID: <20060201203013.GA27770@uci.agh.edu.pl> In-Reply-To: <20060130211422.GB14402@odin.ac.hmc.edu> References: <1138582561.1895.4.camel@localhost> <20060130211422.GB14402@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis <brooks@one-eyed-alien.net> wrote:
> [...]
> Your network card's driver has a broken if_media configuration. What
> kind of nic is it?
Hm, I'm getting something almost funny on my X40 with em card.
When I unplug the cable, dhclient does not die on it's own. So I added
the LINK_DOWN event to the devd.conf, as the OP did. And it works quite
nice, indeed. Except that if the dhclient isn't running, I see no
LINK_UP events. If I start the dhclient by hand, I get:
Feb 1 18:49:54 pimpus kernel: em0: link state changed to UP
And I get LINK_DOWN/UP when dhclient is running (just did some test with
those events in devd.conf configured with action simply writing UP/DOWN
to the syslog).
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port
0x7000-0x703f mem 0xd0200000-0xd021ffff irq 11 at device 1.0 on pci2
em0@pci2:1:0: class=0x020000 card=0x055b1014 chip=0x10778086 rev=0x00
hdr=0x00
vendor = 'Intel Corporation'
device = '82547EI Gigabit Ethernet Controller (Mobile)'
class = network
subclass = ethernet
[FreeBSD 6.0-STABLE #4: Wed Feb 1 19:51:07 CET 2006]
--
Krzysztof Kowalik | () ASCII Ribbon Campaign
Computer Center, AGH UST | /\ Support plain text e-mail
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060201203013.GA27770>
