有時(shí)我們需要調(diào)整一下網(wǎng)卡的速率,在Fedora中可以快速的設(shè)置。
利用mii-tool快速設(shè)置網(wǎng)卡速率
命令格式:mii-tool [vVrRFwl] media [interface]
-v, --verbose more verbose output 顯示網(wǎng)絡(luò)接口的信息;
-R, --reset reset MII to poweron state 重設(shè)MII到開啟狀態(tài);
-r, --restart restart autonegotiation 重啟自動(dòng)協(xié)商模式;
-w, --watch monitor for link status changes 查看網(wǎng)絡(luò)接口連接的狀態(tài)變化;
-l, --log with -w, write events to syslog 寫入事件到系統(tǒng)日志;
-A, --advertise=media,... advertise only specified media 指令特定的網(wǎng)絡(luò)接口;
-F, --force=media force specified media technology 更改網(wǎng)絡(luò)接口速率方式;
media:
100baseTx-FD、100baseTx-HD、10baseT-FD、10baseT-HD
Interface代表所選網(wǎng)卡默認(rèn)為eth0
實(shí)例:
設(shè)置網(wǎng)卡工作在10M半雙工模式下,輸入命令:
#mii-tool -F 10baseT-HD eth0
恢復(fù)網(wǎng)卡的自適應(yīng)工作模式,輸入命令:
#mii-tool -r eth0
新聞熱點(diǎn)
疑難解答
圖片精選