目前,我遇到了一个问题,似乎找不到一种方法来识别我想要使用哪个WiFi适配器作为我在Kali中的主适配器(v 2017.1)。
我的笔记本电脑里面有一个普通的PCI WiFi卡,但是我也有一个RTL8812AU USB3.0适配器。我知道我使用内部的方式是因为我只能看到2.4Ghz的广播频谱。
我使用的是与我在桌面上使用的Realtek驱动程序相同的驱动程序,这些驱动程序工作正常,但不确定这里是否有错误。它出现在lsusb下面。我正在寻找一种方法,也许可以识别适配器,并选择使用哪一个。两者是否都应该出现在ifconfig中,比如wlan0和wlan1,或者类似的东西?
编辑:lsusb输出:
Bus 003 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 058f:a014 Alcor Micro Corp. Asus Integrated Webcam
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hublspci -knn | grep Net -A2的输出:
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Foxconn International, Inc. AR9285 Wireless Network Adapter (PCI-Express) [105b:e049]
Kernel driver in use: ath9k
Kernel modules: ath9k驱动程序安装输出:
sudo apt install realtek-rtl88xxau-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
realtek-rtl88xxau-dkms is already the newest version (4.3.21~20170330-0kali1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.来自GitHub的安装输出:
root@kali:~/Downloads/rtl8812au-master# ./install.sh
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-kali3-amd64/build M=/root/Downloads/rtl8812au-master modules
make[1]: *** /lib/modules/4.9.0-kali3-amd64/build: No such file or directory. Stop.
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2发布于 2017-06-03 21:56:03
事实证明,我确实需要完全删除和重新安装WiFi驱动程序,现在这两种驱动程序在执行ifconfig时都分别显示为wlan0和wlan1。同时也出现在网络管理器GUI中(见图)。

我采取的步骤是:
sudo apt remove realtek-rtl88xxau-dkms卸载驱动程序,然后运行sudo apt autoremovesudo apt install realtek-rtl88xxau-dkms安装驱动程序ifconfig以检查是否成功,应该有一个附加的WiFi适配器https://unix.stackexchange.com/questions/369045
复制相似问题