magnific0 / wondershaper

Command-line utility for limiting an adapter's bandwidth
GNU General Public License v2.0
1.71k stars 256 forks source link

Command line flags are wrong #95

Open rwb196884 opened 1 year ago

rwb196884 commented 1 year ago

Installed with apt on Debian 12.

root@calleva:~# which wondershaper
/usr/sbin/wondershaper
root@calleva:~# wondershaper -s
Cannot find device "-s"
Cannot find device "-s"
root@calleva:~# wondershaper -h
Cannot find device "-h"
Cannot find device "-h"
root@calleva:~#
r4lix commented 1 year ago

read the manual (man wondershaper)

rwb196884 commented 2 months ago
# 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
# ip a
...
9: hp: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 66:1a:b1:e3:42:00 brd ff:ff:ff:ff:ff:ff
    inet 192.168.42.42/24 brd 192.168.42.255 scope global dynamic hp
       valid_lft 3499sec preferred_lft 3499sec