Port Speed Of Network Card
mii-tool , this command will display the port speed of your network card.
mii-tool -v
SIOCGMIIPHY on 'eth1' failed: Invalid argument
eth2: negotiated 100baseTx-FD, link ok
product info: vendor 00:aa:00, model 51 rev 0
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
Task: Change the speed and duplex settings
Setup eth0 negotiated speed with mii-toolDisable autonegotiation, and force the MII to either 100baseTx-FD, 100baseTx-HD, 10baseT-FD, or 10baseT-HD:# mii-tool -F 100baseTx-HD# mii-tool -F 10baseT-HD, halfduplex
mii-tool -F 100baseTx-FD, fulduplex
No comments:
Post a Comment