![联想 Wifi RTL8822BE 无法在 Ubuntu 18.04 上运行](https://linux22.com/image/1178306/%E8%81%94%E6%83%B3%20Wifi%20RTL8822BE%20%E6%97%A0%E6%B3%95%E5%9C%A8%20Ubuntu%2018.04%20%E4%B8%8A%E8%BF%90%E8%A1%8C.png)
我是 Linux 新手,我在笔记本电脑上使用 Linux,但唯一的问题是,在笔记本电脑安装 Windows 之前,WiFi 无法使用,而现在 WiFi 可以工作
我认为这些信息可以帮助找到解决方案
admin@Lenovo:~$ uname -r
5.4.0-54-generic
admin@Lenovo:~$ uname -s
Linux
admin@Lenovo:~$ uname -n
Lenovo
admin@Lenovo:~$ uname -v
#60~18.04.1-Ubuntu SMP Fri Nov 6 17:25:16 UTC 2020
admin@Lenovo:~$ uname -m
x86_64
admin@Lenovo:~$ sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:a1100000-a110ffff
admin@Lenovo:~$ lspci
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
admin@Lenovo:~$ lspci -k
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
Subsystem: Lenovo Device b023
Kernel modules: rtwpci, wl
admin@Lenovo:~$ inxi -nx
Network: Card: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter port: 3000 bus-ID: 01:00.0
IF: N/A state: N/A mac: N/A
admin@Lenovo:~$ rfkill list all
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
如果我sudo modprobe rtwpci
什么也没返回。
如果我做
lsmod | grep rtw
返回
rtwpci 24576 0
rtw88 610304 1 rtwpci
mac80211 851968 2 rtwpci,rtw88
cfg80211 712704 2 mac80211,rtw8
如果我这么做
lspci -nnk | grep 0280 -A3
我明白了
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822] (rev ff)
Kernel driver in use: rtw_pci
Kernel modules: rtwpci
02:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]