Checking your Ethernet adapter

To know whether your Ethernet adapter is on or off :

root@localhost:~# mii-tool

mii-tool belongs to the net-tools Debian package. Make sure it is installed on your system.

Here are some examples of use of mii-tool command :

root@localhost:~# mii-tool

eth0: negotiated 100baseTx-FD flow-control, link ok

More details about your connection :

root@localhost:~# mii-tool -v

eth0: negotiated 100baseTx-FD flow-control, link ok
  product info: vendor 00:07:32, model 17 rev 2
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

Advertisements