How to configure WiFi adaptor to monitor mode?
It may work if you first bring the interface down:
sudo ifconfig wlan1 down
sudo iwconfig wlan1 mode monitor
Check:
iwconfig
Not every device and driver combination are capable of monitor mode.
The best way to put your Wifi adapter to monitor mode is through airmon-ng.
You can install it by typing into a terminal sudo apt-get install aircrack-ng
Also, if you are using Wireshark, you have to run it as superuser to be able to put your adapter to monitor mode... :)
Simple first make sure that you have installed drivers for your wireless adapter. Then if you want to enable monitor mode there are 2 methods to do it.
First method is by doing:
ifconfig wlan0 down
- then
airmon-ng check kill
- then type
iwconfig mode monitor
and thenifconfig wlan0 up
- type
service NetworkManager restart
before doingifconfig wlan0 up
.
Second way is by doing:
ifconfig wlan0 down
- then
airmon-ng check kill
- then type
airmon-ng start wlan0
- then type
service NetworkManager restart
andifconfig up
.