facebookarchive / augmented-traffic-control

Augmented Traffic Control: A tool to simulate network conditions
https://facebook.github.io/augmented-traffic-control
Other
4.33k stars 600 forks source link

shape error: adding NetEm qdisc on IFID enx00116b68175e, mark 2, err: (2, 'No such file or directory') #354

Open dorsegal opened 6 years ago

dorsegal commented 6 years ago

Hi,

I run the command sudo atcd --atcd-lan enx00044b5818d1 --atcd-wan enx00116b68175e

this is the erro i get: ERROR:AtcdVService.AtcdLinuxShaper:adding NetEm qdisc on IFID enx00116b68175e, mark 2, err: (2, 'No such file or directory')

ifconfig:

enx00044b5818d1 Link encap:Ethernet  HWaddr 00:04:4b:58:18:d1
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::204:4bff:fe58:18d1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:83601 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134428 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26018235 (26.0 MB)  TX bytes:184628491 (184.6 MB)

enx00116b68175e Link encap:Ethernet  HWaddr 00:11:6b:68:17:5e
          inet addr:10.0.1.60  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:6bff:fe68:175e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:136084 errors:9 dropped:0 overruns:0 frame:9
          TX packets:82120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:182461515 (182.4 MB)  TX bytes:26374175 (26.3 MB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1469 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:102136 (102.1 KB)  TX bytes:102136 (102.1 KB)

ip r:

default via 10.0.1.1 dev enx00116b68175e  proto static  metric 100
default via 10.0.1.1 dev wlan0  proto static  metric 600
10.0.1.0/24 dev enx00116b68175e  proto kernel  scope link  src 10.0.1.60  metric 100
10.0.1.0/24 dev wlan0  proto kernel  scope link  src 10.0.1.73  metric 600
169.254.0.0/16 dev enx00044b5818d1  scope link  metric 1000
192.168.0.0/24 dev enx00044b5818d1  proto kernel  scope link  src 192.168.0.1

Using pc with ubuntu 16.04