转载:http://washion2008.blog.163.com/blog/static/144227201001711537158/
在ubuntu中,mii-tool 是属于net-tools包。
命令格式:mii-tool [vVrRFwl] media [interface]-v, --verbose more verbose output 显示网络接口的信息;-R, --reset reset MII to poweron state 重设MII到开启状态;-r, --restart restart autonegotiation 重启自动协商模式;-w, --watch monitor for link status changes 查看网络接口连接的状态变化;-l, --log with -w, write events to syslog 写入事件到系统日志;-A, --advertise=media,... advertise on ly specified media 指令特定的网络接口; -F, --force=media force specified media technology 更改网络接口速率方式; media: 100baseTx-FD、100baseTx-HD、10baseT-FD、10baseT-HD Interface代表所选网卡默认为eth0 实例: 设置网卡工作在10M半双工模式下,输入命令: #mii-tool -F 10baseT-HD eth0 恢复网卡的自适应工作模式,输入命令:#mii-tool -r eth0