目前我遇到了一个问题,我似乎无法找到一种方法来识别我想在 Kali 中使用哪个 WiFi 适配器作为我的主要适配器(v 2017.1)
我的笔记本电脑内部有一个普通的 PCI WiFi 卡,但我也有一个 RTL8812AU USB 3.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 hub
输出lspci -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