From 7746db29cc3674575d6b2b169ed60c0149e6dd1f Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 17 Apr 2024 23:05:51 +0000 Subject: [PATCH] docs: create debian/limit-upload-speed --- debian/limit-upload-speed.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 debian/limit-upload-speed.md diff --git a/debian/limit-upload-speed.md b/debian/limit-upload-speed.md new file mode 100644 index 0000000..8b9fc6b --- /dev/null +++ b/debian/limit-upload-speed.md @@ -0,0 +1,26 @@ +--- +title: limit upload speed +description: +published: true +date: 2024-04-17T23:05:48.313Z +tags: +editor: markdown +dateCreated: 2024-04-17T23:05:48.313Z +--- + +### check speed +```bash +speedtest +``` +### view eth0 speed +```bash +nload eth0 +``` +### limit upload to 50Mbit +```bash +tc qdisc add dev eth0 root tbf rate 500kbit burst 16kbit latency 50ms +``` +### remove limit on upload +```bash +tc qdisc del dev eth0 root +``` \ No newline at end of file