Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It stopped working on Debian 12 #100

Open
rwb196884 opened this issue Jul 14, 2024 · 9 comments
Open

It stopped working on Debian 12 #100

rwb196884 opened this issue Jul 14, 2024 · 9 comments

Comments

@rwb196884
Copy link

Installed wondershaper on Debian 12 and it was working, but it's stopped working this weekend.

Any idea what's going on?

# wondershaper hp 1024 1024
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
# uname -a
Linux calleva 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux
#
``
@instinctualjealousy
Copy link

Same thing on Linux Mint 20.3. It's been working splendidly for a good long while, and now it's throwing this exact set of errors.

$ sudo -S wondershaper wlp1s0 3072 256
[sudo] password for odells:
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
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description:    Linux Mint 20.3
Release:        20.3
Codename:       una
$ uname -a
Linux ODells-EliteDesk 5.4.0-189-generic #209-Ubuntu SMP Fri Jun 7 14:05:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

@rwb196884
Copy link
Author

rwb196884 commented Jul 30, 2024

It turns out that some cunt has replaced iptables with something called nftables so everything firewall related is completely fucked.

It seems that iptables is symlinked to iptables-nft via /etc/alternatives/iptables and although running iptables-nft works in some cases, running the corresponding command with iptables doesn't.

Really didn't need to have to rewrite my firewall script.

@andip71
Copy link

andip71 commented Jul 30, 2024

Newer linux kernels on many distributions have the CBQ net scheduler removed, which wondershaper uses internally.
This explains the following error message of the wondershaper script:
"Error: Specified qdisc kind is unknown."

It requires some good modifications to the wondershaper script to work again with one of the remaining net schedulers.

I have the same issue with wondershaper on my Rasbperry OS based on Debian bookworm.

@HowardRubin-dev
Copy link

Same error on Ubuntu 22.04.4 Jammy and 24.04 Noble

@ElryGH
Copy link

ElryGH commented Sep 28, 2024

bullshit its working fine on Ubuntu 24.04

@y2k0999
Copy link

y2k0999 commented Oct 10, 2024

same error for me on ubuntu 22.04

@jult
Copy link

jult commented Oct 13, 2024

Then why on earth make wondershaper available in the default debian repo??? This is pure insanity. This tool is completely useless for debian 12, as it stands.

@jult
Copy link

jult commented Oct 13, 2024

I tested it and it doesnt work on 22, but works on 24. So simple fix, upgrade to 24.04

Who cares? This is about Debian 12, not ubuntu.

@ElryGH
Copy link

ElryGH commented Oct 15, 2024

I tested it and it doesnt work on 22, but works on 24. So simple fix, upgrade to 24.04

Who cares? This is about Debian 12, not ubuntu.

Yeah idk i think i was sleep deprived when i made that post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants