You are not logged in.
Pages: 1
I downloaded wondershaper from the Devuan repos to see if I could shape the bandwidth on my Devuan Linux box since our ISP connection is rather anemic. When I ran it I got some unexpected output:
[ROOT@devuan-nuc ~] # wondershaper eth0 20000 5000
Error: Specified qdisc kind is unknown.
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
Error: Failed to find specified qdisc.
Error: Failed to find specified qdisc.
Error: Failed to find specified qdisc.
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel
[ROOT@devuan-nuc ~] # grep -i pretty /etc/os-release
PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)"I attempted to contact the author using the e-mail provided in the /usr/share/doc/wondershaper/README.Debian.gz file. Sadly that bounced as
550 Unrouteable addressIs anyone here able to assist with debugging this sh script and making it work? I am not familiar enough with tc to do it myself yet.
“Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.”
-- Suzanne McMinn
Offline
Did you install it? It does depend on iproute2 (or iproute)
And then if this is ceres rather than daedalus anything (else) is possible ![]()
Offline
Yes, wondershaper was installed with apt install at the CLI. Also, iproute2 is installed.
[ROOT@devuan-nuc ~] # apt search iproute
Sorting... Done
Full Text Search... Done
...
iproute2/oldstable,now 5.10.0-4 amd64 [installed]
networking and traffic control tools
...I am running:
[ROOT@devuan-nuc ~] # grep -i pretty /etc/os-release
PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)"“Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.”
-- Suzanne McMinn
Offline
ok
peculiar; the script worked fine for me on daedalus; it's the same package version and script.
Which kernel version? And what do you get from:
# tc qdisc showOffline
Running shellcheck against wondershaper would be a reasonable start if it's a shell script.
Then try adding set -x as the second line and see if that tells you what it's trying to do when it fails.
But I'm only guessing because I don't have wondershaper installed.
Offline
Current kernel version:
[ROOT@devuan-nuc ~] # uname -v
#1 SMP Debian 5.10.216-1 (2024-05-03)Yeah, I'll work on debugging the script with shellcheck and set -x. I was hoping to get in touch with the script author and was also hoping he is on here and would respond. Silly of me, I know. ![]()
“Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.”
-- Suzanne McMinn
Offline
Have you made sure the kernel modules are available (like sch_cbq, sch_sfq and sch_ingress)? Or maybe it's a udev issue, and the modules need to be loaded manually?
Offline
I see sch_ingress, but not the other two. Odd.
[ROOT@devuan-nuc ~] # lsmod|grep sch
sch_ingress 16384 0At this point I am considering just trying to learn about and grok tc. I am going to look for a tutorial on it. Suggestions for a written tutorial are welcome. I will look at videos, but I don't really learn from them.
“Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.”
-- Suzanne McMinn
Offline
The traffic shaping uses cbp and sfq (which are the queue types used) so you'll need the modules.
Offline
Pages: 1