Automated installation for Realtek WiFi 5 drivers on Linux
Copy and paste this command into your terminal to install the RTW88 driver:
Backup important data before installing drivers. The script requires sudo privileges and will prompt for your password.
lwfinger/rtw88 repository - the official backport of Realtek WiFi 5 drivers
DKMS (Dynamic Kernel Module Support) for automatic rebuilds on kernel updates
build-essential, dkms, git, and kernel headers for your system
Firmware files and modprobe configuration for optimal performance
RTL8723DE, RTL8814AE, RTL8821CE, RTL8822BE, RTL8822CE
RTL8723DU, RTL8811AU, RTL8811CU, RTL8812AU, RTL8812BU, RTL8812CU, RTL8814AU, RTL8821AU, RTL8821CU, RTL8822BU, RTL8822CU
RTL8723CS, RTL8723DS, RTL8821CS, RTL8822BS, RTL8822CS
20.04+, including Linux Mint and Pop!_OS
Rolling release and stable versions
Both 32-bit and 64-bit versions
Arch Linux, Manjaro, EndeavourOS
After running the installation script:
If Secure Boot is enabled, you'll need to enroll the MOK (Machine Owner Key). The script will guide you through this process.
Reboot your system to load the new driver. Your WiFi adapter should be recognized automatically.
Check that the driver is loaded with: lsmod | grep rtw