On Wed, Jan 10, 2001 at 08:57:14AM -0500, Robert Watson wrote:
> On Wed, 10 Jan 2001, Samuel Tardieu wrote:
> 
> > Is there a way to be warned about ethernet link up/down events? I have a
> > laptop with an internal fxp0 interface, and I'd like to launch/kill
> > dhclient whenever the link goes up/down. 
> 
> I've been wondering about this also -- Darwin has this, and it's pretty
> cool to watch dhclient run as soon as the ethernet cable is stuck in, and
> not have to dig around to find out how to pursuade the system to make the
> change.  Windows 2000 also appears to do this for appropriate ethernet
> cards.  The traditional means of notifying userland processes of
> interface/network events has been the routing socket -- presumably we want
> to notify on interface arrive / depart, as well as for condition changes,
> including a link up / down (differentiated from administrative up / down).

There's an ongoing discussion about building a generic devd (device
daemon) to deal with this kind of thing.  Nick Hibma proposed a spec for
one, but as far as I'm aware there's been no feedback to him yet.

Nick, maybe you should re-propose it via the -arch list.

Joe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to