:~$ mii-tool -F 10baseT-HD eth0 //网卡工作在10M半双工
:~$ mii-tool -F 100baseTx-FD eth0 //网卡工作在100M全双工
:~$ mii-tool -r eth0 //网卡自适应
如果想让linux启动后自动配置网卡工作模式,可以修改/etc/rc.local文件,在文件的末尾(exit 0之前)添加如上配置网卡工作模式的代码
mii-tool -F 100baseTx-FD eth0 //linux启动后,配置网卡工作在100M全双工
touch /var/lock/subsys/local
Ubuntu10.04下改变网卡的工作模式
猜你喜欢
转载自neverboot.iteye.com/blog/830906
今日推荐
周排行