Question: Etherenet Link Detection

From: Robert Cantu (
Date: Wed Sep 26 2001 - 16:41:16 EST

Is there a method of detecting the link status of an ethernet NIC? If not,
is it feasible? And if it is, then would it be something in each driver,
or on a level above the driver, thereby available to all drivers? I figure
the list is the best place to ask this, although it might be a moot point.
Example: Have a cable modem hooked into a computer's NIC. Cable service
goes out, link light on back of NIC goes out. A hypothetical program says
that the link is gone via some hook in /proc somewhere.

Is this a worthwhile endeavor, if possible?

Thanks in advance,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:52 EST