반응형
mii-tool 을 사용해 보자!!

[root@reach-ovpn2 root]# mii-tool
eth0: 100 Mbit, full duplex, link ok

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 -F 100baseTx-HD : 100baseTx-Half Duplex
# mii-tool eth0 -F 100baseTx-FD : 100baseTx-Full Duplex

다시 auto negotiation 으로 할려면

# mii-tool eth0 -r

,