tcconfig icon indicating copy to clipboard operation
tcconfig copied to clipboard

How to properly slow down traffic on Raspberry?

Open wawanUnic opened this issue 11 months ago • 1 comments

Hello. Tell me how to properly slow down traffic on Raspbian? I only use a wired connection. I do this (Raspbian on Raspberry Pi):

  1. I checked the read-write speed before the experiment: beforeRead beforeWrite
  2. Installed iptables, iproute2 (with tc package)
  3. Installed tcconfig curl -sSL https://raw.githubusercontent.com/thombashi/tcconfig/master/scripts/installer.sh | sudo bash
  4. Set the traffic limit to eth0 with the command from the example: sudo tcset eth0 --rate 100Kbps
  5. I checked this installation with the command from the example: { "eth0": { "outgoing": { "protocol=ip": { "filter_id": "800::800", "rate": "100Kbps" } }, "incoming": {} } }
  6. I check the read-write speed via FTP: afterRead afterWrite Nothing changed...

Question for the experts: what am I doing wrong? Are there other working means to slow down traffic? Maybe the Raspberry Pi needs a different solution? Thanks for answers.

wawanUnic avatar Mar 19 '24 13:03 wawanUnic