Bug 10971 - no way of querying for physical status of eth0
: no way of querying for physical status of eth0
Status: RESOLVED WORKSFORME
Product: SB Touch
Classification: Unclassified
Component: OS
: unspecified
: PC Other
: -- normal (vote)
: ---
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-05 14:30 UTC by Ben Klaas
Modified: 2009-09-08 09:29 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klaas 2009-02-05 14:30:22 UTC
I'd like to be able to write a jive.net.Networking method to query for whether the physical eth0 link is up, and currently Fab4 has no information available through proc/ or any command-line tool.

Brandon and Tom both suggested considering compiling in ethtool. That might give the added benefit of being able to get some additional information on the ethernet link.

Altnerative would be a small C program to get hard link status.
Comment 1 Richard Titmuss 2009-02-06 04:20:24 UTC
This is already done, Networking:t_wpaStatus() will report the ethernet link status. It is used by the Ethernet status screen.
Comment 2 Richard Titmuss 2009-03-26 04:35:34 UTC
*** Bug 11201 has been marked as a duplicate of this bug. ***