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

PostgreSQL notes

PostgreSQL notes

Published 2024-04-26

Datahoarding

Notes

Various how-to's, tips and tricks that help running a PostgreSQL server more efficient.

Read the post →
Commandline arguments in Python

Commandline arguments in Python

Published 2024-04-23 — Updated 2024-04-26

Python

Learn how to use command-line arguments in Python with sys.argv. Pass arguments to your scripts, process them, and make your programs more flexible.

Read the post →
Python notes

Python notes

Published 2024-05-03 — Updated 2024-05-14

Notes

Python

Different tips, tricks and how-to's while developing various scripts in Python.

Read the post →