airmon-ng
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
airmon-ng [2019/05/01 22:57] – Added section about --verbose and --debug mister_x | airmon-ng [2022/02/09 00:34] (current) – [Description] slightly improved mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Airmon-ng ====== | ====== Airmon-ng ====== | ||
===== Description ===== | ===== Description ===== | ||
- | This script can be used to enable monitor mode on wireless interfaces. It may also be used to go back from monitor mode to managed mode. Entering the airmon-ng command without parameters will show the interfaces status. | + | This script can be used to enable monitor mode on wireless interfaces. It may also be used to kill network managers, or go back from monitor mode to managed mode. Entering the airmon-ng command without parameters will show the interfaces status. |
===== Usage ===== | ===== Usage ===== | ||
Line 237: | Line 237: | ||
K[phy1]wlan0 ath9k_htc[mac80211]-1.4 Qualcomm Atheros Communications AR9271 802.11n mode managed | K[phy1]wlan0 ath9k_htc[mac80211]-1.4 Qualcomm Atheros Communications AR9271 802.11n mode managed | ||
- | In this case, the following additional | + | In this case, the following additional |
- Detailed information about the Linux distribution as well as kernel version | - Detailed information about the Linux distribution as well as kernel version | ||
- System is a virtual machine (and detailed information about supported features) | - System is a virtual machine (and detailed information about supported features) | ||
Line 424: | Line 424: | ||
mon0: ERROR while getting interface flags: No such device | mon0: ERROR while getting interface flags: No such device | ||
- | This means you have an old version of airmon-ng installed. Upgrade to at least v1.0-rc1. | + | This means you have an old version of airmon-ng installed. Upgrade to at least v1.0-rc1. |
==== check kill fails ==== | ==== check kill fails ==== | ||
Line 456: | Line 456: | ||
| | ||
See also http:// | See also http:// | ||
+ | |||
+ | ==== ERROR adding monitor mode interface: command failed: Operation not supported (-95) ==== | ||
+ | |||
+ | It is known to happen on the Raspberry Pi, when using [[airmon-ng]]. When that happens, the following can be seen in dmesg: | ||
+ | |||
+ | brcmfmac: brcmf_vif_add_validate: | ||
+ | brcmfmac: brcmf_vif_add_validate: | ||
+ | brcmfmac: brcmf_cfg80211_add_iface: | ||
+ | |||
+ | There may be instances of the following in dmesg as well prior to the above output: | ||
+ | |||
+ | brcmfmac: brcmf_vif_add_validate: | ||
+ | brcmfmac: brcmf_mon_add_vif: | ||
+ | brcmfmac: brcmf_mon_add_vif: | ||
+ | brcmfmac: brcmf_cfg80211_get_channel: | ||
+ | |||
+ | Even though dmesg says the interface is already in monitor mode and "iw dev wlan0 info" confirms it is, [[airodump-ng]] will fail and report the interface data linktype is Ethernet. This is a bug in the driver and/or firmware, and the workaround is to reboot the system or to reload the driver: | ||
+ | |||
+ | rmmod brcmfmac | ||
+ | modprobe brcmfmac |
airmon-ng.1556744228.txt.gz · Last modified: 2019/05/01 22:57 by mister_x