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

sudo tc qdisc show | grep "netem" sudo tc qdisc add dev eth0 handle 10: root htb default 1 I couldn't setup the packet rules: exit status 2 #68

Open
liAnita opened this issue Nov 21, 2019 · 3 comments

Comments

@liAnita
Copy link

liAnita commented Nov 21, 2019

No description provided.

@talikan
Copy link

talikan commented Mar 30, 2020

I see nearly the same issue on Ubuntu 64-bit 19.10:

~/go/bin/comcast --latency=250 --target-bw=1000 --packet-loss=10%

sudo tc qdisc show | grep "netem"
sudo tc qdisc add dev eth0 handle 10: root htb default 1
I couldn't setup the packet rules: exit status 1

@ethanf
Copy link

ethanf commented Apr 7, 2020

If you run the commands directly, you can see the command output. For me:

sudo tc qdisc add dev eth0 handle 10: root htb default 1
Cannot find device "eth0" <--

@RaedAlyan
Copy link

I've faced the same issue, and I've fixed it. The fix is:

  • make sure the tc tool was installed on the setup (to install it run this command: sudo yum install -y iproute-tc)
    
  • make sure the NetEm was installed on the setup (to install it run this commmand: yum -y install kernel-modules-extra)
    

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

4 participants