使用 airmon-ng 启用监控模式时出错

使用 airmon-ng 启用监控模式时出错

当我尝试在笔记本电脑上启动监控模式时,它只返回以下内容:

Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'

  PID Name
  549 avahi-daemon
  614 avahi-daemon
  790 wpa_supplicant
  792 NetworkManager
 1163 dhclient

PHY Interface   Driver      Chipset

phy0    wlp2s0      wl      Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter (rev 01)

        (experimental wl monitor mode vif already enabled for [phy0]wlp2s0 on [phy0]prism0)

然后我按照提示使用 check kill 命令

sudo airmmon-ng check kill

Killing these processes:

  PID Name
  790 wpa_supplicant
17141 avahi-daemon
17144 avahi-daemon

然后我将尝试使用 airmon-ng start wlp2s0 命令。

sudo airmon-ng start wlp2s0

Found 2 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'

  PID Name
17176 avahi-daemon
17182 avahi-daemon

PHY Interface   Driver      Chipset

phy0    wlp2s0      wl      Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter (rev 01)

        (experimental wl monitor mode vif already enabled for [phy0]wlp2s0 on [phy0]prism0)

然而,我的卡仍然没有进入监控模式。

我已经使用以下方式更新了我的操作系统

sudo apt update

sudo apt upgrade

但它仍然拒绝启用监控模式。

我之前已经能够启动监控模式,并且没有安装任何新东西,也没有尝试除 airmon-ng 之外的任何其他方法,所以我不知道是什么发生了足够的变化而导致这些问题。

我以前也从未见过这种情况,但我不明白这意味着什么,并且感觉它试图告诉我问题是什么:

(experimental wl monitor mode vif already enabled for [phy0]wlp2s0 on [phy0]prism0)

我有一台运行 Ubuntu 18.04 的三星 Q330

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

我的笔记本电脑的网卡是

wlp2s0    IEEE 802.11  ESSID:"[REDACTED]"  
          Mode:Managed  Frequency:2.432 GHz  Access Point: AA:BB:CC:DD:EE:FF   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

prism0    no wireless extensions.

lo        no wireless extensions.

enp6s0    no wireless extensions.

docker0   no wireless extensions.

编辑

抱歉,我使用了错误的网卡命令

以下是使用 lshw -C 网络获取的实际卡信息

 *-network                 
       description: Wireless interface
       product: BCM4313 802.11bgn Wireless Network Adapter
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 01
       serial: e8:39:df:26:dd:c5
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) ip=172.20.8.105 latency=0 multicast=yes wireless=IEEE 802.11
       resources: irq:16 memory:fc500000-fc503fff
  *-network
       description: Ethernet interface
       product: 88E8040 PCI-E Fast Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: enp6s0
       version: 00
       serial: 00:24:54:ac:a3:c1
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:24 memory:fc600000-fc603fff ioport:4000(size=256)
  *-network
       description: Ethernet interface
       physical id: 4
       logical name: docker0
       serial: 02:42:bc:20:12:22
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes

我还使用“lspci -nn -d 14e4:”来获取有关我正在使用的卡的信息:

02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

答案1

您是否尝试过简单地使用 来做这件事ifconfig

使其脱机:ifconfig wlp2s0 down

然后进入监控模式:iwconfig wlp2s0 mode monitor

然后将其重新联机:ifconfig wlp2s0 up

(注意:除非你以 root 用户身份运行,否则你需要在所有这些命令前加上 sudo,但我真的希望你不是这样)

相关内容