wfb-ng/rx.sh
Vasily Evseenko 14e7306992 Add README
2017-04-24 23:21:19 +03:00

19 lines
320 B
Bash
Executable File

#!/bin/bash
WLANS=$@
#CHANNEL5G="6"
CHANNEL5G="149"
for WLAN in $WLANS
do
echo "Setting $WLAN to channel $CHANNEL5G"
ifconfig $WLAN down
iw dev $WLAN set monitor otherbss fcsfail
iw reg set BO
ifconfig $WLAN up
iwconfig $WLAN channel $CHANNEL5G
done
./rx -u 5600 $WLANS
#tcpdump -i $WLAN 'ether[0x0a:4]==0x13223344'