Page 1 of 1

Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

PostPosted: Aug 28th, '21, 00:06
by duncangareth
My trusty Lenovo Thinkpad W530 died, and due to a shortage of funds, I replaced it with a Lenovo Legion 5 15ach6 gaming laptop. This machine uses a Ryzen 7 cpu and an integrated NVME SSD and Realtek network interfaces. When I ordered the machine, I had no idea that I would have trouble setting up the wifi interface after installing Mageia 8.

The controller is listed as "Network controller: Realtek Semiconductor Co., Ltd. Device 8852" in the "lspci" listing.

When I tried to configure the wifi interface using MCC, the interface is listed, but, when selected, it returns an error message stating that the interface can't be found. This seems rather absurd, since the device is listed correctly by the utility.

I solved the problem in the following way:

In a root terminal session, run the following, after installing git and the relevant kernel development package:
Code: Select all
git clone https://github.com/lwfinger/rtw89.git -b v5
cd rtw89
make
make install
modprobe -r rtw89_pci
modprobe -r rtw89core
modprobe rtw89pci

This will remove the malfunctioning kernel module and replace it with the correct one.

Re: Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

PostPosted: Aug 28th, '21, 00:19
by doktor5000
Thanks for sharing :)

Re: Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

PostPosted: Jul 18th, '22, 21:14
by duncangareth
This Setup is no longer required, since the correct drivers are included in the 5.18.x kernels, which can be accessed through Backports.

Re: Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

PostPosted: Jul 18th, '22, 22:22
by Germ
Good deal! Thanks for the update.

Re: Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

PostPosted: Oct 15th, '23, 18:19
by mab33
An earlier report said:

"When I tried to configure the wifi interface using MCC, the interface is listed, but, when selected, it returns an error message stating that the interface can't be found."


In my case (Mageia-8 installed on a Lenovo IdeaPad 141au7) MCC fails to show a WiFi option at all, although 'lspci' shows an entry "Network Controller Intel Corp'n device 51f0 (rev 01)".

So at the moment I have a laptop that can't use WiFi. :-(

Suggestions very welcome!

Maurice Batey Surrey, UK (Only 90)

Re: Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

PostPosted: Oct 15th, '23, 18:42
by doktor5000
Hi there, please open a new thread - this is about a Realtek adapter, yours is about an Intel adapter ...

Re: Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

PostPosted: Oct 15th, '23, 20:07
by morgano
mab33 wrote:Mageia-8


Please try a Mageia 9 Live, with persistence, updated.
https://wiki.mageia.org/en/Persistent_live_systems

Currently kernel 6.4.16-3 is in core updates testing repository, try that.

Then lets continue in new thread.