应该是路由的问题,我更换路由后,就能自动切换到100M
局域网传东西的时候 很慢,发现网卡速率才10MS
1、 使用network managers管理网卡
在network里面配置,无效
配置如图
!](http://ww2.sinaimg.cn/large/867ecea7jw1e8ug7q3ov6j20cw0ftdgo.jpg)
2、使用命令设置为100M,无效
ethtool -s eth0 autoneg off speed 100 duplex full
3、编辑网卡配置文件
vim /etc/sysconfig/network/ifcfg-eth0
ETHTOOL_OPTIONS='autoneg off speed 100'
也无效
4、后续,使用yast管理网卡,使用步骤2 改成100M后,无法获取到IP地址
PS:M=M=MBit/s
网卡驱动信息:
An:~ # ethtool -i
driver: r8169
version: 2.3LK-NAPI
firmware-version: rtl8168e-3_0.0.4 03/27/12
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
eth0相关信息:
An:~ # ethtool eth0
Settings for eth0:
Supported ports: TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes