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?
May 13 · 7 months ago
2 Comments ↓
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.
My search fu got me this finally:
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.