Re: how to check link under Linux

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


On 12/04/2009 02:34 PM, 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?]

ethtool eth0
ethtool eth1

Depending on the device name for your NIC.  Last line of the output says if a link is detected or not.
fedora-list mailing list
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux