Software & AppsOperating SystemLinux

How To Fix WiFi Issues on Fresh Ubuntu 22.04 Installation with Realtek RTL8822CE Adapter

Ubuntu 2

In this article, we will be discussing how to troubleshoot and fix WiFi issues that you might encounter on a fresh Ubuntu 22.04 installation with a Realtek RTL8822CE adapter. This guide will provide you with comprehensive steps to resolve these issues.


The Realtek RTL8822CE is a commonly used wireless network adapter. However, it’s not uncommon to encounter issues with WiFi connectivity when using this adapter on a fresh Ubuntu 22.04 installation. The good news is that these issues can be resolved by following a few troubleshooting steps.

Disabling Windows Hibernate and Fast Startup

If you’re dual-booting Ubuntu with Windows, the first thing you should do is disable Windows Hibernate and Fast Startup. These features can sometimes interfere with the WiFi adapter when booting into Ubuntu.

To disable these features in Windows:

  1. Open the Control Panel and navigate to ‘Power Options’.
  2. Click on ‘Choose what the power buttons do’.
  3. Click on ‘Change settings that are currently unavailable’.
  4. Uncheck ‘Turn on fast startup’ and ‘Hibernate’.

After disabling these features, make sure to fully shut down your system before booting into Ubuntu.

Checking for Additional Drivers

Ubuntu has a built-in tool for managing proprietary drivers. To access it:

  1. Open ‘Software & Updates’.
  2. Navigate to the ‘Additional Drivers’ tab.

Here, you can see if there are any proprietary drivers available for your Realtek RTL8822CE adapter. If there are, enable and install them.

Disabling Secure Boot

Secure Boot is a feature in UEFI that prevents unauthorized code from running at boot time. However, it can sometimes interfere with the installation and functioning of certain drivers.

To disable Secure Boot, you will need to access your system’s UEFI settings. The process for this varies depending on your system’s manufacturer, so you may need to look up specific instructions for your system.

Installing the rtl8821ce-dkms Package

The rtl8821ce-dkms package provides the driver for Realtek RTL8821CE wireless adapters. To install it, open a terminal and run the following command:

sudo apt install rtl8821ce-dkms --reinstall

In this command, sudo gives you superuser privileges, apt is the package handling utility in Ubuntu, install tells it to install a package, rtl8821ce-dkms is the name of the package, and --reinstall tells apt to reinstall the package if it’s already installed.

Verifying the Correct Driver

Finally, it’s important to ensure that you’re installing the correct driver for your specific wireless adapter. To confirm, run the following command in a terminal:

sudo dmesg | grep rtw88

In this command, sudo gives you superuser privileges, dmesg prints out messages from the kernel, | pipes the output of dmesg to another command, and grep rtw88 searches the output for the string ‘rtw88’.


If you’ve followed all of these steps and are still experiencing issues, it may be necessary to seek further assistance. However, in most cases, one of the above steps should resolve WiFi issues with a Realtek RTL8822CE adapter on a fresh Ubuntu 22.04 installation.

Remember, troubleshooting is a process of elimination. It may take some time and patience, but with a methodical approach, you can resolve most issues. Good luck!

How do I know if I have a Realtek RTL8822CE adapter?

You can check if you have a Realtek RTL8822CE adapter by opening a terminal and running the command lspci -nnk | grep -i network -A 3. If you see the Realtek RTL8822CE adapter listed in the output, then you have it installed.

Can I use these troubleshooting steps for other Ubuntu versions?

These troubleshooting steps are specifically for Ubuntu 22.04. While some steps may be applicable to other versions, it’s recommended to search for version-specific guides for the best results.

What should I do if I don’t have a dual-boot system with Windows?

If you don’t have a dual-boot system with Windows, you can skip the step of disabling Windows Hibernate and Fast Startup. Move on to the next step in the troubleshooting guide.

Is it necessary to reinstall the `rtl8821ce-dkms` package if it’s already installed?

It’s not necessary to reinstall the rtl8821ce-dkms package if it’s already installed. The --reinstall flag in the command is optional and only used if you want to reinstall the package.

How can I access my system’s UEFI settings?

To access your system’s UEFI settings, restart your computer and look for a specific key or combination of keys to press during startup. Common keys include F2, F10, or Del. Consult your system’s documentation or search online for the exact key(s) to access UEFI settings on your specific system.

Leave a Comment

Your email address will not be published. Required fields are marked *