重启后我的 wifi 卡停止工作。
包rtl8821ce-dkms安装了,为什么wifi没了?
$ dpkg -l | grep rtl88
ii rtl8821ce-dkms 5.5.2.1-0ubuntu4~20.04.2 all DKMS source for the Realtek 8821C PCIe WiFi driver
$ sudo modprobe -a rtl8821ae
$ sudo rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
$ sudo lshw -C network
*-network UNGEFORDERT
Beschreibung: Network controller
Produkt: RTL8821CE 802.11ac PCIe Wireless Network Adapter
Hersteller: Realtek Semiconductor Co., Ltd.
Physische ID: 0
Bus-Informationen: pci@0000:02:00.0
Version: 00
Breite: 64 bits
Takt: 33MHz
Fähigkeiten: pm msi pciexpress cap_list
Konfiguration: latency=0
dkms status
rtl8821ce, 5.5.2.1: added
virtualbox, 6.1.10, 5.4.0-59-generic, x86_64: installed
virtualbox, 6.1.10, 5.4.0-60-generic, x86_64: installed
uname -r
5.8.0-36-generic
答案1
我想我找到解决办法了。
问题是缺少 5.8 的内核头。软件包linux-image-generic-hwe-20.04
已安装,但linux-generic-hwe-20.04
缺失。没有注意到,因为之前没有安装内核 5.8...
之后sudo apt remove rtl8821ce-dkms && sudo apt install rtl8821ce-dkms
恢复了 wifi。(谢谢你的帮助!Pilot6)
dkms status
rtl8821ce, 5.5.2.1, 5.4.0-60-generic, x86_64: installed
rtl8821ce, 5.5.2.1, 5.8.0-36-generic, x86_64: installed
virtualbox, 6.1.10: added
Virtualbox 内核模块仍然有问题,但我认为这是个普遍问题。尝试过彻底清除并重新安装,但没有成功。:/ https://www.reddit.com/r/voidlinux/comments/ihnh51/linux58_building_dkms_module_virtualboxose6110/