DEV Community

loading...
Cover image for Ubuntu 20.04: fix wifi not working on Lenovo ideapad 330

Ubuntu 20.04: fix wifi not working on Lenovo ideapad 330

M. Akbar Nugroho
Akbar is an ordinary software engineer that loves TDD and collaborate with other!
・2 min read

A few days ago i installed the latest LTS version of Ubuntu. Yep, it's Ubuntu 20.04 with code name focal fossa on my Lenovo ideapad 330.

The installation is easy and run smoothly because i used LAN for the internet connection. When the installation process is done, i tried to open YouTube to test my internet connection and yeah it works well.

After that, i unplugged the LAN and try to use wifi as my internet connection, but i cant found the wifi settings on my laptop. I though my wifi is error, so i tried to connect my smartphone to the wifi and it's connected.

Okay, i plugged the LAN again and tried to found the solution for this problem and it didn't take long time to find the answer.

The problem occurred because Lenovo ideapad 330 used Realtek RTL8821CE for its wifi adapter and the driver is not provided in the fresh installation so, you need to install it manually.

I found this helpful GitHub gist that will guides you to fix this issue, but i will cover it here and make it simple so, you don't need to be confused.

Let's begin :)

1. clone the repository

First, we need to clone this repository. Please make sure you have installed the right version of Ubuntu because this laptop is only working with minimum version 18.10.

Open your terminal and type these command.

git clone https://github.com/tomaspinho/rtl8821ce.git
Enter fullscreen mode Exit fullscreen mode
cd rtl8821ce
Enter fullscreen mode Exit fullscreen mode

2. install the driver

Run these command one by one.

sudo make all
Enter fullscreen mode Exit fullscreen mode
sudo make install
Enter fullscreen mode Exit fullscreen mode
sudo modprobe -a 8821ce
Enter fullscreen mode Exit fullscreen mode

Wait until the installation process done. Now, open your settings and you should see the wifi settings right there :).

Discussion (0)