Last active
July 4, 2016 23:40
-
-
Save ffund/d9d6e56fcbf783c35c77e67d53bb3bf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install stuff | |
sudo apt-get update | |
sudo apt-get -y install python-pip python-dev | |
sudo pip install kademlia | |
# Add latency on link | |
iface=$(route -n | grep "10.1.1.0" | awk '{print $8}') | |
sudo tc qdisc add dev "$iface" root netem delay 10ms 2ms distribution normal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment