Skip to content

How to properly slow down traffic on Raspberry? #180

@wawanUnic

Description

@wawanUnic

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions