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

Lenovo Yoga wifi adapter not working on Ubuntu

Lenovo Yoga wifi adapter not working on Ubuntu

Published 2024-04-26

Bug fixes

Learn how to fix the wifi adapter on a Lenovo Yoga 7 running Ubuntu.

Read the post →
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 →
The Seven Restful Controller Actions in Laravel

The Seven Restful Controller Actions in Laravel

Published 2024-05-05 — Updated 2024-05-16

Laravel

PHP

Web development

The seven RESTful actions and how you could implement them in Laravel

Read the post →