TOP > Linux > Fedoraの技 > 201-300 > 243
ネットワークカードの状態を表示するには
ethtoolコマンドを利用することでネットワークカードの状態を表示することができます。実行時には表示させるインターフェイスを指定します。
# 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: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
ケーブルが接続されていない状態で実行すると"Link detected: no"と表示されます。
2005-12-03 作成