This solution may be ugly but it is very straightforward and efficient with immediate effects.
As we have all noticed; since the version
0.9.8.10 of Network manager we cannot activate properly monitor mode.
It has nothing to do with airmon-ng or the distribution that you use : Network Manager "takes" the control back on any interface and disable monitor mode
(
snapshot made under Xubuntu 15.04 and aircrack-ng "svn" revision nº 2677)
As the interfaces called "wlan-number-mon" are designed to be used only in monitor mode we can "help" airmon-ng to maintain the monitor mode by creating some exceptions in our NewtorkManager.conf file
STEP 1 Open your NewtorkManager.conf file as root
(sudo) gedit /etc/NetworkManager/NetworkManager.conf
if you are root you don't need "sudo". if you have "leafpad" but not "gedit"; just write "leafpad" instead of "gedit", If you don't have any text editor use "nano". If you are insane use "vim".
STEP 2 Add the following lines at the end of your file
[keyfile]
unmanaged-devices=interface-name:wlan0mon;interface-name:wlan1mon;interface-name:wlan2mon;interface-name:wlan3mon;interface-name:wlan4mon;interface-name:wlan5mon;interface-name:wlan6mon;interface-name:wlan7mon;interface-name:wlan8mon;interface-name:wlan9mon;interface-name:wlan10mon;interface-name:wlan11mon;interface-name:wlan12mon # 30/08/2015: avoid conflicts with airmon-ng
You can put as many interface as you wish as long as you use the separator
; between every interface.
STEP 3 Save the changes and enjoy. You can immediately use
airmon-ng without problems
PS :
- Thanks to USUARIONUEVO for opening this thread (
Kali 2.0 evitar que networkmanager nos *robe las interfaces en monitor )and bringing on all his expertise :
- Tip previously published in
Modificación del fichero NetworkManager.conf para arreglar airmon-ng and in
Solve arimon-ng issues by a simple modfication of NetworkManager.conf