How to put WiFi into monitor mode

Translation of the wireless adapter into monitor mode This is a fundamental step for any information security specialist or enthusiast studying network protocols. In this state, the network card ceases to be a client and begins passively listening to the entire airwaves, capturing data packets from all channels, even those to which you are not connected. This is critical for traffic analysis, security audits, and vulnerability detection in WPA2/WPA3 networks.

Many beginners face difficulties, as standard operating system drivers often block this function for the sake of stability for the average user. Windows is particularly reluctant to allow chipsets to be switched to this mode without specific software, while Linux provides native tools for deep control over your hardware. Understanding these differences is key to success.

In this guide, we'll explore software and hardware methods for activating monitoring, consider compatible chipsets, and analyze common errors. Most Intel and Realtek modules built into laptops do not support packet injection without replacing the firmware or kernel. Therefore, choosing the right equipment is often more important than knowing the commands.

Operating principle and difference from client mode

In normal operation, known as Managed ModeYour WiFi adapter communicates only with the access point it's connected to. The card's driver filters out all unnecessary noise, transmitting only data addressed to your MAC address to the operating system. This ensures a stable connection and saves processor resources, but hides the full picture of what's happening on the air.

Monitor Mode disables this filtering. The network card begins recording the headers of all packets passing within range, ignoring the recipient's MAC addresses. This allows for the analysis of handshakes when connecting devices, the detection of hidden SSIDs, and the identification of attacks such as DeauthenticationHowever, in this mode, you cannot connect to the Internet through this adapter.

There's also a hybrid mode, often called Master Mode or AP Mode, which allows you to create access points, but for pure sniffing, Monitor is required. It's important to understand that switching to this mode is a software command sent to the driver, and if the chipset doesn't physically support switching the radio module to listen to all channels, it won't be possible to do so programmatically.

Additionally, when operating in monitor mode, the adapter can switch between channels faster than in normal mode, allowing it to scan the entire 2.4 GHz and 5 GHz bands in seconds. This feature is actively used by utilities such as airodump-ng to build a map of neighboring networks.

Checking adapter and driver compatibility

Before attempting to run complex scripts, you need to ensure that your hardware supports the required functionality. Not all WiFi modules are created equally: manufacturers often disable support for raw sockets and injections in low-end models. To test in the environment Linux or Kali the utility is used iw.

Enter the command iw list in the terminal and carefully examine the output. You're looking for the "Supported interface modes" section. If the word "monitor" is listed, then your adapter is theoretically capable of operating in the required mode. However, the presence of the word "monitor" doesn't guarantee support for packet injection, which is often required for penetration testing.

Adapters on chipsets work most stably. Atheros AR9271, Ralink RT3070 and new models from Realtek series 8812AU. Cardholders Intel 7260 series and newer may experience difficulties because the driver iwlwifi often requires manual compilation with modified flags to work properly.

  • 📡 Atheros AR9271 — the "gold standard" for beginners, perfectly supported by the Linux kernel without any additional hassle.
  • 💉 Realtek RTL8812AU — a powerful solution with 5 GHz support, but requires installation of drivers from GitHub repositories (via dkms).
  • 🚫 Broadcom — proprietary drivers often limit functionality; monitor mode may be unstable or require disabling kernel modules.

⚠️ Attention: Some modern USB 3.0 adapters can generate significant interference in the 2.4 GHz band due to the way the bus operates. When analyzing networks, use a USB extender to move the antenna away from the computer case.

📊 Which WiFi adapter do you plan to use for the audit?
Built-in laptop (Intel/Realtek)
Dedicated USB (Atheros/Realtek)
Virtual machine with passthrough
Smartphone in modem mode

Enabling Monitor Mode in Linux and Kali

Operating systems based on Linux, such as Kali Linux, Parrot OS or BlackArch, are the de facto standard for network auditing. They contain a pre-installed set of tools and drivers. A utility is used to manage interfaces. airmon-ng, which is included in the package aircrack-ng.

The first step is to stop processes that may conflict with the network card. System services such as NetworkManager or wpa_supplicant, try to automatically manage the connection and will disrupt the monitor mode. Use the command airmon-ng check killto forcefully terminate their work.

sudo airmon-ng check kill

sudo airmon-ng start wlan0

After executing the command start your interface name will change, usually with the suffix "mon" added to it (e.g. wlan0mon). This indicates that the card has entered the correct mode. Now you can start the scanner. airodump-ng wlan0mon and monitor surrounding networks.

☑️ Monitor Mode Enable Algorithm

Completed: 0 / 5

If the automatic script doesn't work, you can use low-level commands ip And iwThis gives more control, but requires precision. First, you need to "lower" the interface, change the type, and raise it again. The sequence of actions is as follows:

sudo ip link set wlan0 down

sudo iw dev wlan0 set type monitor

