Step-by-step – Realtek Rtl8821AU Driver Installation in Fedora

November 9, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 3. Installing Dependencies

    Then to Install Required Stuff
    First, run:

    sudo dnf groupinstall "Development Tools"

    Further you may need also the C Libraries:

    sudo dnf groupinstall "C Development Tools and Libraries"

    And again:

    sudo dnf install dkms elfutils-libelf-devel unzip

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.

  2. 4. Extracting Realtek rtl8821AU Driver

    And then Extract Driver Archive into /tmp
    (Skip in case of Git Checkout)
    Possibly Double-Click/Right-Click on Package and Open with Archive Manager:

    Step-by-step Realtek rtl8821AU Driver Fedora Linux Installation - Extraction
    Or from Command Line:

    unzip -d /tmp/ ~/Downloads/*master.zip
  3. 5. Installing Realtek rtl8821AU Driver

    Then to Install rtl8821AU Wi-fi Driver for Fedora
    Access the Target folder:

    cd  /tmp/*master

    Or in case of Git Checkout:

    cd rtl8812au

    To Make it:

    make

    Then to Test the installation run:

    sudo insmod 8812au.ko

    And then to Setup just Copy the Module into the Right Location with:

    sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless

    And finally, Update Module Depencencies:

    sudo depmod
  4. 6. Setting Up DKMS

    Next to Add 8812au to DKMS modules
    So it Automatically Rebuilds and Install on Kernel Updates.
    First, Copy the Source into /usr/src:

    sudo mkdir /usr/src/8812au-4.2.3
    sudo cp -r ./* /usr/src/8812au-4.2.3/

    And the Setup it:

    sudo dkms add -m 8812au -v 4.2.3
    sudo dkms build -m 8812au -v 4.2.3
    sudo dkms install -m 8812au -v 4.2.3

    Now to Check the Status play:

    sudo dkms status

    Finally, possibly to Automatically load at boot run:

    echo 8812au | sudo tee -a /etc/modules

    Thanks to gnab inestimable Work!

  5. So Now I’m truly Happy if My Guide could Help you to Install Realtek rtl8821AU Driver on Fedora Linux!

Contents


QuickChic Theme • Powered by WordPress