Linux & Open SourceTechnology

Realtek RTL8852 Wi-Fi Not Detected on Ubuntu? Get It Working Again

Admin
Realtek RTL8852 Wi-Fi Not Detected on Ubuntu? Get It Working Again

You installed Ubuntu on a new laptop, and Wi-Fi is completely missing. There is no Wi-Fi icon, no wireless option in Settings, and only a wired connection works — if you even have an Ethernet port. If your laptop uses the Realtek RTL8852 wireless chip, this is a known driver problem, not broken hardware.

The RTL8852 family is found in many recent HP, Lenovo, ASUS, and Dell laptops. With the right kernel or the right driver installed manually, you can get Wi-Fi working reliably. This guide walks you through each method in order.

Quick Answer

The Realtek RTL8852 needs the rtw89 driver, which is included in Linux kernel 6.2 and newer. The fastest fix is to upgrade to a newer Ubuntu release or install a newer kernel. If you must stay on your current system, connect via Ethernet or phone USB tethering, disable Secure Boot, and build the driver from the official rtw89 source with make and sudo make install.

Identify Your Exact Adapter First

RTL8852 is a family, not a single chip. Common variants include RTL8852AE, RTL8852BE, and RTL8852CE. The fix is similar, but knowing your exact model helps when reading driver notes.

  1. Connect to the internet temporarily using Ethernet or USB tethering from your phone.
  2. Open a terminal with Ctrl + Alt + T.
  3. Run: lspci | grep -i network for an internal PCIe card, or lsusb for a USB adapter.
  4. Look for a line mentioning Realtek and 8852. Note the variant letters at the end.
  5. Check your kernel version: uname -r
  6. Check if any wireless interface exists: ip link show and rfkill list

If rfkill shows Wi-Fi as hard-blocked, check for a physical Wi-Fi switch or function key on your laptop first. If it shows soft-blocked, run sudo rfkill unblock wifi.

Also confirm Ubuntu sees the hardware at all. If lspci shows the Realtek device, the hardware is fine and this is purely a driver issue.

Why Ubuntu Does Not Detect RTL8852 by Default

The Kernel Is Too Old

The rtw89 driver was added to the mainline kernel in stages. Early support arrived around kernel 5.16 for some variants, but stable, complete support for the RTL8852BE and RTL8852CE is in kernel 6.2 and later. Ubuntu 22.04 originally shipped with kernel 5.15, which simply does not know this chip.

Firmware Files Are Missing

Even with the driver present, the chip needs firmware files in /lib/firmware/rtw89/. If the linux-firmware package is old, those files may be absent and the driver fails to load silently.

Secure Boot Blocks Unsigned Modules

If you build the driver yourself, Secure Boot will refuse to load it unless it is signed. Many users install the driver correctly and still see no Wi-Fi for this reason alone.

The rtw89 driver repository on GitHub maintained by Larry Finger documents exactly which chips and kernels are supported, and it is the trusted source for the manual build method below.

Method 1: Upgrade the Kernel or Ubuntu Release

This is the cleanest fix because the driver then comes built-in and updates arrive automatically with your system.

  1. Connect via Ethernet or phone tethering.
  2. Update your system fully: sudo apt update && sudo apt upgrade -y
  3. If you are on Ubuntu 22.04 LTS, install the hardware enablement kernel: sudo apt install --install-recommends linux-generic-hwe-22.04
  4. Reboot: sudo reboot
  5. After reboot, check the kernel: uname -r. You want 6.2 or higher, ideally 6.5 or 6.8.
  6. Check Wi-Fi: nmcli device status. Your wireless interface should now appear.
  7. Open Settings, go to Wi-Fi, and connect to your network.

If you are free to change releases, installing Ubuntu 24.04 LTS is even simpler — its default kernel includes mature RTL8852 support out of the box. If you maintain your system from the command line regularly, our guide on how to update Ubuntu from the terminal covers safe upgrade practices in detail.

Method 2: Build the rtw89 Driver Manually

Use this method if you cannot upgrade your kernel — for example on a work machine with a fixed release.

  1. Connect via Ethernet or USB tethering.
  2. Install build tools: sudo apt update && sudo apt install make gcc linux-headers-$(uname -r) build-essential git
  3. Download the driver source: git clone https://github.com/lwfinger/rtw89.git
  4. Enter the folder: cd rtw89
  5. Compile it: make
  6. Install it: sudo make install
  7. Load the right module for your variant. For RTL8852BE: sudo modprobe rtw89pci. The core module loads automatically as a dependency.
  8. Check for a wireless interface: ip link show
  9. Check the driver log for errors: sudo dmesg | grep rtw89

