• Stars
    star
    328
  • Rank 128,352 (Top 3 %)
  • Language
    Shell
  • Created almost 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TP-Link Archer T2U Plus / AC600 High Gain USB Wifi Adapter Review & Driver installation Guide for various platforms.

TP-Link Archer T2U Plus a.k.a AC600 High-Gain

TP-Link Archer T2U Plus a.k.a AC600 High Gain is a very affordable dual band wireless adapter compatible with kali linux and supports monitor mode , soft AP mode,packet injection etc. it supports both 2.4 GHz and 5GHz band and has a 5dBi Antenna for better signal reception. 2357:0120

Retail Box

Why should i buy this adapter ?

This adapter has a Realtek RTL8821AU Chipset at its heart. RTL8821AU has plenty of developer support in linux community and has driver for Kali linux , Parrot OS .etc Archer T2U Plus is on sale under 15 USD ~ 1000 INR , which is a very affordable price for Beginners in Pentesting. 2357:0120 is the USB ID.

Where to buy

πŸ‘‰ Amazon
πŸ‘‰ Flipkart

Driver for Debian Based Linux Distros (Ubuntu/Kali Linux)(x86_64)

  1. Update the package information :

sudo apt update

  1. Install dkms and git :

sudo apt install dkms git

  1. Install Build Dependencies :

sudo apt install build-essential libelf-dev linux-headers-$(uname -r)

  1. Download the Driver files using git :

git clone https://github.com/aircrack-ng/rtl8812au.git

  1. Navigate to the Downloaded directory :

cd rtl88*

  1. Install the Driver

sudo make dkms_install

if the installation is aborted , check existing dkms modules and uninstall previously installed driver

πŸ‘‰ Uninstall Existing Driver

  1. Check the wireless interfaces by typing iwconfig.

lsusb&iwconfig_result

if you encounter any weird interface name , rename the Wireless interface by following below steps

πŸ‘‰ Change/Rename Network Interface

Driver for Raspberry Pi (Raspbian OS / Kali)(ARM)

  1. Update the package information :

sudo apt update

  1. Install dkms and git :

sudo apt install dkms git

  1. Install Build Dependencies :

For Raspbian OS

sudo apt-get install raspberrypi-kernel-headers

For Kali for ARM

sudo apt-get install build-essential libelf-dev kalipi-kernel-headers

  1. Download the Driver files using git :

git clone https://github.com/aircrack-ng/rtl8812au.git

  1. Navigate to the Downloaded directory :

cd rtl88*

For Raspberry (RPI)

  1. Then run this step to change platform in Makefile, For RPI 1/2/3/ & 0/Zero:

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

But for RPI 3B+ & 4B you will need to run those below which builds the ARM64 arch driver:

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

In addition, if you receive an error message about unrecognized command line option β€˜-mgeneral-regs-only’ (i.e., Raspbian Buster), you will need to run the following commands, then retry building and installing:

export ARCH=arm
sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf

  1. Install the Driver

sudo make dkms_install

Kali-ARM-RPi-Installing

  1. Check the wireless interfaces by typing iwconfig.

πŸ‘‰ Change/Rename Network Interface

Uninstall Driver in Linux

  • check the module name and version using the command sudo dkms status.

    $ dkms status  
    8812au, 5.6.4.2_35491.20191025, 5.10.63+, armv6l: installed  
    rtl8188fu, 1.0, 5.10.63+, armv6l: installed.```  
    
    
  • here module name is 8812au and module version is 5.6.4.2_35491.20191025.

  • use sudo dkms remove <module>/<module-version>.

    $ sudo dkms remove 8812au/5.6.4.2_35491.20191025 --all  
    
    Deleting module version: 5.6.4.2_35491.20191025 completely from the DKMS tree.  
    
    Done.  
    
  • delete this file using sudo rm -rf /var/lib/dkms/8812au/.

References

DigitalOcean.com : Sed Stream Editor Basics