forked from Mirror/wfb-ng
16 lines
279 B
Bash
16 lines
279 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
WLAN=$1
|
||
|
CHANNEL5G="6"
|
||
|
#CHANNEL5G="149"
|
||
|
|
||
|
echo "Setting $WLAN to channel $CHANNEL5G"
|
||
|
ifconfig $WLAN down
|
||
|
iw reg set BO
|
||
|
iw dev $WLAN set monitor otherbss fcsfail
|
||
|
ifconfig $WLAN up
|
||
|
iwconfig $WLAN channel $CHANNEL5G
|
||
|
|
||
|
./tx $WLAN
|
||
|
#./tx_test | ./tx -b 1 -r 0 -f 1024 $WLAN
|