[UP] add some viki files, knowledge.
[arrow.git] / archlinux_conf / home / .bin / shell / arrow-wireless-capture
blob4c1b019489c25edb95cdd1a704eb36b9b9367088
1 #!/bin/bash -x
2 # set wireless interface to capture packets
4 W=wlan0
6 ifconfig ${W} down
7 iwconfig ${W} mode monitor
8 iwconfig ${W} channel 7
9 ifconfig ${W} up