Downloading
-
2. Installing Dependencies
Then to Install Required Stuff
First, possibly Upgrade your system with:sudo dnf upgrade
In this case after reboot:
sudo reboot
Then run:
sudo dnf groupinstall "Development Tools"
Further you may need also the C Libraries:
sudo dnf groupinstall "C Development Tools and Libraries"
How to Enable Powers Tools on CentOS 8
And again:
sudo dnf install dkms kernel-headers kernel-devel elfutils-libelf-devel unzip git
On CentOS 7 and below simply replace “dnf” with “yum” in the above Command.
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
3. Downloading Realtek rtl8821AU Driver
(Bewilderment can arise because this setup is making use of the rtl8812AU Code)
Download Realtek rtl8821AU Driver in CentOS GNU/LinuxOr better Clone it with Git.
Especially relevant: in the New Posts Revision I have included a greate Alternative to the default gnab Driver.
So, in case of the aircrack-ng choice then follow the Github Developer Documentation to setup it.
Especially relevant: the Aircrack-ng release include support for “Monitor mode” and “Frame injection“! -
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:
Or from Command Line:unzip -d /tmp/ ~/Downloads/*master.zip
Contents