Wifi adapter for desktop

This driver is fairly recent and claims to support that particular chipset.

To install it, follow these steps (adapted from a similar post):

  1. Update the system and reboot:

    sudo apt update && sudo apt upgrade
    sudo reboot
    
  2. Install required packages

    sudo apt install gcc-12 make bc linux-headers-$(uname -r) build-essential git dkms rfkill iw
    
  3. If you have secure boot enabled, install also these packages (otherwise, skip this step).

    sudo apt install openssl mokutil
    
  4. Download the repository to your computer, and navigate to it:

    git clone https://github.com/morrownr/rtl8852bu.git
    cd rtl8852bu
    
  5. We're going to temporarily trick the system to use the correct version of gcc to compile this driver.

    sudo rm /usr/bin/gcc
    sudo ln -s /usr/bin/gcc-12 /usr/bin/gcc
    
  6. Run the installation script:

    sudo ./install-driver.sh
    
  7. Make a note of the warning regarding updating this driver before doing any system kernel updates.

    sc1

    You will also be asked if you want to edit the configuration and reboot. For now, answer no, as the defaults should work and can be changed later, and you still need to revert the changes made before running the script:

  8. Revert changes made earlier regarding the gcc binary:

    sudo rm /usr/bin/gcc
    sudo ln -s /usr/bin/gcc-11 /usr/bin/gcc
    
  9. Reboot

    sudo reboot