浅析ubuntu下如何修改网卡网速--将100M网卡改为10M网卡
公司的路由器可能比较陈旧,机器启动之后,默认网卡是100M的,但是登录QQ经常出现掉线现象,后来得知原来需要将100M网卡降频到10M才能正常使用,果然修改之后thunderbird收发邮件也嗖嗖的了,
luther@gliethttp:~$ sudo apt-get install ethtool net-tools
/*删除luther@gliethttp:~$ sudo ethtool -s eth0 autoneg off // 不然网络会自动断开,自动重启网卡之后会重新获得100M,所以将导致不能修改10M成功,必须关闭自动.
luther@gliethttp:~$ sudo ethtool -s eth0 speed 10 duplex half
luther@gliethttp:~$ sudo service networking restart */
luther@gliethttp:~$ sudo ethtool -s eth0 speed 10 duplex half autoneg on
=============================================
luther@gliethttp:~$ sudo mii-tool eth0
eth0: negotiated 100baseTx-FD, link ok
luther@gliethttp:~$ sudo 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: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
(PS:如果因为网络布线问题造成的不稳定,那么只能买个路由器,从稳定的工位作出口路由了[luther.gliethttp])
阅读(9882) | 评论(1) | 转发(0) |