What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Limit download speed by ip

questinghero

New Around Here
I would like to limit my kids kindles to use minimal bandwidth (Like I have done with dd-wrt in the past). I found a way to do it using tc qdisc found here, but every command i run I get "RTNETLINK answers: No such file or directory".

What am I doing wrong? also, would this be something that could be added to the GUI in a future release?

Thanks,
 
running modprobe, I found that qdisc is not listed (and I assume that means it's not installed). it looks like I need to install Module-Assistant to install qdisc, but it is not installed... and apt-get is also not installed.

I have now run out of my linux knowledge, what should I try next?
 
running modprobe, I found that qdisc is not listed (and I assume that means it's not installed). it looks like I need to install Module-Assistant to install qdisc, but it is not installed... and apt-get is also not installed.

I have now run out of my linux knowledge, what should I try next?

Would help if you listed which router and firmware level you have...

Search the forum for the post that lists how the OP restricted the download speed for devices attached to Guest SSID #1.

P.S. My router appears to support the utility....

Code:
admin@RT-AC56U:/tmp/home/root# tc
Usage: tc [ OPTIONS ] OBJECT { COMMAND | help }
       tc [-force] -batch filename
where  OBJECT := { qdisc | class | filter | action | monitor }
       OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] }
admin@RT-AC56U:/tmp/home/root#


Regards,
 
Sorry, I have an RT AC87 running rmerlin's 3.0.0.4 378.50 B2.

this is where my linux foo is week. so after going back, I can run TC just fine:
Code:
username@RT-AC87R-75B8:/tmp/home/root# tc
Usage: tc [ OPTIONS ] OBJECT { COMMAND | help }
       tc [-force] -batch filename
where  OBJECT := { qdisc | class | filter | action | monitor }
       OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] }

Every command keeps giving me an error:
Code:
username@RT-AC87R-75B8:/tmp/home/root# tc qdisc del dev br0 root
RTNETLINK answers: No such file or directory

so, I am not real sure how to proceed...
 
Sorry, I have an RT AC87 running rmerlin's 3.0.0.4 378.50 B2.

this is where my linux foo is week. so after going back, I can run TC just fine:
Code:
username@RT-AC87R-75B8:/tmp/home/root# tc
Usage: tc [ OPTIONS ] OBJECT { COMMAND | help }
       tc [-force] -batch filename
where  OBJECT := { qdisc | class | filter | action | monitor }
       OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] }

Every command keeps giving me an error:
Code:
username@RT-AC87R-75B8:/tmp/home/root# tc qdisc del dev br0 root
RTNETLINK answers: No such file or directory

so, I am not real sure how to proceed...

The RTNETINK error usually means it cannot honour the delete request because the resource you are attempting to delete doesn't exist.

Here is the post that contains 'tc qdisc' commands that appear to work on Asuswrt-Merlin firmware:

http://forums.smallnetbuilder.com/showpost.php?p=92668&postcount=2http://

Notice the abscence of a 'tc qdisc del' command, but I suspect having issued the first tc 'qdisc add' command that a subsequent 'tc qdisc del' request would actually work.
 
Last edited:
The RTNETINK error usually means it cannot honour the delete request because the resource you are attempting to delete doesn't exist.

Here is the post that contains 'tc qdisc' commands that appear to work on Asuswrt-Merlin firmware:

http://forums.smallnetbuilder.com/showpost.php?p=92668&postcount=2http://

Notice the abscence of a 'tc qdisc del' command, but I suspect having issued the first tc 'qdisc add' command that a subsequent 'tc qdisc del' request would actually work.

Every line gives me that error (not just the delete). I'll look at that other page and see if I can get that to work. Thanks
 
Every line gives me that error (not just the delete). I'll look at that other page and see if I can get that to work. Thanks

I suspct the
Code:
br0
reference may be the issue?

Code:
admin@RT-AC56U:/tmp/home/root# tc qdisc add dev wl1.3 root handle 1: htb default
 10
admin@RT-AC56U:/tmp/home/root# tc qdisc del dev wl1.3 root
admin@RT-AC56U:/tmp/home/root# tc qdisc del dev br0 root
RTNETLINK answers: No such file or directory
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top