View Single Post
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#69
Where does it enable monitor mode in this script?
Can't seem to find where monitor is turned on.

If I add this, it works all the time. With the original code it only work when it feels to (not many times)
Code:
#load injection drivers
cd $driverdir
sudo sh load.sh >>/dev/null 2>&1
sleep 3
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
ofcourse airmon-ng start wlan0 could be used, but then you need the change the variable $nic to mon0 instead of wlan0


For other dev's too: Is it possbile to run unload.sh when ^C is received?
This would make the device insta revert to "normal mode" after you forced quit this app

Note: this is just for learning purpose...
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

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