Hey! Complete openWRT newbie here and I am struggling to get netem to function the way I need it to. I’m trying to adjust the entire router’s internet connection to make every device on the network experience a delay of 100ms.
So I ssh into the router and do: tc qdisc add dev eth0 root netem delay 100ms
And it fails with ‘Error: specified qdisc kind is unknown’
Which is very strange because when I do: tc qdisc show dev eth0
Oh. Isn't that what the add command I have in the exmaple doing? Am I misunderstanding something?
tc qdisc add dev eth0 root
then netem (the tool I want to use) delay 100ms (the option from the help menu along with a value in ms)
AND WOW!
After I downloaded the package you mentioned... the command I have for hitting eth0 and adding that delay with netem worked! Now it's showing my changes! Strange that I can only have one rule at a time.. but I can work with that.
root@OpenWrt:~# tc qdisc add dev eth0 root netem delay 345ms
root@OpenWrt:~# tc qdisc show
qdisc noqueue 0: dev lo root refcnt 2
qdisc netem 8002: dev eth0 root refcnt 2 limit 1000 delay 345ms