mii-tool

NICの状態を確認できるらしい

# mii-tool
No interface specified
usage: mii-tool [-VvRrwl] [-A media,... | -F media] <interface> ...
       -V, --version               display version information
       -v, --verbose               more verbose output
       -R, --reset                 reset MII to poweron state
       -r, --restart               restart autonegotiation
       -w, --watch                 monitor for link status changes
       -l, --log                   with -w, write events to syslog
       -A, --advertise=media,...   advertise only specified media
       -F, --force=media           force specified media technology
media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
       (to advertise both HD and FD) 100baseTx, 10baseT

出力はこんな感じ

# mii-tool eth0
eth0: no autonegotiation, 100baseTx-FD, link ok
# mii-tool --verbose eth0
eth0: no autonegotiation, 100baseTx-FD, link ok
  product info: vendor 00:50:43, model 2 rev 4
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD