首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用airmon-ng启用监视模式时出错

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

Ask Ubuntu用户
提问于 2019-09-04 03:07:23
回答 1查看 2.3K关注 0票数 0

当我试图在我的笔记本上启动监视器模式时,它只返回以下内容:

代码语言:javascript
复制
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命令。

代码语言:javascript
复制
sudo airmmon-ng check kill

Killing these processes:

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

然后,我将尝试使用airmon启动wlp2s0命令。

代码语言:javascript
复制
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)

但是,我的卡还没有进入监控模式。

我已经用

代码语言:javascript
复制
sudo apt update

代码语言:javascript
复制
sudo apt upgrade

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

我以前已经能够启动监视器模式,没有安装任何新的东西,也没有尝试过除airmon之外的任何其他方法,所以我不知道什么可以改变到足以引起这些问题。

我以前也从未见过这种情况,但我不明白这意味着什么,我觉得它想告诉我的是什么问题:

代码语言:javascript
复制
(experimental wl monitor mode vif already enabled for [phy0]wlp2s0 on [phy0]prism0)

我有一个三星Q330运行Ubuntu18.04

代码语言:javascript
复制
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

我笔记本电脑里的网卡是

代码语言:javascript
复制
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网络的实际卡信息

代码语言:javascript
复制
 *-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:“来获取有关我使用的卡的信息:

代码语言:javascript
复制
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
EN

回答 1

Ask Ubuntu用户

发布于 2020-02-05 21:49:31

你试过简单地使用ifconfig吗?

离线:ifconfig wlp2s0 down

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

然后把它放回网上:ifconfig wlp2s0 up

(注意:除非您以root用户的身份运行,我真的希望您不是这样,否则您将需要sudo在所有这些面前。)

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1170683

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档