Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: jls on July 22, 2012, 06:45:20 AM

Title: limit upload speed
Post by: jls on July 22, 2012, 06:45:20 AM
How can I limit the upload speed?
Title: Re: limit upload speed
Post by: curaga on July 22, 2012, 12:37:43 PM
- iptables with the limit target
- the traffic control tools in iproute2
Title: Re: limit upload speed
Post by: jls on July 22, 2012, 12:55:18 PM
thakns: I'll try them
Title: Re: limit upload speed
Post by: jls 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  ;)
Title: Re: limit upload speed
Post by: Rich on August 06, 2012, 09:52:05 AM
Hi jls_legalize
Maybe you need to install  net-sched-3.0.21-tinycore.tcz ?
Title: Re: limit upload speed
Post by: jls on August 06, 2012, 11:24:17 AM
that did the trick, thanks Rich
Title: Re: limit upload speed
Post by: Rich 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?
Title: Re: limit upload speed
Post by: curaga 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.