我有一个华硕 USB-AC53 Nano wifi 适配器,在最近的 ubuntu 软件更新后停止工作。该适配器在其他机器上仍然可以工作。
我在 19.10 上,uname -a 的输出是:
jon@jon-basemet:~$ uname -a
Linux jon-basemet 5.3.0-26-generic #28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
DKMS 状态:
sudo dkms status
nvidia, 390.129, 5.3.0-24-generic, x86_64: installed
nvidia, 390.129, 5.3.0-26-generic, x86_64: installed
rtl8812au, 4.2.2, 5.3.0-26-generic, x86_64: installed
我遵循了以下两组说明:
sudo apt update
sudo apt install git
git clone https://github.com/gnab/rtl8812au.git
sudo cp -r rtl8812au /usr/src/rtl8812au-4.2.2
sudo dkms add -m rtl8812au -v 4.2.2
sudo dkms build -m rtl8812au -v 4.2.2
sudo dkms install -m rtl8812au -v 4.2.2
和
sudo apt-get purge rtl8812au-dkms
sudo apt-get install git
git clone https://github.com/jeremyb31/rtl8812AU.git
sudo dkms add ./rtl8812AU
sudo dkms install rtl8812AU/5
这两个解决方案都没有用。
LSUSB(注意,edimax 是一个不同的 usb wifi 天线,可以工作:$ lsusb
Bus 002 Device 007: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 002 Device 005: ID 0b05:184c ASUSTek Computer, Inc. 802.11ac NIC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6361 Alcor Micro Corp. Multimedia Card Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046a:0180 Cherry GmbH wired keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ modinfo 8812au | grep A811
alias: usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA811d*dc*dsc*dp*ic*isc*ip*in*
lsmod | grep 8812
8812au 991232 0
运行 journalctl --follow 并插入华硕天线(未安装 edimax 天线)会出现以下结果:
$ journalctl --follow
Jan 16 08:06:07 jon-basemet kernel: usb 2-2: new high-speed USB device number 10 using ehci-pci
Jan 16 08:06:07 jon-basemet kernel: usb 2-2: New USB device found, idVendor=0b05, idProduct=184c, bcdDevice= 2.10
Jan 16 08:06:07 jon-basemet kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 16 08:06:07 jon-basemet kernel: usb 2-2: Product: 802.11ac NIC
Jan 16 08:06:07 jon-basemet kernel: usb 2-2: Manufacturer: Realtek
Jan 16 08:06:07 jon-basemet kernel: usb 2-2: SerialNumber: 123456
Jan 16 08:06:07 jon-basemet mtp-probe[5875]: checking bus 2, device 10: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"
Jan 16 08:06:07 jon-basemet mtp-probe[5875]: bus: 2, device: 10 was not an MTP device
Jan 16 08:06:07 jon-basemet mtp-probe[5878]: checking bus 2, device 10: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"
Jan 16 08:06:07 jon-basemet mtp-probe[5878]: bus: 2, device: 10 was not an MTP device
答案1
我遇到了同样的问题,但是在内核 5.3.0-26-generic 上进行发行版升级后,我遇到了同样的问题。sudo apt install rtl8812au-dkms
在新内核升级后总是可以正常工作,但现在不行了,所以你并不孤单。
好的,经过一番搜索,这对我有用:
sudo apt install git dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo make dkms_install
从这里得到我的答案也许有帮助Ubuntu 19.10 上需要内核 5.3 的 rtl8814au 驱动程序
发帖回答的人还说了这样的话:
它在我的 rtl8814au 设备上工作正常,它应该适用于 rtl8812au、rtl8814au 和 rtl8821au 设备。出于某种奇怪的原因,驱动程序直到第二次重启后才开始工作。我不知道为什么
希望能帮助到你。