The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 5,054β€…    Votes:  2β€…    βœ… Solution
Tag : wireless  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

Title: Cut or limit internet connection to other wifi devices
ID: /2016/11/11/Cut-or-limit-internet-connection-to-other-wifi-devices
Created: November 11, 2016    Edited:  April 13, 2017
Upload: September 20, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


You can change the aggregate speed of the NIC port using ethtool.

$ sudo ethtool -s eth0 speed 10

This will set the port to 10MB, for example.


You can also use the tool wondershaper to do it as well. NOTE: Speed should be in kilobits per second.

$ sudo wondershaper eth1 downspeed upspeed

For example:

$ sudo wondershaper eth0 10000 280


A 3rd option is trickle. Trickle can be used per program by users or as a daemon that throttles the NIC completely.

User mode - trickle man page

$ sudo trickle -d 20 -u 20 wget

Will throttle 20K/s for both up and down traffic for just this wget, everything else will not be limited.

Daemon mode - trickled man page

In daemon mode, trickled can limit a group of programs to a fixed limit of bandwidth. To start the daemon, run the trickled command:

$ sudo trickled -d 20 -u 20


A 4th option is pyshaper. It’s a unique option among the choices in that it includes GUI and it dynamically monitors and sets the bandwidth over time. You can check out the pyshaper man pagefor more details.

Above copied from this answer: StackExchange - limit outgoing bandwidth on a specific interface

⇧ How do I get rid of /sys/kernel/debug/tracing? notify-send (alert) not popping-up GUI bubble messages  β‡©