netplug [was Re: Automatically bringing ethernet interfaces up when the cableis connected]

Bryan O'Sullivan bos at serpentine.com
Mon Dec 15 19:16:37 UTC 2003


On Mon, 2003-12-15 at 11:10, David Zeuthen wrote:

> Well, as HAL isn't mature at all the only thing I presently do is to
> monitor the MII registers, if available, as in mii-diag by Donald
> Becker. Obviously this only works for ethernet.

FWIW, the MII interface is only supported by a patchy number of cards,
while netlink is more generically supported (though it's still not
100%).

> I'm sure there are better ways to do this though, but my point was
> really that it makes good sense to put all hardware dependent stuff,
> like network link detection, in a hardware abstraction layer in a way
> that is OS-independent way such that the desktop environments can use it
> without resorting to #ifdef-hell.

Need some help?

	<b





More information about the fedora-devel-list mailing list