Disabling Wi-Fi Monitor Mode in Kali Linux: A Complete Guide with Examples

Why Wi-Fi Monitor Mode May Interfere with Kali Linux

Monitor mode (monitor mode) in Kali Linux is a powerful tool for analyzing wireless networks, but misuse or accidental activation can lead to unexpected problems. For example, after performing security testing, you may find that your Wi-Fi adapter no longer connects to networks normally, and the system returns errors like Operation not permitted or Device or resource busyThese are typical symptoms of a "stuck" monitor mode, where the adapter remains in a state of listening for packets instead of normal operation.

This problem is especially common among users who experiment with tools like Airodump-ng, Wireshark or ReaverEven after closing these programs, the adapter may not return to managed mode (managed mode), which blocks internet access. In this article, we'll discuss how to properly disable monitor mode, avoid common errors, and restore Wi-Fi functionality without rebooting the system.

⚠️ Important: If you are using Kali Linux in a virtual machine (for example, via VirtualBox or VMware), some commands may fail due to virtualization limitations. In this case, you will need to either reboot the VM or configure direct access to the USB adapter.

Checking the current status of the Wi-Fi adapter

Before disabling the monitor mode, make sure it's the problem. To do this, run two key commands:

iwconfig

This command will show all wireless interfaces and their current modes. Look for the line Mode:Monitor next to the name of your adapter (usually wlan0, wlp2s0 or similar).

airmon-ng

Tool airmon-ng will display a list of interfaces and their states. If there is a (monitor mode enabled), which means the monitor mode is active.

🔍 Example output for the adapter in monitor mode:

wlan0     IEEE 802.11  Mode:Monitor  Tx-Power=20 dBm

Retry short limit:7 RTS thr:off Fragment thr:off

Power Management:off

📊 What tool do you use most often to work with Wi-Fi in Kali Linux?
Airodump-ng
Wireshark
Reaver
Airgeddon
Another

The standard way to disable monitor mode

The most reliable method is to use the same utility you used to enable monitor mode. If it was airmon-ng, execute:

sudo airmon-ng stop wlan0mon

Here wlan0mon — is a virtual interface created in monitor mode (may differ, for example, wlp2s0mon). After executing the command, the adapter should return to managed mode.

🔄 Checklist for disabling:

☑️ Properly disabling monitor mode

Completed: 0 / 4

If airmon-ng didn't work or gives an error, try an alternative method through iwconfig:

sudo ifconfig wlan0mon down

sudo iwconfig wlan0 mode managed

sudo ifconfig wlan0 up

Here wlan0 — original interface (without suffix) mon). After these commands, the adapter should reconnect to the network.

Common errors and their solutions

Even experienced Kali Linux users encounter problems disabling monitor mode. Here are the most common ones and how to fix them:

  • 🔌 "Device or resource busy" error: Indicates that the interface is busy with another process. Close all programs using Wi-Fi (e.g. Wireshark or Airodump-ng), using the command sudo killall -9 airodump-ng wireshark.
  • 🔄 The interface does not return to managed mode.: Sometimes forcibly removing the monitor interface helps: sudo iw dev wlan0mon del, then sudo ifconfig wlan0 up.
  • 📡 The adapter has disappeared from the interface list.: Reload the kernel module driver: sudo modprobe -r [driver] And sudo modprobe [driver]You can find out the driver name through lsmod | grep 80211.
  • 🔒 No rights to change the mode: Make sure you are running commands as root or through sudoIf the problem persists, check the device permissions: ls -l /sys/class/net/wlan0.

⚠️ Attention: If you are using an external Wi-Fi adapter (eg. Alfa AWUS036NHA or TP-Link TL-WN722N), after forcibly removing the interface, it may be necessary to physically disconnect and reconnect the device.

Alternative methods of disconnection

If the standard commands don't help, try one of these methods:

  1. Restarting network services:
    sudo systemctl restart networking
    

    sudo systemctl restart NetworkManager

    This method resets all network settings and often solves problems with frozen interfaces.

  2. Manually removing the monitor interface:
    sudo ip link set wlan0mon down
    

    sudo iw dev wlan0mon del

    sudo ip link set wlan0 up

    Suitable for adapters that do not respond to airmon-ng stop.

  3. Resetting the driver:
    sudo rmmod [driver]
    

    sudo modprobe [driver]

    Replace [driver] to the name of your module (for example, rtl8188eu for adapters on the Realtek chip).

