duplicate-packet: Initial version.

This commit is contained in:
Ole Tange 2017-07-06 20:06:39 +02:00
parent 0e143651fc
commit 66ad2c24d4
3 changed files with 12 additions and 4 deletions

View file

@ -1,7 +1,8 @@
CMD = blink bsearch em encdir field forever G gitnext gitundo \ CMD = blink bsearch duplicate-packets em encdir field forever G \
goodpasswd histogram mtrr neno off pdfman puniq ramusage rand rclean \ gitnext gitundo goodpasswd histogram mtrr neno off pdfman puniq \
rn rrm shython sound-reload stdout swapout T timestamp tracefile upsidedown \ ramusage rand rclean rn rrm shython sound-reload stdout swapout T \
w4it-for-port-open wifi-reload wssh ytv yyyymmdd timestamp tracefile upsidedown w4it-for-port-open wifi-reload wssh \
ytv yyyymmdd
all: blink/blink.1 bsearch/bsearch.1 encdir/encdir.1 G/G.1 gitnext/gitnext.1 gitundo/gitundo.1 goodpasswd/goodpasswd.1 histogram/histogram.1 neno/neno.1 off/off.1 pdfman/pdfman.1 puniq/puniq.1 rand/rand.1 rn/rn.1 rrm/rrm.1 shython/shython.1 sound-reload/sound-reload.1 stdout/stdout.1 timestamp/timestamp.1 tracefile/tracefile.1 T/T.1 upsidedown/upsidedown.1 wifi-reload/wifi-reload.1 wssh/wssh.1 ytv/ytv.1 yyyymmdd/yyyymmdd.1 all: blink/blink.1 bsearch/bsearch.1 encdir/encdir.1 G/G.1 gitnext/gitnext.1 gitundo/gitundo.1 goodpasswd/goodpasswd.1 histogram/histogram.1 neno/neno.1 off/off.1 pdfman/pdfman.1 puniq/puniq.1 rand/rand.1 rn/rn.1 rrm/rrm.1 shython/shython.1 sound-reload/sound-reload.1 stdout/stdout.1 timestamp/timestamp.1 tracefile/tracefile.1 T/T.1 upsidedown/upsidedown.1 wifi-reload/wifi-reload.1 wssh/wssh.1 ytv/ytv.1 yyyymmdd/yyyymmdd.1

2
README
View file

@ -6,6 +6,8 @@ blink - blink disks in a disk enclosure
bsearch - binary search through sorted text files. bsearch - binary search through sorted text files.
duplicate-packets - Duplicate packets on an interface. Useful if wifi is bad.
em - Force emacs to run in terminal. Use xemacs if installed. em - Force emacs to run in terminal. Use xemacs if installed.
field - Split on space. Give the given field number. Supports syntax 1-3,6- field - Split on space. Give the given field number. Supports syntax 1-3,6-

View file

@ -0,0 +1,5 @@
#!/bin/bash
IF=wls1
sudo tc qdisc del dev $IF root netem delay 300 duplicate 40
sudo tc qdisc add dev $IF root netem delay 300 duplicate 40