Software & AppsOperating SystemLinux

Solving “No Wi-Fi Adapter Found” Error with Realtek RTL8852BE WiFi 6 in Ubuntu 22.04

Ubuntu 19

In this article, we will guide you through the process of resolving the “No Wi-Fi Adapter Found” error with the Realtek RTL8852BE WiFi 6 802.11ax PCIe in Ubuntu 22.04. This error can occur due to incorrect or missing drivers for the WiFi adapter.

Checking the Network Controller Information

To start, you need to verify if your system detects the Realtek RTL8852BE WiFi adapter. Open your terminal and execute the command:

lspci -nnk | grep 0280 -A3

This command will list all PCI devices and their details. The grep 0280 -A3 part of the command is used to filter the output for network controller information. If you see a line similar to Realtek Semiconductor Co., Ltd. Device [10ec:b852], it means that the Realtek RTL8852BE WiFi adapter is detected.

Installing the Necessary Drivers

If the adapter is detected, you can proceed with the installation of the necessary drivers. Follow the steps below:

  1. Remove any incorrect driver package that may conflict with the correct drivers. Use the command:
sudo add-apt-repository -r ppa:kelebek333/kablosuz
  1. Remove any conflicting drivers:
sudo apt purge rtw89-dkms
  1. Update the package list:
sudo apt update
  1. Install the required dependencies:
sudo apt install git bc

The git package is used for cloning repositories from GitHub, and bc is a language that supports arbitrary precision numbers with interactive execution of statements.

  1. Clone the driver repository:
git clone https://github.com/HRex39/rtl8852be.git
  1. Navigate to the cloned directory:
cd rtl8852be
  1. Compile the driver:
make

The make command reads a file (by default, Makefile in your current directory), determines which parts of a large program need to be recompiled, and issues the commands to recompile them.

  1. Install the driver:
sudo make install
  1. Reboot your system and disable secure boot if necessary. After each kernel update, you need to recompile the driver by running make clean, git pull, make, and sudo make install.

Alternative Solutions

If the above steps don’t work, you can try an alternative solution. Clone the driver repository using this command:

git clone https://github.com/HRex39/rtl8852be.git

Additionally, if you are facing Bluetooth issues, you can clone the Bluetooth driver repository:

git clone https://github.com/HRex39/rtl8852be_bt.git

Disabling Secure Boot

In some cases, disabling Secure Boot in your system’s BIOS can help resolve the Wi-Fi issue. To do this, restart your computer and enter the BIOS setup. Navigate to the “Security” or “Boot” section and disable Secure Boot. Save your changes and restart the computer.

For Kernel Version 5.18 or Above

If your kernel version is 5.18 or above, you need to clone the correct version of the driver repository. Use this command:

git clone https://github.com/HRex39/rtl8852be.git -b dev

Conclusion

These solutions are community-contributed and may not work in all cases. It’s always recommended to check for official driver updates or seek support from the manufacturer if available. However, these steps should help you in most cases to resolve the “No Wi-Fi Adapter Found” error with the Realtek RTL8852BE WiFi 6 in Ubuntu 22.04.

How do I check if my system detects the Realtek RTL8852BE WiFi adapter?

To check if your system detects the Realtek RTL8852BE WiFi adapter, open your terminal and execute the command: lspci -nnk | grep 0280 -A3. This command will list all PCI devices and their details. If you see a line similar to Realtek Semiconductor Co., Ltd. Device [10ec:b852], it means that the Realtek RTL8852BE WiFi adapter is detected.

What should I do if the above steps don’t work?

If the above steps don’t work, you can try an alternative solution. Clone the driver repository using this command: git clone https://github.com/HRex39/rtl8852be.git. Additionally, if you are facing Bluetooth issues, you can clone the Bluetooth driver repository: git clone https://github.com/HRex39/rtl8852be_bt.git.

How can I disable Secure Boot?

To disable Secure Boot, restart your computer and enter the BIOS setup. Navigate to the "Security" or "Boot" section and disable Secure Boot. Save your changes and restart the computer.

What should I do if my kernel version is 5.18 or above?

If your kernel version is 5.18 or above, you need to clone the correct version of the driver repository. Use this command: git clone https://github.com/HRex39/rtl8852be.git -b dev.

Are these solutions guaranteed to work?

These solutions are community-contributed and may not work in all cases. It’s always recommended to check for official driver updates or seek support from the manufacturer if available. However, these steps should help you in most cases to resolve the "No Wi-Fi Adapter Found" error with the Realtek RTL8852BE WiFi 6 in Ubuntu 22.04.

Leave a Comment

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