View Single Post
James_Littler's Avatar
Posts: 820 | Thanked: 436 times | Joined on May 2010 @ Portsmouth, UK.
#1042
right, got it

Code:
#!/bin/sh

sudo ifconfig wlan0 down;
sudo iwconfig wlan0 mode Monitor;
sudo ifconfig wlan0 up;

exit;
does the trick
 

The Following User Says Thank You to James_Littler For This Useful Post: