Linux’da ağ arayüzünün ayarlarını değiştirmek için mii-tool ya da ethtool araçlarını kullanabilirsiniz.mii-tool ile ile ağ arayüzünün özelliklerini görmek için;
# mii-tool -v
eth1: negotiated 100baseTx-FD, link ok
product info: vendor 00:10:18, model 33 rev 2
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
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
mii-tool ile ayarları değiştirmek için;
#mii-tool -F 100baseTx-FD eth0
ethtool ile ağ arayüzünün özelliklerini görmek için;
# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: No
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: g
Wake-on: g
Current message level: 0×00000007 (7)
Link detected: yes
ethtool ile ayarları değiştirmek için;
# ethtool -s eth1 speed 100 duplex full autoneg off
EnderUNIX İpucu sitesinden alınmıştır.
