ubuntu限制本地网速

ubuntu下用wondershaper.


安装 wondershaper:


sudo apt-get install wondershaper   


 wondershaper 命令使用方法:


$ wondershaper [接口] [上传速度 K] [下载速度 K] 接口指网络连接的接口, 也就是与调制解调器连接 (从而和因特网连接) 的网卡. 查找命令用的是 ifconfig


示例: $ sudo wondershaper eth0 100 20 (限制eth0网卡下载速度100K,上传速度20K)

示例:  $ sudo wondershaper clear eth0  (清除eth0网卡的网速限制)


ps:查看网卡名称用ifconfig -a 命令


你可能感兴趣的:(ubuntu,网络连接,因特网,下载速度,调制解调器)