Sunday, October 10, 2010

NICの設定を表示する: linux

NICの設定を確認する方法。

[sikaku@localhost ~]$ sudo /sbin/ethtool eth0
Settings for eth0:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 19
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes
ethtool は、表示と設定変更を行える
[sikaku@localhost ~]$ whatis ethtool
ethtool              (8)  - Display or change ethernet card settings
ethtool             (rpm) - Ethernet settings tool for PCI ethernet cards

No comments:

Post a Comment