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

Converting images

Converting images

Published 2024-05-14 — Updated 2024-07-28

Converting images to and from various different formats (AVIF, DNG, WEBP etc.) with Ubuntu CLI.

Read the post →
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 →
Creating your own self-hosted YouTube

Creating your own self-hosted YouTube

Published 2024-04-26

Datahoarding

Python

Using Youtube API, yt-dlp and Laravel, you can create your own self-hosted Youtube. Learn to scrape data and download videos.

Read the post →