Skip to content

Instantly share code, notes, and snippets.

@C0nw0nk
Last active November 5, 2022 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save C0nw0nk/340557871adf5f975b725a841285fe09 to your computer and use it in GitHub Desktop.
Save C0nw0nk/340557871adf5f975b725a841285fe09 to your computer and use it in GitHub Desktop.
RaspberryPi Wifi Dongle Setup TP-Link AC600 USB Wi-Fi Dongle, Dual Band 5 GHz Wireless Adapter for PC, Desktop and Laptop, Supports Windows 11/10/8.1/8/7/XP, Mac OS 10.9-10.13 (Archer T2U Nano) ASIN B07LGSDBTF
#!/usr/bin/env bash
#https://www.amazon.co.uk/gp/product/B07LGSDBTF/
#Created this post as a refrence for anyone struggling to get it to work
sudo apt-get install -y raspberrypi-kernel raspberrypi-kernel-headers # slow
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
make # slow
sudo make install
sudo modprobe 88XXau
@C0nw0nk
Copy link
Author

C0nw0nk commented Oct 31, 2022

Usage :

Putty Command Line SSH shell access

sudo  iwlist wlan0 scanning | egrep 'Cell |Encryption|Quality|Last beacon|ESSID'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment