You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Ubuntu 17.10中无法启用Monitor Mode,无法使用Aircrack-ng求助

解决Ubuntu 17.10无法启用监听模式(Monitor Mode)的问题

Hey there, let's get your monitor mode up and running so you can use Aircrack-ng on Ubuntu 17.10. I've walked through this exact issue with plenty of users before, so let's break it down step by step.

第一步:确认你的无线网卡支持监听模式

First off, not all wireless adapters support monitor mode—let's verify yours first. Run this command in the terminal:

iw list

Scroll through the output until you find the supported interface modes section. If monitor is listed there, your hardware is compatible. If not, you’ll likely need to use a dedicated penetration-testing USB wireless adapter (many budget options work perfectly for this).

第二步:准备环境(释放无线接口)

NetworkManager and background wireless services can lock your adapter, stopping you from switching modes. Let’s shut them down:

  1. Stop NetworkManager:
sudo systemctl stop NetworkManager

If that throws an error (older service naming), try:

sudo service network-manager stop
  1. Kill any lingering wpa_supplicant processes that might be holding onto the adapter:
sudo killall wpa_supplicant

第三步:切换到监听模式

First, find your wireless interface name (it might be wlan0, wlp2s0, or similar). Run this to check:

iw dev

Note the name next to Interface (we’ll use wlan0 as an example below).

Now follow these commands:

  1. Bring the interface down:
sudo ip link set wlan0 down
  1. Switch to monitor mode:
sudo iw dev wlan0 set type monitor
  1. Bring the interface back up:
sudo ip link set wlan0 up

第四步:验证监听模式是否生效

Check if the mode change worked with:

iw dev wlan0 info

Look for the line that says type monitor—if that’s there, you’re ready to go! Test it with Aircrack-ng’s airodump tool:

airodump-ng wlan0

You should see nearby wireless access points pop up if everything’s working correctly.

常见问题排查

  • Driver issues: If you’re using a Broadcom adapter, you might need to install the correct driver. Run:
sudo apt update && sudo apt install bcmwl-kernel-source

Note: If Secure Boot is enabled on your system, you’ll need to disable it first—otherwise the kernel module won’t load.

  • Mode switch fails: Double-check no other processes are using the adapter. Run sudo lsof | grep wlan0 to see active programs attached to it, then kill those processes.
  • Reverting to normal mode: When you’re done testing, switch back to managed mode to use your wireless normally:
sudo ip link set wlan0 down
sudo iw dev wlan0 set type managed
sudo ip link set wlan0 up
sudo systemctl start NetworkManager

内容的提问来源于stack exchange,提问作者Navod Rathnayake

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 09:28:31