monitor mode script

This commit is contained in:
Bastian Bloessl
2013-10-10 11:10:43 +02:00
parent 4114b34bb8
commit 47f0f8b379
+1 -1
View File
@@ -25,5 +25,5 @@ echo "setting interface >>${IFACE}<< to monitor channel >>${CHANNEL}<<"
sudo service network-manager stop sudo service network-manager stop
sudo ifconfig ${IFACE} down sudo ifconfig ${IFACE} down
sudo iwconfig ${IFACE} mode monitor sudo iwconfig ${IFACE} mode monitor
sudo iwconfig ${IFACE} channel ${CHANNEL}
sudo ifconfig ${IFACE} up sudo ifconfig ${IFACE} up
sudo iwconfig ${IFACE} channel ${CHANNEL}