WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: limit upload speed  (Read 3016 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
limit upload speed
« on: July 22, 2012, 06:45:20 AM »
How can I limit the upload speed?
dCore user

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: limit upload speed
« Reply #1 on: July 22, 2012, 12:37:43 PM »
- iptables with the limit target
- the traffic control tools in iproute2
The only barriers that can stop you are the ones you create yourself.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: limit upload speed
« Reply #2 on: July 22, 2012, 12:55:18 PM »
thakns: I'll try them
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: limit upload speed
« Reply #3 on: August 06, 2012, 04:00:27 AM »
Hi
I've found this command but it returns an error:
Code: [Select]
sudo tc qdisc add dev eth0 root tbf rate 45kbit latency 50ms burst 15
40
RTNETLINK answers: No such file or directory

funny that the command is called tc  ;)
dCore user

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11502
Re: limit upload speed
« Reply #4 on: August 06, 2012, 09:52:05 AM »
Hi jls_legalize
Maybe you need to install  net-sched-3.0.21-tinycore.tcz ?

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: limit upload speed
« Reply #5 on: August 06, 2012, 11:24:17 AM »
that did the trick, thanks Rich
dCore user

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11502
Re: limit upload speed
« Reply #6 on: August 06, 2012, 01:34:04 PM »
Hi jls_legalize
You are welcome.

That package was built in 2009. Is it possible those modules were built in at the time and have since been
separated out, making net-sched a dependency now?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: limit upload speed
« Reply #7 on: August 06, 2012, 03:54:23 PM »
Only the traffic control part of iproute2 needs those modules; the route/ip control tools work without. I'll add a mention in the info file.
The only barriers that can stop you are the ones you create yourself.