I'm trying to use this tc script on my arch box.

Specifically, the first line, roughly equal to tc qdisc add dev eth0 root handle 1: htb default 3 fails with RTNETLINK answers: Operation not permitted

I get another couple of those and a couple We have an error talking to the kernel.

I searched around, nobody mentions tc depends on another package to use htb, I'm using it exactly as specified on the site with ./script.sh start. Running with sudo gives the same results.

What's the next course of action to use tc with htb on arch linux?

  • you need sudo. – mikeserv Dec 29 '15 at 12:29
  • I used sudo, it didn't work. – Daniel K. Dec 29 '15 at 12:31
  • yeah. its cause im wrong. i followed you link and the suggestion there is to reboot due to kernel upgrades. when your kernel upgrades in arch linux you wind up losing access to most modules because they're not loaded when you do. only those that are in memory stick around. you can symlink the old kernel versions module directory temporarily to the new one, but rebooting is usually easier. – mikeserv Dec 29 '15 at 12:33

Searching a bit more around the web, In this archlinux forum post is said restarting, and it worked.

I just wonder why it did...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.