Hello!
> Is there a common sysctl interface, or any interface at all, to tell
> whether the link status of a network card is up?
The interface exists in 2.3, but no drivers using this interface
still exist. 8)
> It would be nice to programatically determine whether an ethernet cable
> has been removed or failed.
Well, add corresponding code to your lovely driver.
netif_carrier_off()/netif_carrier_on(). Then status
will appear as IFF_RUNNING flag.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:09 EST