Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Setup of Realtek RTL8852 Wifi Adapter on Lenovo Legion 5

Postby duncangareth » Aug 28th, '21, 00:06

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.
duncangareth
 
Posts: 66
Joined: Oct 24th, '13, 21:05

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

Postby doktor5000 » Aug 28th, '21, 00:19

Thanks for sharing :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17603
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby duncangareth » Jul 18th, '22, 21:14

This Setup is no longer required, since the correct drivers are included in the 5.18.x kernels, which can be accessed through Backports.
duncangareth
 
Posts: 66
Joined: Oct 24th, '13, 21:05

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

Postby Germ » Jul 18th, '22, 22:22

Good deal! Thanks for the update.
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 568
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

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

Postby mab33 » Oct 15th, '23, 18:19

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)
mab33
 
Posts: 20
Joined: Apr 25th, '12, 19:09

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

Postby doktor5000 » Oct 15th, '23, 18:42

Hi there, please open a new thread - this is about a Realtek adapter, yours is about an Intel adapter ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17603
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby morgano » Oct 15th, '23, 20:07

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.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1301
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron