未找到 Wifi 适配器 Ubuntu 20 LTS Legion Y7000

未找到 Wifi 适配器 Ubuntu 20 LTS Legion Y7000

首先,如果这个问题之前已经被问过,我很抱歉,但我已经浏览过所有论坛并尝试了所有建议,但都没有成功。我新近在我的 Lenovo Legion Y7000 上安装了 ubuntu 20 LTS,一切都运行正常,直到我做了一个apt upgrade。现在它甚至无法检测到 wifi 适配器,rfkill list甚至没有显示 wifi,但在执行了一些命令之后(我现在不记得是哪些了)它现在显示为软阻止。

结果是lspciNetwork controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter (rev ff)

lshw -C network仅显示我拥有的以太网连接

我也试过,sudo apt-get install --reinstall bcmwl-kernel-source但没有成功

不确定这是否有帮助,但这是我的内容/etc/modprobe.d/

alsa-base.conf                  blacklist-modem.conf
amd64-microcode-blacklist.conf  blacklist-oss.conf
blacklist-ath_pci.conf          blacklist-rare-network.conf
blacklist-bcm43.conf            dkms.conf
blacklist.conf                  intel-microcode-blacklist.conf
blacklist-firewire.conf         iwlwifi.conf
blacklist-framebuffer.conf      r8822be.conf

这也是输出lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 13d3:56a6 IMC Networks Integrated Camera
Bus 001 Device 003: ID 0bda:b023 Realtek Semiconductor Corp. Bluetooth Radio 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

输出lspci -knn | grep Net -A3

07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
    Subsystem: Lenovo ThinkPad E595 [17aa:b023]
    Kernel driver in use: rtw_pci
    Kernel modules: rtwpci, wl, rtw_8822be

输出rfkill list

0: ideapad_wlan: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
1: ideapad_bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

输出dmesg | grep rtw

[    2.821119] rtw_core: module verification failed: signature and/or required key missing - tainting kernel
[    2.835511] rtw_pci 0000:07:00.0: Firmware version 27.2.0, H2C version 13
[    2.835543]  ? rtw_mac_power_on+0x2fd/0x460 [rtw_core]
[    2.835545]  rtw_chip_info_setup+0x123/0x680 [rtw_core]
[    2.835548]  rtw_pci_probe+0x524/0x880 [rtwpci]
[    2.835568]  rtw_pci_driver_init+0x23/0x1000 [rtwpci]
[    2.835593] Modules linked in: rtwpci(+) snd_seq_midi rtw_8822b(OE) snd_seq_midi_event rtw_8723d(OE) rtw_8822c(OE) snd_rawmidi rtw_core(OE) aesni_intel(+) nvidia(PO+) mei_hdcp intel_rapl_msr uvcvideo(+) btusb snd_seq fjes(-) crypto_simd mac80211 btrtl videobuf2_vmalloc cryptd i915(+) videobuf2_memops btbcm videobuf2_v4l2 btintel glue_helper snd_seq_device bluetooth snd_timer videobuf2_common cfg80211 input_leds(+) videodev intel_cstate ecdh_generic intel_wmi_thunderbolt wmi_bmof intel_rapl_perf serio_raw ipmi_devintf 8250_dw libarc4 mc snd ecc hid_multitouch(+) drm_kms_helper ipmi_msghandler processor_thermal_device i2c_algo_bit mei_me soundcore fb_sys_fops syscopyarea mei intel_rapl_common sysfillrect intel_soc_dts_iosf ucsi_acpi sysimgblt intel_pch_thermal typec_ucsi mac_hid typec ideapad_laptop int3403_thermal int340x_thermal_zone sparse_keymap int3400_thermal acpi_thermal_rel acpi_pad sch_fq_codel parport_pc ppdev lp parport drm ip_tables x_tables autofs4 hid_generic crc32_pclmul ahci

最后,我尝试再次格式化电脑并重新安装操作系统,因为 wifi 在升级之前可以正常工作,但现在也不再工作了……

非常感谢你的帮助

答案1

好吧,解释一下发生了什么,根据我得到的日志,journalctl -b | grep rtl我发现驱动程序在启动时崩溃了。经过一番研究,我发现阻止蓝牙驱动程序可以解决这个问题(小小的牺牲换来巨大的胜利)。也许这不是理想的解决方案,直到更新修复了这个问题。

执行此操作的方法是进入/etc/modprob.b/blacklist.conf并添加以下几行:

blacklist btrtl 
blacklist btusb

然后重新启动,我的问题终于解决了

答案2

您需要安装rtl8822be的驱动程序。

在终端中运行:

sudo apt update
sudo apt install git dkms
git clone https://github.com/lwfinger/rtw88.git
sudo dkms add ./rtw88
sudo dkms install rtlwifi-new/0.6

可能您之前没有使用 就安装了驱动程序dkms。因此它没有基于内核更新进行构建。

我建议删除该/etc/modprobe.d/r8822be.conf文件。

应在 BIOS 中禁用安全启动。

相关内容