升级到 23.04 不显示或识别 Realtek Wifi 适配器

升级到 23.04 不显示或识别 Realtek Wifi 适配器

PC 最近升级到 23.04和 Mate 桌面。Mate 没有显示 Wifi 图标。重新启动进入 Ubuntu Gnome 桌面,显示并连接到 USB Wifi 适配器:

lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 048d:5702 Integrated Technology Express, Inc. ITE Device
Bus 001 Device 005: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 001 Device 004: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0
Bus 001 Device 003: ID 0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter
Bus 001 Device 002: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

重新启动 Mate 后,它仍然没有出现在网络或任务栏中。虽然硬件出现了:

sudo lshw -C network
[sudo] password for jimtek4: 
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: enp6s0
       version: 16
       serial: 18:c0:4d:3f:72:dc
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.2.0-39-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.8.244 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:37 ioport:f000(size=256) memory:fcd04000-fcd04fff memory:fcd00000-fcd03fff

然后 Ubuntu 显示更新已准备就绪,所以我安装了它。Wifi 仍然没有显示。因此重新启动进入 Gnome...然后它没有显示在那里。因此在升级和不升级之间,Wifi 在 Gnome 中停止工作,在 Mate 中仍然无法工作。

有人知道如何让 Mate 和 Gnome 再次识别 Realtek USB Wifi 硬件吗?

谢谢!

PS:搜索时 Askubuntu 上的所有其他链接都比较旧,似乎不适用于 23.04。

附加信息:

Sudo apt-get -y install rtl8812au-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
rtl8812au-dkms is already the newest version (4.3.8.12175.20140902+dfsg-0ubuntu20~23.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

如上图。

答案1

您的 0bda:a881 设备不是 8812au 设备;它是 8821au。让我们安装正确的驱动程序。通过以太网、网络共享或任何可能的方式建立有效的互联网连接:

sudo apt update
sudo apt install --reinstall git dkms build-essential bc
git clone https://github.com/morrownr/8821au-20210708.git
cd 8821au-20210708
sudo sh install-driver.sh

重启。一切就绪。

相关内容