$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Realtek rtl8812au Driver on Ubuntu 24.04

March 27, 2024 | By the+gnu+linux+evangelist.

GNU/Linux Ubuntu 24.04: Realtek RTL8812AU Driver Setup – Step-by-Step Guide

Hi! Embark on a journey to enhance your wireless connectivity with our comprehensive tutorial. Follow our step-by-step guide to seamlessly install the Realtek RTL8812AU WiFi driver on Ubuntu 24.04 Noble LTS GNU/Linux.

Especially pertinent to consider, as a simpler alternative, you should initially attempt with the PPA RTL8812AU Driver Setup.

This Realtek RTL8812AU driver for Ubuntu 24.04 setup should be working even after a kernel upgrade with the DKMS integration.

Please be aware that this driver does not support all Linux kernels, so in case of issues, consult the available online documentation.

As a possible solution, see: How to Install New Kernel Guide.

In case of issues, to prevent any possible driver loading interference, take into account: How to Blacklist Kernel Modules.

Finally, from the Realtek Support Driver Website, it comes out that it may be working for all the following chipsets:

  • RTL8192EU
  • RTL8811AU
  • RTL8811CU
  • RTL8812AU
  • RTL8812BU
  • RTL8814AU
  • RTL8821AU
How to Install Realtek rtl8812au Driver on Ubuntu 24.04
  1. 1. Launching Shell Emulator

    Open a Terminal window
    (Press “Enter” to execute commands).

    Step-by-Step Realtek RTL8812AU Driver Installation on Ubuntu 24.04 - Open Terminal Shell Emulator
    Refresh the apt sources:
    sudo apt update
    Authenticate with the User Admin password.
    If you get “User is Not in Sudoers file” then see: How to Enable sudo.
  2. 2. Removing Default Driver

    Then in case to Remove Ubuntu Repo RTL8812AU Driver
    Run:

    sudo apt remove rtl8812au-dkms
  3. 3. Installing Dependencies

    Then to install required packages
    First, preferably upgrade your system with:

    sudo apt update && sudo apt upgrade
    In this case, then reboot it using:
    sudo reboot
    Then run:

    sudo apt install build-essential linux-headers-$(uname -r) dkms unzip git
    Authenticate with the User Admin password.
  4. 4. Downloading Realtek RTL8812AU Driver

    Download Realtek driver for Ubuntu GNU/Linux

    Get Realtek RTL8812AU Driver for Ubuntu

    Or better, clone it with Git.
    Especially relevant: in the new posts revision, I have included a great alternative to the default gnab driver.
    So, in case of the aircrack-ng choice, then follow the Github developer documentation to set it up.
    Especially relevant: the Aircrack-ng release includes support for “Monitor mode” and “Frame injection“!

Contents