💡 Helpful tip: If you frequently work with monitor mode, create an alias to quickly disable it. Add this to the file ~/.bashrc line:

alias monitor-off='sudo airmon-ng stop wlan0mon 2>/dev/null || sudo ifconfig wlan0 down && sudo iwconfig wlan0 mode managed && sudo ifconfig wlan0 up'

After this, it is enough to enter monitor-off in the terminal.

Table: Commands for different scenarios

Scenario Team Note
Disabling via airmon-ng sudo airmon-ng stop wlan0mon The most reliable method is if the adapter is enabled via airmon-ng
Manual reset in managed mode sudo iwconfig wlan0 mode managed It is necessary to turn off the interface first (ifconfig wlan0 down)
Removing the monitor interface sudo iw dev wlan0mon del Effective if the adapter is stuck in monitor mode
Restarting the driver sudo modprobe -r rtl8188eu && sudo modprobe rtl8188eu Replace rtl8188eu to your driver
Complete network reset sudo systemctl restart NetworkManager Helps if the problem is in network management services

⚠️ Attention: On some adapters (for example, with chips Broadcom) manual mode change via iwconfig may lead to errors. In this case, use only airmon-ng or restart the driver.

What to do if nothing helps

If all the above methods do not work, try the following steps:

  • 🔌 Physical rebootDisable your Wi-Fi adapter (if external) or reboot your system. This will reset all settings.
  • 🔧 Checking driversOutdated or incorrectly installed drivers may block mode switching. Update them via:
    sudo apt update && sudo apt upgrade

    For adapters Realtek You may need to install the drivers manually from GitHub.

  • 📋 Checking the error log: Check the system logs for driver errors:
    dmesg | grep -i wifi

    Or for a specific adapter:

    dmesg | grep -i wlan0
  • 🖥️ Reset network settings: As a last resort, reset all network configurations:
    sudo rm /etc/NetworkManager/system-connections/*
    

    sudo systemctl restart NetworkManager

    ⚠️ This will delete all saved networks!

Why might the adapter not return to managed mode?

Sometimes Wi-Fi adapter drivers (especially cheap Chinese models) have bugs that prevent mode switching from working correctly. In such cases, the only solution is a reboot or firmware update. The issue could also be a conflict with other networking tools, for example, if several are running simultaneously. airmon-ng And wpa_supplicant.

🔹 Key takeaway: If standard commands don't work, start by checking your drivers and error logs. Most often, the problem lies in driver incompatibility with the monitor mode or conflicts between network services.

FAQ: Frequently asked questions about disabling monitor mode

Is it possible to disable monitor mode without rebooting?

Yes, in 90% of cases this is possible using commands airmon-ng stop or iwconfigA reboot is only required in the event of serious driver failures or if the adapter is physically frozen.

Why doesn't Wi-Fi connect to the network after disabling monitor mode?

Possible reasons:

  • Network Service (NetworkManager or wpa_supplicant) is not restarted.
  • The adapter remained in the state down (check through ip link show wlan0).
  • The driver does not support fast mode switching (relevant for some chips) Realtek).

Try to manually raise the interface: sudo ifconfig wlan0 up.

How do I know which driver my Wi-Fi adapter is using?

Run the command:

lsusb

Find the line with your adapter (for example, Realtek Semiconductor Corp. RTL8188EU), then check the loaded modules:

lsmod | grep -i wifi

Or for a specific device:

dmesg | grep -i [chip_name]

Is it safe to leave the adapter in monitor mode?

Technically yes, but it creates risks:

  • The adapter cannot connect to networks, which makes the system offline.
  • Some tools (eg. Airodump-ng) continue to run in the background, consuming resources.
  • In public networks, this may attract the attention of administrators (monitor mode is visible in some monitoring systems).

It is recommended to disable monitor mode immediately after completing tasks.

Is it possible to enable monitor mode on a laptop's built-in Wi-Fi?

Yes, but with some reservations:

  • Many built-in adapters (especially on chips) Intel or Broadcom) do not support monitor mode or work unstably in it.
  • In virtual machines (for example, VirtualBox) The laptop's built-in Wi-Fi is usually not accessible to the guest OS.
  • For stable operation, it is better to use an external adapter that supports monitor mode (for example, Alfa AWUS036ACH).

Check your adapter's compatibility via iw list | grep -A 10 "Supported interface modes".