8 lines
251 B
Bash
Executable file
8 lines
251 B
Bash
Executable file
#!/bin/bash
|
|
|
|
IF=wls1
|
|
sudo tc qdisc del dev $IF root netem duplicate 50
|
|
sudo tc qdisc add dev $IF root netem duplicate 50
|
|
#sudo tc qdisc del dev $IF root netem duplicate 100% delay 300ms
|
|
#sudo tc qdisc add dev $IF root netem duplicate 100% delay 300ms
|