sudo ip link set wlan0 up

After completing the work, it is extremely important to return the adapter to its normal state, otherwise you will be left without internet access. To do this, use the command airmon-ng stop wlan0mon, which will also restart previously killed network services.

Setting up a WiFi adapter in Windows

Unlike Linux, the operating system Windows There's no native way to set WiFi to monitor mode via the command line. Standard drivers simply don't have this functionality in the user interface. Implementing this requires specialized software that operates at the driver level.

One of the most popular solutions is the utility Acrylic Wi-Fi Professional or free version Acrylic Wi-Fi HomeThese programs use their own drivers that intercept control of the card. Also widely used Npcap (as part of Wireshark), which allows you to select the packet capture mode during installation, but a full-fledged monitor often requires a separate driver.

Another option is to use virtual machines. You can run Kali Linux inside VirtualBox or VMware On Windows, by connecting a USB WiFi adapter directly to the virtual machine. In this case, the host system (Windows) won't even be aware of the monitor mode; all the work will be done by the guest OS.

  • 🖥️ Npcap — required for Wireshark to work, allows you to sniff packets, but the monitor mode depends on the card driver support.
  • 🛠️ CommView for WiFi — a powerful commercial analyzer that requires specific adapters (usually Atheros-based or special USB dongles).
  • 🐧 WSL2 (Windows Subsystem for Linux) — allows you to run Linux tools in Windows, but USB device forwarding for monitor mode is implemented in a complex way and is often unstable.

⚠️ Attention: Installing third-party WiFi drivers in Windows (especially for older cards) can cause the system to lose internet access. It's recommended to create a system restore point before experimenting with network adapter drivers.

Using Android to Audit Networks

Modern smartphones based on Android They have powerful hardware, but standard Google APIs prevent apps from putting the WiFi chip into monitor mode. Bypassing this restriction requires root access and a special kernel that supports the necessary driver extensions. Without root access, functionality will be limited to scanning available networks.

One of the leaders in this niche is the application kali nethunter, which can be installed on many smartphone models (OnePlus, Xiaomi, Nexus). It provides a full-featured terminal and a set of tools for pentesting. The app WiFi Analyzer (in extended versions) or Termux with superuser rights.

An important nuance is chipset support. Most modules built into phones Broadcom And Qualcomm are covered by proprietary drivers (blobs) that do not support injection. However, some models with chips Realtek or old devices with Atheros They do an excellent job of the task.

Why is it difficult to enable Monitor Mode on Android?

Android device manufacturers and Google restrict app access to low-level WiFi functions for security reasons. The standard Android WiFi stack doesn't allow sending raw 802.11 frames. Only custom kernels (like those in NetHunter) or specialized external adapters with OTG can bypass this restriction.

An alternative is to connect an external USB WiFi adapter to your smartphone via an OTG cable. If the adapter is supported by the Android kernel (often requiring a custom kernel or using pre-built NetHunter builds), you get a powerful portable auditing tool right in your pocket.

Common errors and how to fix them

During setup, users often encounter the error message "Operation not permitted" or "Device or resource busy." This means the interface is busy with another process. Even if you've killed NetworkManager, background services like ModemManager may continue to poll the device. The solution is to re-check the processes with the command airmon-ng check.

Another common issue is that the adapter "drops out" of monitor mode after a few seconds of operation. This is often related to power saving. The system tries to conserve power and disables the adapter. You should disable power management for USB ports or a specific device in the BIOS/UEFI settings and through iwconfig (parameter power off).

The table below summarizes the main errors and methods for solving them:

Error Probable cause Solution
Device busy The interface is managed by NetworkManager Execute airmon-ng check kill
Operation not supported The driver does not support the mode Replace the adapter or driver (for example, to rtl8812au)
No such device The adapter is disconnected or burned out Check physical connection and lsusb
Channel set failed Conflict of regions or frequencies Set region iw reg set (for example, US or RU)

Questions and Answers (FAQ)

Is it possible to surf the internet while the adapter is in monitor mode?

No, in monitor mode, the adapter cannot maintain a regular network connection. It only listens. To access the internet during an audit, use a second WiFi adapter, an Ethernet cable, or mobile data (USB modem/phone).

Do you need root to enable monitor mode on Linux?

Yes, changing the network interface mode requires superuser privileges. All commands must be prefixed with sudo or from under the root user.

Does monitor mode harm equipment?

No, software switching to monitor mode does not cause physical damage to the adapter. This is the chipset's default operating mode, simply hidden from regular users. However, prolonged operation at maximum reception level may cause the device to heat up.

Does this work on macOS?

On macOS, the situation is similar to Windows. Standard Apple drivers don't support monitor mode for most integrated cards. Special external adapters and drivers (such as those from Wireshark or specialized kexts) are required, but support is limited.