11

My laptop says "No WiFi adapter found" when I go to settings. Here is what lpsi returns:

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]

and lshw -C network:

WARNING: you should run this program as super-user.
  *-network UNCLAIMED       
       description: Network controller
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: cap_list
       configuration: latency=0
       resources: ioport:2000(size=256) memory:80500000-805fffff
  *-network
       description: Ethernet interface
       physical id: b
       bus info: usb@1:1
       logical name: enxeaa730017396
       serial: ea:a7:30:01:73:96
       capabilities: ethernet physical
       configuration: broadcast=yes driver=ipheth driverversion=5.15.0-35-generic ip=172.20.10.8 link=yes multicast=yes

lsmod | grep rtw results:

rtw89pci               49152  0
rtw89core             352256  1 rtw89pci
mac80211             1228800  2 rtw89pci,rtw89core
cfg80211              958464  2 rtw89core,mac80211

modinfo rtw89pci results:

filename:       /lib/modules/5.15.0-35-generic/kernel/drivers/net/wireless/realtek/rtw89/rtw89pci.ko
license:        Dual BSD/GPL
description:    Realtek 802.11ax wireless PCI driver
author:         Realtek Corporation
srcversion:     5F18D2B3333DF111288DB86
depends:        rtw89core,mac80211
retpoline:      Y
name:           rtw89pci
vermagic:       5.15.0-35-generic SMP mod_unload modversions 
parm:           disable_clkreq:Set Y to disable PCI clkreq support (bool)
parm:           disable_aspm_l1:Set Y to disable PCI ASPM L1 support (bool)
parm:           disable_aspm_l1ss:Set Y to disable PCI L1SS support (bool)

I have checked that it is not hard-blocked in BIOS. I have tried both the rtw89 and rtw88 drivers and followed instructions for those to no avail. I also tried buying a wifi usb dongle, but cannot get that one to work with linux either.

I have a Lenovo yoga 6 13ALC7 and Ubuntu 22.04 LTS. Is there any way to get wifi on this computer?

Thank you in advance for any help!

Kelli
  • 113

3 Answers3

14

User @Chilli just posted an alternate driver for your particular device. Reboot before you run the commands. The answer is here, just skip the first two commands (start with sudo apt update). Also, after you run sudo make install you may need to run sudo modprobe 8852be to load the driver.

sudo apt update
sudo apt install git bc
git clone https://github.com/HRex39/rtl8852be.git
cd rtl8852be
make
sudo make install
sudo modprobe 8852be

Please view (and upvote) the original answer for more info and for instructions on how to recompile after a future kernel update.

mchid
  • 44,904
  • 8
  • 102
  • 162
8

The driver rtl8852be is obsolete, and generally inferior to the one now in https://github.com/lwfinger/rtw89.git, which parallels the code that will be in kernel 6.2 when it is released in 2-3 months. The repo https://github.com/lwfinger/rtw8852be.git will be deleted on Dec. 1.

2

As hinted by Larry Finger, installing Linux kernel 6.2 or newer solves this issue. By now, running the Software Updater should install a recent enough kernel on Ubuntu 22.04.

jl005
  • 183