If Wi-Fi appears and connects, you are done — but remember one important catch: you must rebuild and reinstall the driver after every kernel update, because manually built modules only work with the kernel they were built for. The repo provides a DKMS option to automate this. Inside the rtw89 folder, check the README for the current DKMS instructions for your variant.

Disable Power Saving for Stability

Some RTL8852BE users see slow speeds or random drops after the manual install. A common fix is to turn off driver power saving:

  1. Create a config file: sudo nano /etc/modprobe.d/rtw89.conf
  2. Add the line: options rtw89pci disable_aspm_l1=y disable_aspm_l1ss=y if your laptop has ASPM issues, as noted in the repo README.
  3. Save, reboot, and test again.

Always read the current README in the repo, since options change as the driver matures.

Method 3: Update the linux-firmware Package

If your kernel is new enough but Wi-Fi is still missing, missing firmware is the likely cause.

  1. Check for firmware errors: sudo dmesg | grep -i firmware. Lines saying a file in rtw89/ was not found confirm this problem.
  2. Update the firmware package: sudo apt update && sudo apt install --reinstall linux-firmware
  3. Reboot and check Wi-Fi again.
  4. If your release’s package is still too old, download the latest firmware snapshot from the official Linux firmware git repository, extract the rtw89 folder, and copy it to /lib/firmware/ with sudo cp -r rtw89 /lib/firmware/, then reboot.

Disable Secure Boot If the Module Will Not Load

If you built the driver manually and modprobe fails with a message about a required key not being available, Secure Boot is blocking the unsigned module.

  1. Check Secure Boot status: mokutil --sb-state
  2. Reboot into your BIOS or UEFI settings — usually Del, F2, or F10 at startup.
  3. Find Secure Boot under the Security or Boot tab and disable it.
  4. Save, exit, boot Ubuntu, and load the module again.

Disabling Secure Boot is common for third-party drivers. Alternatively, you can sign the module yourself with a Machine Owner Key, but that process is longer and mainly worth it on machines where Secure Boot must stay on.

Common Mistakes and Useful Tips

  • Trying to install Windows drivers: Windows .exe or .inf drivers do not work on Linux. You need the Linux rtw89 driver or a newer kernel.
  • Using an old tutorial for rtl8821ce or rtw88: The RTL8852 uses rtw89, a different driver from rtw88. Installing the wrong family does nothing.
  • Forgetting internet access for the build: You need to download packages and clone the repo, so arrange Ethernet or phone tethering before starting.
  • Not rebooting after a kernel install: A new kernel only becomes active after reboot. Always check uname -r to confirm you are running it.
  • Tip: Once Wi-Fi works, avoid removing the HWE kernel metapackage, or a future cleanup may drop you back to an old kernel without the driver.
  • Tip: Save the output of lspci and uname -r before asking for help online — those two lines tell experienced users almost everything.

Conclusion

An undetected Realtek RTL8852 on Ubuntu is almost always a kernel and driver age problem, not faulty hardware. Upgrading to kernel 6.2 or newer — through the HWE stack or Ubuntu 24.04 — is the simplest permanent fix. If you must stay on an older kernel, building the rtw89 driver from its official source, updating firmware, and handling Secure Boot will get you online. Follow the methods in order, test Wi-Fi after each one, and you will find the step that brings your adapter to life.

Frequently Asked Questions

Does Ubuntu 24.04 support RTL8852 out of the box?

Yes. Ubuntu 24.04 ships with a kernel well above 6.2, so the rtw89 driver and matching firmware are included. Most RTL8852AE and RTL8852BE laptops get working Wi-Fi right after installation.

Wi-Fi worked, then stopped after a kernel update. Why?

If you built the driver manually, it was compiled for the previous kernel only. Rebuild and reinstall it in the new kernel, or switch to the DKMS method so it rebuilds automatically.

Can I use a USB Wi-Fi adapter instead?

Yes, as a temporary workaround. Choose a USB adapter known to work with in-kernel Linux drivers. But fixing the internal RTL8852 is better for speed, battery life, and convenience.

How do I know if Secure Boot is blocking my driver?

Run sudo modprobe rtw89pci and watch for an error saying the module could not be inserted because a required key is not available. Also check mokutil --sb-state to confirm Secure Boot is enabled.

Is the rtw89 GitHub driver safe to use?

Yes. It is the widely used out-of-tree version of the same driver that lives in the mainline kernel, maintained by a long-time kernel wireless contributor. It is the source most guides and distributions reference for newer Realtek chips.

Admin

Passionate about the intersection of style and storytelling. I simplify fashion trends and industry news into easy-to-follow advice, helping you stay stylish and informed in the fast-paced world of fashion.

Leave a Reply

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