diff options
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 |