Enable monitor mode in Kali Linux 2
Hey there I'm gonna show you how to enable monitor mode in Kali Linux 2.
The traditional way for monitor mode is this. ( in my case wlan0 your might be different )
Code:
airmon-ng start wlan0
Interface Chipset Driver
wlan0 Realtek RTL8187L rtl8187 - [phy0]
(monitor mode enabled on mon0)
but in Kali Linux 2 I get an error like this.
Code:
ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run 'airmon-ng start wlan0 <#>'
Sysfs injection support was not found either;
To enable monitor mode in Kali Linux 2 you have to do the following steps:
Code:
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up
Now the card is in monitor mode. Type the following to see some Access Points around you
IMPORTANT
try to inject with aireply-ng to see if the injection works
Code:
aireply-ng -9 wlan0
if the injection is not working you have to install the compat-wireless driver for you card.
How to "Properly" enable/disable monitor mode?
Quote:
Originally Posted by
g0tmi1k
You need to run '
airmon-ng check kill' before trying to enable monitor mode.
You DO NOT have to pull the interface down.
Code:
airmon-ng check kill
airmon-ng start wlan0
airodump-ng wlan0mon
Source:
http://www.aircrack-ng.org/doku.php?id=airmon-ng
Hi,
I have installed kali linux 2.0 on my laptop few days ago and I was learning different tools:D. I have faced some issues while doing this I followed this thread as well as many other threads and websites but I haven't found a proper documentation yet.
The problem is whenever I want to put my wifi card into monitor mode I simply use:
Code:
airmon-ng check kill
airmon-ng start wlan0
Now if I do
It will show me that my wifi interface name is now changed to "wlan0mon" and its state will still be shown as "managed" (which I think should be shown as "monitor").
Now if I try
Code:
aireplay -9 wlan0mon
it is unable to inject the packets. Other tools such as wireshark etc are also not able to sniff all packets. :(
During this whole time I am not able to access network (maybe because network-manager was killed). After all this I want to stop monitor mode and start using my network again so I do..
Code:
airmon-ng stop wlan0mon
service network-manager start
If now I run it shows interface name as "wlan1" (ideally it should return back to original name "wlan0") but now this interface is just not able to connect to any wireless network. I HAVE to restart my laptop to bring it back to normal (wlan0) again.
I tried same procedure on my ubuntu and it works perfectly fine on ubuntu. I can change to monitor mode, I can access network during monitor mode and after stopping monitor mode it properly comes back to wlan0 mode. Injection and sniffing also works properly.
I just want to achieve the same thing in backtrack (sorry Kali :P). After all I installed Kali only for that purpose.:p
Hoping to get some real help from this thread.
Note: I am using Ralink wireless card with RT2800pci driver.
Also I am much familiar with linux in general so feel free to provide all kinds of solutions :cool: