1

I bought a new Lenovo Ideapad 5 Pro that ships with this network card, full name:

Realtek RTL8852AE WiFi 6 802.11ax PCIe Adapter

Ubuntu (or any other linux distribution) does not recognize or provide drivers for this wireless card. Please tell me if there is a viable solution to this problem, or I will have to wait for an unknown amount of time until the driver is provided.

I already searched through askubuntu and found this Network driver for Realtek 8852 20.10

but the guide is very hard for me to understand, they use an unofficial driver from a kind git user, and say that I will need to rebuild it every time my system gets updated. Another big concern for me is, even if I were to do all this, how can I get it installed in the first place? The driver itself requires some packages that I would need to install first, which I cannot do without internet connection. My laptop does not have an ethernet port, only wireless card that does not work. I am desperate to make Linux work on my main machine and I don't want to give up.

2 Answers2

6

Now that you have installed the prerequisites successfully by tethering, let's install the driver. It can all be done from the terminal!

git clone https://github.com/lwfinger/rtw89.git
cd rtw89
make
sudo make install
sudo modprobe rtw89pci

Your wireless should now be working.

When Update Manager offers and installs a later kernel version, also known as linux-image, after the requested reboot, you must rebuild the driver:

cd rtw89
make clean
git pull
make
sudo make install
sudo modprobe rtw89pci

Please retain the rtw89pci directory and these instructions for that time.

chili555
  • 61,330
4

Currently, the simplest and most elegant solution to this problem (and Ethernet issues for some other Lenovo models, like the P14s Gen2) if you are running 20.04 seems to be: sudo apt install linux-oem-20.04d