diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-04-07 21:49:36 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-04-07 21:49:36 +0200 |
commit | 4eba89add8db804c33e8692edf5b27c2d3a2e365 (patch) | |
tree | 5fba0a0fa4d6010d13f99215508212086a116063 /README.md | |
parent | 36e59a1991f075e36e117a08321d5e4c4dc00eac (diff) | |
download | wifi-triangulator-master.tar.gz wifi-triangulator-master.tar.bz2 wifi-triangulator-master.tar.xz wifi-triangulator-master.zip |
o Making a better envelope format.
o Reading out the interface's channel.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -7,6 +7,15 @@ # Running - sudo ifconfig wlan0 down - sudo iwconfig wlan0 mode monitor - sudo build/wifi-triangulator wlan0 +Set all available wlan interfaces in monitor mode on different channels: + + /sbin/iw dev | sed -n 's,.*Interface \(.*\),\1,p' |sort -n | while read iface; do + echo "Configuring $iface" + sudo ifconfig $iface down + n=$(echo $iface | sed 's,wlan\(.*\),\1,') + sudo ifconfig $iface channel $(($n+1)) + sudo iwconfig $iface mode monitor + sudo ifconfig $iface up + done + + sudo build/capture wlan0 | build/transmitter 10.13.37.30 |