[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to check link under Linux



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


Reply to: