我最近将 Ubuntu 从内核 5.0.0-37 升级到 5.3.0-26 (x86_64)。似乎与此升级重合,我的 wifi USB 加密狗停止工作(Archer T4U)。它通常在侧面有一些闪烁的灯,但现在它们都没有点亮。我确实启动到 Windows 以验证它仍然可以正常工作。这是我尝试使其再次运行的步骤(我仍然有有线连接):
$sudo apt remove rtl8812au-dkms
$sudo apt install rtl8812au-dkms
接下来,我检查是否可以看到 USB 加密狗,并获得以下输出:
$cat /var/lib/usbutils/usb.ids | grep "Archer T4U"
0101 RTL8812AU Archer T4U 802.11ac
0103 Archer T4UH wireless Realtek 8812AU
目前很好。接下来,我检查它是否是我网络的一部分:
$sudo lshw -C network
*-network
description: Ethernet interface
product: 82567LM-3 Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth2
version: 02
serial: b8:ac:6f:1d:64:14
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.4-3 ip=192.168.0.40 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:32 memory:f7fe0000-f7ffffff memory:f7fd9000-f7fd9fff ioport:ece0(size=32)
这显示了我的有线连接,但不是 wifi USB。我在这方面研究的所有帮助都假设系统可以在发出此命令时看到 wifi。
我检查以验证它是否在 USB id 列表中:
$cat /var/lib/usbutils/usb.ids | grep 'Archer T4U'
0101 RTL8812AU Archer T4U 802.11ac
0103 Archer T4UH wireless Realtek 8812AU
没关系。接下来我检查wifi模块是否安装:
$sudo lsmod | grep 8812au
8812au 1290240 0
cfg80211 704512 1 8812au
是的。好的,让我尝试激活模块:
$sudo modprobe 8812au
$echo $?
0
好像激活了没问题。现在我运行 iwconfig:
$iwconfig
lo no wireless extensions.
eth2 no wireless extensions.
与之前的 lshw 命令一样,它不会将 wifi 加密狗视为网络的一部分。我试过多次重新运行这些步骤,以前一直有效,并且重新启动了几次,都无济于事。我不知道如何让这个工作。
对于内核 5.3,您可能需要更新/修改的驱动程序。
你可以从这个 GitHub 存储库安装最新的驱动程序: https://github.com/aircrack-ng/rtl8812au.git
根据 repo,这是使用 DKMS 方法安装驱动程序的方法:
sudo apt update
sudo apt install dkms
git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo ./dkms-install.sh
您的 USB WiFi 适配器现在应该可以工作了。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句