how to check link under Linux

2009-12-04 Thread Tudod Ki
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?]




  

Re: how to check link under Linux

2009-12-04 Thread Camaleón
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-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org