6 个月前,我在 HP Pavilion 15z 上安装 ubuntu 18.04 时,遇到了 wifi 驱动程序无法正常工作的问题。安装rtl8821ce repo 来自这篇文章解决了我的问题。6 个月后,我再次遇到“未找到 wifi 适配器”的问题。我启动了 Windows 10,wifi 可以正常工作,所以我的 wifi 卡没有问题。
我从内核卸载并重新安装了 rt18821ce,没有任何问题。
cd rtl8821ce/
sudo ./dkms-remove.sh
sudo /dkms-install.sh
然后重新启动,但仍然没有连接到 wifi 卡。
按照说明进行操作这个帖子,我删除了 rt18821ce 然后安装了官方 ubuntu 包。
sudo dpkg -i rtl8821ce-dkms_5.2.5.2.1.30816.20190425-0ubuntu1_all.deb
重新启动,问题仍然存在。
这是有关我的网卡的详细信息。
sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:f000(size=256) memory:fe900000-fe90ffff
*-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:03:00.0
logical name: eno1
version: 15
serial: f8:b4:6a:a7:75:ff
size: 10Mbit/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 duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:47 ioport:e000(size=256) memory:fe804000-fe804fff memory:fe800000-fe803fff
lspci -nnk | grep -A2 0280
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
Kernel modules: rtl8821ce
dmesg | grep -i firmware
[ 0.474628] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 1.328217] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 2.721778] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x4d5f02)
[ 4.700397] Bluetooth: hci0: RTL: rtl: assuming no firmware upload needed
[ 4.842078] [drm] Found VCN firmware Version: 1.73 Family ID: 18
[ 4.842083] [drm] PSP loading VCN firmware
[ 120.770143] usb 1-2.3: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
内核版本5.0.0-37-generic
我有一个登录自journalctl -b
如果有帮助的话。
答案1
问题是 BIOS 安全启动已打开。
尽管我在 6 个月前就关闭了安全启动,但我的 BIOS 设置已重置为默认值(也许已更新?),所以我不得不再次将其关闭。