From: Tudod Ki on
as we can do a check on e.g.: routerOS:

interface ethernet monitor ether1
                 status: link-ok
       auto-negotiation: done
                   rate: 100Mbps
            full-duplex: yes
  default-cable-setting: standard

how could I check that is there a link under "Linux"? [to get info about the cable - is it plugged in or not?]




From: Camaleón on
On Fri, 04 Dec 2009 12:13:26 -0800, Tudod Ki wrote:

> as we can do a check on e.g.: routerOS:
>
> interface ethernet monitor ether1
>                  status: link-ok
>        auto-negotiation: done
>                    rate: 100Mbps
>             full-duplex: yes
>   default-cable-setting: standard
>
> how could I check that is there a link under "Linux"? [to get info about
> the cable - is it plugged in or not?]

How about "ethtool eth0 | grep Link"?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org