PDA

View Full Version : Not able to get card into Monitor mode



Tritium
2015-10-16, 00:13
I am trying to get my TPLink TL-WN722N to enter monitor mode using airmon-ng.

I believe I've done everything correctly but it's giving me a weird monitor device, not mon0, it's wlan1mon.

Running Kali 2.0 Live USB with Persistence.

The copy from my terminal will likely be able to explain this better. (I removed MAC addresses)

Could someone please help me figure out why I can't get monitor mode working?


root@kali:~# ifconfig
eth0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 B) TX bytes:960 (960.0 B)

wlan0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan1 Link encap:Ethernet HWaddr c4:e9:84
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@kali:~# airmon-ng
PHY Interface Driver Chipset

phy0 wlan0 iwlwifi Intel Corporation Centrino Wireless-N 2200 (rev c4)
phy1 wlan1 ath9k_htc Atheros Communications, Inc. AR9271 802.11n

root@kali:~# airmon-ng start wlan1
Found 4 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!

PID Name
1619 NetworkManager
1719 wpa_supplicant
1968 avahi-daemon
1969 avahi-daemon

PHY Interface Driver Chipset

phy0 wlan0 iwlwifi Intel Corporation Centrino Wireless-N 2200 (rev c4)
phy1 wlan1 ath9k_htc Atheros Communications, Inc. AR9271 802.11n
(mac80211 monitor mode vif enabled for [phy1]wlan1 on [phy1]wlan1mon)
(mac80211 station mode vif disabled for [phy1]wlan1)


root@kali:~# airodump-ng mon0
Interface mon0:
ioctl(SIOCGIFINDEX) failed: No such device

root@kali:~# airodump-ng wlan1mon
ioctl(SIOCSIWMODE) failed: Device or resource busy

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 wlan1mon <#>'
Sysfs injection support was not found either.

root@kali:~# airmon-ng
PHY Interface Driver Chipset

phy0 wlan0 iwlwifi Intel Corporation Centrino Wireless-N 2200 (rev c4)
phy1 wlan1mon ath9k_htc Atheros Communications, Inc. AR9271 802.11n

root@kali:~# ifconfig
eth0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 B) TX bytes:960 (960.0 B)

wlan0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan1mon Link encap:Ethernet HWaddr c4:e9:84
UP BROADCAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@kali:~#

duxim
2015-10-16, 11:38
read this post
https://forums.kali.org/showthread.php?26486-Enable-monitor-mode-in-Kali-Linux-2

Tritium
2015-10-16, 13:37
read this post
https://forums.kali.org/showthread.php?26486-Enable-monitor-mode-in-Kali-Linux-2

Thank you!

I ended up doing ifconfig wlan0 down then up like that post said to do.

At that time I was using "wlan1monmonmon" as my monitor interface, haha.

Trying it according to that post in a second, no doubt it will work.

Thank you again!

Edit: There is no need for airmon-ng using this method.
ifconfig wlan0 down
iwconfig wlan0 mode monitor <---- puts card in monitor mode(note the w in iWconfig)
ifconfig wlan0 up