Network speed limiting.
I am looking for a way to limit the speed of my network connection to simulating a modem connection, 28.8k like my first modem.
I found NetEm and tc command, is this a good choice?
2025-05-13 ยท 1 year ago
2 Comments โ
๐ norayr ยท 2025-05-13 at 20:28:
for easy use there is python package that works with tc, it is called tcconfig.
it may not be packaged, but you can install it via virtualenv and pip.
then
# tcset eth0 --direction incoming --rate 28Kbps
i guess should work.
๐ MrSVCD [OP] ยท 2025-05-15 at 14:36:
My search fu got me this finally:
โ https://manpages.ubuntu.com/manpages/trusty/man8/wondershaper.8.html
It works on download speeds as I want but somethis is weird with the upload speed, but I can probably fix it since it is only a bash script.