Mailinglist Archive: opensuse (807 mails)

< Previous Next >
Re: [opensuse] eth* connection status via cli
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Thu, 22 Apr 2010 21:40:37 +0200
  • Message-id: <4BD0A635.4080406@xxxxxxxxxxxxxx>
On 04/22/2010 09:26 PM, Herbert Graeber wrote:

Unfortunately there are multiple methods to check the link status and
different drivers use different mehods and some cannot check the link status
at all. The program ifplugstatus I suggested uses all all known methods for
the check.


Minas-Anor:~ # ifplugstatus
lo: link beat detected
eth0: link beat detected
wlan0: link beat detected


That's buggy, there is no cable connected on my eth0. How can there be a beat?

Minas-Anor:~ # ifplugstatus -v
lo:
SIOCETHTOOL: link beat detected
SIOCGMIIPHY failed (Operation not supported)
Wireless failed.
IFF_RUNNING: link beat detected
SIOCDEVPRIVATE failed (Operation not supported)
eth0:
SIOCETHTOOL: link beat detected
SIOCGMIIPHY failed (No such device)
Wireless failed.
IFF_RUNNING: unplugged
SIOCDEVPRIVATE failed (No such device)
wlan0:
SIOCETHTOOL: link beat detected
SIOCGMIIPHY failed (Operation not supported)
Wireless: link beat detected
IFF_RUNNING: link beat detected
SIOCDEVPRIVATE failed (Operation not supported)
Minas-Anor:~ #


--
Cheers / Saludos,

Carlos E. R.
(from 11.3 i586 "Teal" Factory-M5 (at Minas Anor))
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups