Skip to main content

Command Palette

Search for a command to run...

How to Change to Monitor Mode in Kali Linux

Updated
6 min read

Changing to monitor mode in Kali Linux is a key skill if you're interested in wireless network analysis or penetration testing. Monitor mode lets your wireless adapter capture all packets in the air, not just those addressed to your device. This ability is essential for tools like Wireshark, Aircrack-ng, and others used in security testing.

If you’re new to Kali Linux or wireless hacking, don’t worry. I’ll guide you through the process step-by-step, explaining how to check your wireless adapter, enable monitor mode, and troubleshoot common issues. By the end, you’ll be ready to capture wireless traffic and explore network security like a pro.

What Is Monitor Mode and Why Use It?

Monitor mode is a special mode for wireless network adapters. Normally, your Wi-Fi card only listens to packets meant for it. But in monitor mode, it listens to all wireless traffic nearby. This lets you:

  • Capture packets from any device on the network.
  • Analyze wireless protocols and security.
  • Perform penetration testing and vulnerability assessments.
  • Use tools like Aircrack-ng to crack Wi-Fi passwords.

Without monitor mode, your wireless adapter can’t capture raw packets, limiting your ability to analyze networks deeply. Kali Linux, a popular penetration testing OS, supports monitor mode well, but you need to enable it manually.

Check If Your Wireless Adapter Supports Monitor Mode

Not all wireless adapters support monitor mode. Before you start, you need to verify if your adapter can switch to this mode. Here’s how:

  1. Identify your wireless adapter
    Open a terminal and type:

    iwconfig
    

    This command lists wireless interfaces. Look for your adapter name, usually wlan0 or similar.

  2. Check monitor mode support
    Use the command:

    iw list
    

    Scroll to the section called “Supported interface modes.” Look for “* monitor.” If it’s listed, your adapter supports monitor mode.

  3. Alternative check with airmon-ng
    Run:

    airmon-ng
    

    This tool lists wireless interfaces and their capabilities. It also helps identify processes that might interfere.

If your adapter doesn’t support monitor mode, consider buying a compatible USB wireless adapter. Popular chipsets like Atheros, Ralink, and Realtek often support monitor mode.

How to Enable Monitor Mode Using Airmon-ng

Airmon-ng is the most common tool to enable monitor mode in Kali Linux. It simplifies the process and handles background processes that might interfere.

Step-by-step guide:

  1. Open a terminal
    You’ll need root privileges, so either log in as root or use sudo.

  2. Stop interfering processes
    Run:

    sudo airmon-ng check kill
    

    This stops network managers and other processes that might block monitor mode.

  3. Enable monitor mode
    Use the command:

    sudo airmon-ng start wlan0
    

    Replace wlan0 with your wireless interface name. This command creates a new interface, usually named wlan0mon.

  4. Verify monitor mode
    Check with:

    iwconfig
    

    You should see your new interface (wlan0mon) with mode set to “Monitor.”

  5. Start capturing packets
    Now you can use tools like airodump-ng wlan0mon to capture wireless traffic.

To disable monitor mode:

When you’re done, disable monitor mode with:

sudo airmon-ng stop wlan0mon
sudo service NetworkManager restart

This returns your adapter to managed mode and restarts network services.

Enabling Monitor Mode Manually with iwconfig and ip

Sometimes, you might want to enable monitor mode without airmon-ng. Here’s how to do it manually:

  1. Bring the interface down

    sudo ip link set wlan0 down
    
  2. Set monitor mode

    sudo iwconfig wlan0 mode monitor
    
  3. Bring the interface up

    sudo ip link set wlan0 up
    
  4. Verify mode

    iwconfig wlan0
    

    It should show “Mode:Monitor.”

This method is straightforward but doesn’t handle interfering processes. You might need to stop NetworkManager manually:

sudo systemctl stop NetworkManager

Troubleshooting Common Issues

Sometimes enabling monitor mode doesn’t work as expected. Here are common problems and fixes:

  • Interface doesn’t switch to monitor mode

    • Make sure your adapter supports monitor mode.
    • Stop NetworkManager and other services:
      sudo systemctl stop NetworkManager
      sudo systemctl stop wpa_supplicant
      
    • Try using airmon-ng instead of manual commands.
  • Interface name changes unexpectedly

    • Airmon-ng often renames interfaces (e.g., wlan0mon). Use the new name in commands.
  • Permission denied errors

    • Run commands with sudo or as root.
  • No packets captured

    • Check if you are in the right channel. Use iwconfig wlan0mon channel <number> to set the channel.
  • Driver issues

    • Some drivers don’t support monitor mode well. Consider using a different wireless adapter.

Best Wireless Adapters for Monitor Mode in Kali Linux

If you’re serious about wireless testing, having the right hardware is crucial. Here are some popular adapters known for good monitor mode support:

Adapter ModelChipsetNotes
Alfa AWUS036NHAAtheros AR9271Excellent support, reliable
TP-Link TL-WN722N v1Atheros AR9271Affordable, good for beginners
Panda PAU09Ralink RT5572Dual-band, good Linux support
Alfa AWUS036ACHRealtek RTL8812AUSupports monitor and injection

Make sure to check the version of your adapter, as some models changed chipsets in newer versions, affecting compatibility.

Once your adapter is in monitor mode, you can use many Kali Linux tools for wireless analysis:

  • Airodump-ng
    Captures and displays wireless packets, showing nearby networks and clients.

  • Aircrack-ng
    Uses captured packets to crack WEP/WPA keys.

  • Wireshark
    A graphical tool to analyze captured packets in detail.

  • Bettercap
    For advanced network attacks and monitoring.

To start capturing packets with airodump-ng:

sudo airodump-ng wlan0mon

You can specify channels or target specific networks for focused analysis.

Summary

Changing to monitor mode in Kali Linux is essential for wireless network analysis and penetration testing. First, check if your wireless adapter supports monitor mode using iw list or airmon-ng. Then, use airmon-ng to enable monitor mode easily, or do it manually with iwconfig and ip commands.

Remember to stop interfering services like NetworkManager before enabling monitor mode. If you face issues, check your adapter compatibility and driver support. Using the right hardware and tools, you can capture wireless traffic and analyze networks effectively.

With these steps, you’re ready to dive into wireless security testing and explore the powerful capabilities Kali Linux offers.


FAQs

How do I check if my wireless adapter supports monitor mode?

Use the command iw list and look under “Supported interface modes” for “monitor.” Alternatively, run airmon-ng to see if your adapter is compatible.

Can I use my laptop’s built-in Wi-Fi card for monitor mode?

It depends on the card. Many built-in adapters don’t support monitor mode well. USB adapters with Atheros or Ralink chipsets are usually better.

What should I do if airmon-ng start wlan0 doesn’t work?

Try stopping NetworkManager and wpa_supplicant with sudo systemctl stop NetworkManager and sudo systemctl stop wpa_supplicant. Then retry enabling monitor mode.

How do I stop monitor mode and return to normal Wi-Fi?

Run sudo airmon-ng stop wlan0mon (replace with your interface name) and restart NetworkManager with sudo service NetworkManager restart.

Monitor mode itself is legal, but capturing data from networks you don’t own or have permission to test may be illegal. Always get proper authorization before testing networks.

More from this blog

L

LinuxBloke | Linux Tips, Tricks & Troubleshooting

672 posts

How to Change to Monitor Mode in Kali Linux