
本文共 3319 字,大约阅读时间需要 11 分钟。
mii-tool ��� ethtool ������������������������������
������mii-tool ���������������
mii-tool ������������������������������������NICS������������������������������������������������������������������������������������������������������������������
���������������������������������
������������������������������������������������ mii-tool ��������������������������������������������������������������������������� eth0 ���������[root@localhost ~]# mii-tool -v eth0
������������ autonegotiation enabled
��� link ok
������������������������������������������������
������������������������������
������������������������������������������������������������������-F
������������������������������������������������ eth0 ��������� 100baseTx-FD ��������� [root@localhost ~]# mii-tool -F 100baseTx-FD eth0
������������������ -v
���������������������������������
[root@localhost ~]# mii-tool -v eth0
������������������������������ 100 Mbit, full duplex, link ok
���
��������� mii-tool ��������������������������������������������������������� 100baseT4���100baseTx-FD���100baseTx-HD���10baseT-FD���10baseT-HD ������������������������������������������������������������
������ethtool ������������
ethtool ���������������������������������������������������������������������������������������������������������������Gigabit ������������speed������������������ mii-tool ���������ethtool ������������������������������������������
2.1 ������������������������
������ ethtool ������������������������������������������������������������������������������������������������������������������ eth1 ������������������
[root@localhost ~]# ethtool eth1
��������������������������������� Supported ports
���Supported link modes
���Speed
���Duplex
���������������
Settings for eth1: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Advertised auto-negotiation: No Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 32 Transceiver: internal Auto-negotiation: off Wake-on: pumbg Wake-on: d Current message level: 0x00000007 (7) Link detected: yes
��������� ��������� Link detected: yes
������������������������������
2.2 ������������������������������
ethtool ���������������������������������������������������������������������������������������������������-h
���������������������������������������
ethtool -s[ speed 10|100|1000 ] [ duplex half|full ] [ autoneg on|off ]
���������������������
������ 10 Mb/s ������������������
[root@localhost ~]# ethtool -s eth0 speed 10 duplex half
������������������������
[root@localhost ~]# ethtool eth0
��������������� Speed: 10Mb/s
��� Duplex: Half
���
������ 1000 Mb/s ������������������
[root@localhost ~]# ethtool -s eth0 speed 1000 duplex full
������������������������
[root@localhost ~]# ethtool eth0
��������������� Speed: 1000Mb/s
��� Duplex: Full
���
��������� ethtool ���������������������������������������������������������������
������
mii-tool ��� ethtool ������������������������������������������������������������mii-tool ��������������������������������������������������� ethtool ���������������������������������������������������������������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
