Ubuntu 20.04 未找到 Wifi 适配器错误

Ubuntu 20.04 未找到 Wifi 适配器错误

我最近在 Windows 的同时安装了 Ubuntu 20.04,除了我的 Wifi 在 Ubuntu 中随机停止工作外,一切正常。它工作了一分钟,然后就消失了。我完成安装已经几天了。我检查了 BIOS 设置以确保安全启动已关闭并且 WLAN 功能已启用。我可以绑定到我的手机并正常使用以太网,但没有 wifi。当我进入设置并查找 Wifi 时,它告诉我没有找到 Wifi 适配器。我尝试进行所有系统更新,并尝试了来自各个论坛的各种解决方案,但都没有任何效果。有人能帮我解决这个问题吗?我认为这不是物理硬件问题,因为它前一刻还工作正常,下一刻就不行了,而且电脑也没有被碰过。

vm@vm:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev c4)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 4b)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4b)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney HT Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney Address Maps
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney DRAM Configuration
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney Miscellaneous Configuration
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney PM Configuration
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Stoney NB Performance Monitor
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
vm@vm:~$ ^C
vm@vm:~$ 




 vm@vm:~$ lspci -knn | grep Net -A3
    01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.          RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
    Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter [17aa:a814]
    Kernel driver in use: rtl8821ae
    Kernel modules: rtl8821ae

答案1

我无法添加评论,因为我的声望值不到 50。我遇到了与 Masha 类似的问题。这个问题始于我的系统更新到 Linux 内核 5.8 时。当我启动到 Linux 内核 5.4 时,没有出现 WIFI 问题。

Masha,您能展示以下命令的输出吗:uname -r

如果您的输出显示类似5.8.0-58-通用。

尝试重新启动 PC,当您在 GRUB 上时,转到“ubuntu 的高级 ubuntu 选项”,按回车键,将有 2 个选项:

Ubuntu,Linux 内核 5.4

Ubuntu,Linux 内核 5.8

选择 Ubuntu,带有 Linux 内核 5.4,按回车键,操作系统启动后检查您的 WIFI 问题是否仍然存在。

相关内容