Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.





set / break

#!/bin/bash

echo " "
echo "Initialzing poor connection quality"
echo " "

sudo tc qdisc add dev eth2 root netem delay 300ms loss 25%

release / finish

#!/bin/bash

echo " "
echo "Repaired connection quality"
echo " "

sudo tc qdisc del dev eth2 root netem

showtc qdisc show  dev eth0