Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7491652
  • 博文数量: 368
  • 博客积分: 9600
  • 博客等级: 上校
  • 技术积分: 18875
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-01 00:00
文章分类

全部博文(368)

文章存档

2017年(9)

2016年(19)

2015年(3)

2014年(6)

2013年(8)

2012年(78)

2011年(66)

2010年(135)

2009年(44)

分类: LINUX

2010-05-27 09:52:53

大家好,我想知道我的网卡是是多少M以及它的双工模式,用Linux下的两个命令看到的结果不一致,我想知道哪个是正确的,为什么他 们出来的结果会不一致呢??
首先用mii-tool命令查看:[root@zhang ~]# mii-tool
eth0: negotiated 100baseTx-FD, link ok
但是当我用ethtool看时候却显示1000M全双工的:
[root@zhang ~]# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full

        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x000000ff (255)
        Link detected: yes很疑惑,请高手帮忙解答,谢谢!



CU网友回答:
mii-tools 并不能正确识别超过100M 的网卡;
因为 MII以4位半字节方式传送数据双向传输,时钟速率25MHz。其工作速率可达100Mb/s。

也有GMII ,也就是1000M 的 MII 接口  
net-tools 1.60 版本以上可以正确识别

检查一下你的版本,或直接用 ethtool

阅读(4063) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~