Lenovo Yoga wifi adapter not working on Ubuntu

26 Apr 2024

I recently bought a Lenovo Yoga 7 and installled Ubuntu on it. To my great frustration the wifi doesn't work out of the box and finding a working solution took some time.

I made this guide, because I'll inevitably end up in the same situation again and waste a few hours fixing it all over again without the guide. So if you have a Lenovo Yoga 7 and installed Ubuntu (or some other distro) on it, this is how you fix it.

How to fix the issue

Install the rtw89pci package. Instructions go like this:
sudo apt-get update
sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git

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

sudo modprobe rtw89pci

You might also enjoy

How I run all my websites on one virtual private server

How I run all my websites on one virtual private server

Published 2024-04-26

DevOps

Web development

I run a bunch of different websites on a single VPS. Learn how you can create and test out new websites without having to spin up another server.

Read the post →
Philip Sørensen — Software Engineer

Philip Sørensen — Software Engineer

Published 2024-04-23 — Updated 2024-07-28

Experienced software engineer developing efficient websites in Laravel.

Read the post →
RockyLinux notes

RockyLinux notes

Published 2024-05-05

DevOps

Linux

Notes

Various notes gathered after converting to RockyLinux from CentOS.

Read the post →