mii-tool:linux下专门设置网卡工作模式的命令 mii-tool --help usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...] -V, --version display version information 显示版本信息 -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 only specified media 指令特定的网络接口; -F, --force=media force specified media technology 更改网络接口协商方式;
media: 1000baseTx-HD, 1000baseTx-FD, 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, (to advertise both HD and FD) 1000baseTx, 100baseTx, 10baseT