Skip to content

Instantly share code, notes, and snippets.

@0xBruno
Last active December 8, 2024 00:05
Show Gist options
  • Select an option

  • Save 0xBruno/d12dedb58505e75821257cccc01f166a to your computer and use it in GitHub Desktop.

Select an option

Save 0xBruno/d12dedb58505e75821257cccc01f166a to your computer and use it in GitHub Desktop.
#!/bin/bash
# All credit to this post
# https://medium.com/@wicked_picker/configuring-the-alpha-awus036ach-wi-fi-adapter-on-kali-linux-eb5ec2826713
# Update first
sudo apt-get update -y
sudo apt-upgrade -y
sudo apt dist-upgrade -y
# Installing the Realtek-rtl88xxau Drivers
sudo apt-get install realtek-rtl88xxau-dkms -y
# Dynamic Kernel Module Support (DKMS) simplifies the process of installing device driver updates to the active kernel without adding any changes to the kernel.
sudo apt-get install dkms -y
# install kernel headers
sudo apt-get install linux-headers-$(uname -r) -y
cd ~
# Check if the directory exists
if [ ! -d "tools" ]; then
# Create the directory if it doesn't exist
mkdir tools
fi
# Change to the tools directory
cd tools
git clone https://github.com/aircrack-ng/rtl8812au
cd rtl8812au
make
sudo make install
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment