That is the single instruction how to install Alfa AWUS036ACH WiFi adapter on Kali Linux (including M1 Mac CPU).
INSTALLATION (approach 1)
1. sudo apt update
2. uname -r # get kernel release
3. apt-cache search linux-headers # Choose header files for Linux x.x.x-amd64
4. sudo apt install linux-headers-x.x.x # (Replace X)
5. sudo shutdown -r 0 # Reboot
6. git clone https://github.com/aircrack-ng/rtl8812au.git # Download the driver
7. cd rtl8812au # change directory
8. sudo make && make install # install the driver
9. sudo shutdown -r 0 # reboot
UPD. Big thanks to Louay112 (https://github.com/Louay112) for his update (https://github.com/aircrack-ng/rtl8812au/issues/1131#issuecomment-1943183513)
INSTALLATION (approach 2)
1. sudo apt-get install realtek-rtl88xxau-dkms
2. sudo shutdown -r 0 # reboot
If you received the error like:
88XXau.ko:
Running module version sanity check.
Good news! Module version v5.6.4.2_35491.20191025 for 88XXau.ko
exactly matches what is already found in kernel 5.13.0-28-generic.
DKMS will not replace this module.
You may override by specifying --force
3. cd nano /usr/src/realtek-rtl88xxau-5.6.4.2\~git20240726.63cf0b4/ # check the correct name
4. sudo Makefile
4. # under the dkms_install: section find dkms install -m 8812au -v $(DRIVER_VERSION) line and add –force to the end. The final line should be
dkms install -m 8812au -v $(DRIVER_VERSION) –force
5. sudo make dkms_install
6. sudo shutdown -r 0 # reboot
Let’s check it:
Turn the adapter into monitor mode…
… and start harvesting: