Comment by ๐Ÿ™ norayr

Re: "Network speed limiting."

In: s/Linux

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.

๐Ÿ™ norayr

2025-05-13 ยท 1 year ago

1 Later Comment

๐Ÿš‚ 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.

Original Post

๐ŸŒ’ s/Linux

๐Ÿš‚ MrSVCD:

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?

๐Ÿ’ฌ 2 comments ยท 2025-05-13 ยท 1 year ago