Subject: Re: wscons and XFree keyboard problems on SPARCbook 3TX
To: Michael <macallan18@earthlink.net>
From: Martin Husemann <martin@duskware.de>
List: port-sparc
Date: 11/01/2005 12:22:02
On Mon, Oct 31, 2005 at 06:14:24PM -0500, Michael wrote:
> userland, I should probably look for a device-independent way to check
> the network status. It could for instance watch a wireless card which
> would be more interesting than the carrier on the built-in interface,
> but then it would have to cope with devices getting added and removed.

A slightly ugly, but working hack:

If you have PFIL_HOOKS in your kernel, use pfil_add_hook() to register
a hook for PFIL_IFNET - it will be called for every interface attaching
and detaching.


Martin