{"id":13674084,"url":"https://github.com/nlkguy/archer-t2u-plus-linux","last_synced_at":"2025-04-28T13:32:15.896Z","repository":{"id":37596907,"uuid":"324705904","full_name":"nlkguy/archer-t2u-plus-linux","owner":"nlkguy","description":"TP-Link Archer T2U Plus / AC600 High Gain USB Wifi Adapter Review \u0026 Driver installation Guide for various platforms.","archived":false,"fork":false,"pushed_at":"2023-10-18T16:43:27.000Z","size":550,"stargazers_count":373,"open_issues_count":24,"forks_count":659,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-11-11T14:40:28.023Z","etag":null,"topics":["archer","kali-linux-hacking","linux-drivers","pentesting","tp-link","tplink","wifi"],"latest_commit_sha":null,"homepage":"https://TechBuy.in","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nlkguy.png","metadata":{"files":{"readme":"README.md","changelog":"change_interface_name.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-27T07:00:05.000Z","updated_at":"2024-11-10T19:36:00.000Z","dependencies_parsed_at":"2022-07-14T08:08:52.723Z","dependency_job_id":"bf4963ae-8078-4fde-afa3-4d743923d179","html_url":"https://github.com/nlkguy/archer-t2u-plus-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlkguy%2Farcher-t2u-plus-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlkguy%2Farcher-t2u-plus-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlkguy%2Farcher-t2u-plus-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlkguy%2Farcher-t2u-plus-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nlkguy","download_url":"https://codeload.github.com/nlkguy/archer-t2u-plus-linux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319769,"owners_count":21570454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archer","kali-linux-hacking","linux-drivers","pentesting","tp-link","tplink","wifi"],"created_at":"2024-08-02T11:00:38.660Z","updated_at":"2025-04-28T13:32:10.853Z","avatar_url":"https://github.com/nlkguy.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# TP-Link Archer T2U Plus a.k.a AC600 High-Gain\n\n\n\u0026nbsp;\n[![Stargazers repo roster for @nlkguy/archer-t2u-plus-linux](https://reporoster.com/stars/nlkguy/archer-t2u-plus-linux)](https://github.com/nlkguy/archer-t2u-plus-linux/stargazers)\n\u0026nbsp;\n\n## [Important] this repo is under scrutiny as the driver is not working properly , meantime [this](https://github.com/morrownr/8821au-20210708) is working , this repo will be updated shortly\n\n## Table of contents\n\n\u003cp align = \"left\"\u003e\n\u003ca href=\"https://github.com/Krishak15/archer-t2u-plus-linux/edit/main/README.md#driver-for-debian-based-linux-distros-ubuntukali-linuxx86_64\"\u003e 1) Driver for Debian Based Linux Distros (Ubuntu/Kali Linux)(x86_64 \u003c/a\u003e \u003cbr\u003e\n  \u003ca href=\"https://github.com/Krishak15/archer-t2u-plus-linux/edit/main/README.md#driver-for-raspberry-pi-raspbian-os--kaliarm\"\u003e 2) Driver for Raspberry Pi (Raspbian OS / Kali)(ARM)\u003c/a\u003e\u003cbr\u003e\n  \u003ca href=\"https://github.com/Krishak15/archer-t2u-plus-linux/edit/main/README.md#uninstall-driver-in-linux\"\u003e 3) Uninstall Driver in Linux\u003c/a\u003e\u003cbr/\u003e\n  \u003ca href=\"https://github.com/Krishak15/archer-t2u-plus-linux/edit/main/README.md#troubleshooting\"\u003e 4) Troubleshooting\u003c/a\u003e\n\u003c/p\u003e\n\nTP-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\n\n\u003cp align = \"center\"\u003e\n\u003cimg src=\"https://github.com/nlkguy/archer-t2u-plus-linux/blob/main/Images/archer-t2u-inside.jpeg\" alt=\"Retail Box\" width=\"40%\" height=\"40%\"\u003e\n\u003c/p\u003e\n\n## Why should i buy this adapter ?\n\nThis 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.\n\n## Where to buy\n:point_right:  [**Amazon**](https://amzn.to/3aPjBir)  \n:point_right:  [**Flipkart**](https://dl.flipkart.com/dl/tp-link-ac600-t2u-plus-usb-adapter/p/itmfhz7zg85hgtzg?marketplace=FLIPKART\u0026iid=79034678-e8a7-4d71-8d97-073f9497fcdc.USBFHZ7ZPWFHW8YW.SEARCH\u0026ppt=sp\u0026lid=LSTUSBFHZ7ZPWFHW8YW9SRRQK\u0026srno=s_1_1\u0026qH=2fca2860d6b488dc\u0026pid=USBFHZ7ZPWFHW8YW\u0026affid=amaledasse\u0026ssid=7o14gihn8ag5p98g1609082867282\u0026otracker1=search\u0026ppn=sp)\n\n\n## Driver for Debian Based Linux Distros (Ubuntu/Kali Linux)(x86_64)\n\n1. Update the package information :\n\u003e```sudo apt update```\n2. Install `dkms` and `git` :\n\u003e```sudo apt install dkms git```\n3. Install Build Dependencies :\n\u003e```sudo apt install build-essential libelf-dev linux-headers-$(uname -r)``` \n4. Download the Driver files using `git` :\n\u003e```git clone https://github.com/aircrack-ng/rtl8812au.git```\n5. Navigate to the Downloaded directory :\n\u003e```cd rtl88*```\n6. Install the Driver \n\u003e```sudo make dkms_install```\n\nif the installation is aborted , check existing dkms modules and uninstall previously installed driver \n\n:point_right: [Uninstall Existing Driver](https://github.com/nlkguy/archer-t2u-plus-linux#uninstall-driver-in-linux)\n\n7. Check the wireless interfaces by typing `iwconfig`.\n\u003cimg src=\"https://github.com/nlkguy/archer-t2u-plus-linux/blob/main/Images/lsusb%3Biwconfig.png\" alt=\"lsusb\u0026iwconfig_result\" width=\"50%\" height=\"50%\"\u003e\n\nif you encounter any weird interface name , rename the Wireless interface by following below steps\n\n:point_right: [Change/Rename Network Interface](https://github.com/nlkguy/archer-t2u-plus-linux/blob/main/change_interface_name.md)\n\n\n## Driver for Raspberry Pi (Raspbian OS / Kali)(ARM)\n\n1. Update the package information :\n\u003e```sudo apt update```\n\n2. Install `dkms` and `git` :\n\u003e```sudo apt install dkms git```\n\n3. Install Build Dependencies :\n#### For Raspbian OS\n\u003e```sudo apt-get install raspberrypi-kernel-headers```\n\n#### For Kali for ARM\n\u003e```sudo apt-get install build-essential libelf-dev kalipi-kernel-headers```\n\n4. Download the Driver files using `git` :\n\u003e```git clone https://github.com/aircrack-ng/rtl8812au.git```\n\n5. Navigate to the Downloaded directory :\n\u003e```cd rtl88*```\n\n#### For Raspberry (RPI)\n\n6. Then run this step to change platform in Makefile, For RPI 1/2/3/ \u0026 0/Zero:\n\n\u003e```sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile```  \n\u003e```sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile```\n\n#### But for RPI 3B+ \u0026 4B you will need to run those below which builds the ARM64 arch driver:\n\n\u003e```sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile```  \n\u003e```sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile```\n\n#### 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:\n\n\u003e```export ARCH=arm```  \n\u003e```sed -i 's/^MAKE=\"/MAKE=\"ARCH=arm\\ /' dkms.conf```\n\n7. Install the Driver \n\u003e```sudo make dkms_install```\n\u003cimg src=\"https://github.com/nlkguy/archer-t2u-plus-linux/blob/main/Images/kali-arm-installing.png\" alt=\"Kali-ARM-RPi-Installing\" width=\"70%\" height=\"70%\"\u003e\n\n8. Check the wireless interfaces by typing `iwconfig`.\n\n:point_right: [Change/Rename Network Interface](https://github.com/nlkguy/archer-t2u-plus-linux/blob/main/change_interface_name.md)\n\n## Uninstall Driver in Linux\n\n- check the module name and version using the command ```sudo dkms status.```  \u003c/br\u003e  \n  ```\n  $ dkms status  \n  8812au, 5.6.4.2_35491.20191025, 5.10.63+, armv6l: installed  \n  rtl8188fu, 1.0, 5.10.63+, armv6l: installed.```  \n\n- here module name is ```8812au``` and module version is ```5.6.4.2_35491.20191025```.\n\n- use ```sudo dkms remove \u003cmodule\u003e/\u003cmodule-version\u003e.```  \u003c/br\u003e  \n  ```\n  $ sudo dkms remove 8812au/5.6.4.2_35491.20191025 --all  \n  \n  Deleting module version: 5.6.4.2_35491.20191025 completely from the DKMS tree.  \n  \n  Done.  \n  ```\n\n- delete this file using  ```sudo rm -rf /var/lib/dkms/8812au/```.\n\n## Troubleshooting\nOn Raspberry Pi 4 and Debian 10 image with kernel `5.10.103-v7l+`, I get this error.\n```txt\nuser@pc:~/rtl8812au $ sudo make dkms_install                    \ncp -r * /usr/src/8812au-5.6.4.2_35491.20191025                                        \n1dkms add -m 8812au -v 5.6.4.2_35491.20191025                               \n                                                                                        \nCreating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source -\u003e\n                 /usr/src/8812au-5.6.4.2_35491.20191025\n                                               \nDKMS: add completed.          \ndkms build -m 8812au -v 5.6.4.2_35491.20191025\nError! echo\nYour kernel headers for kernel 5.10.103-v7l+ cannot be found at\n/lib/modules/5.10.103-v7l+/build or /lib/modules/5.10.103-v7l+/source.\nmake: *** [Makefile:1786: dkms_install] Error 1\n```\nIn my case, there is a build directory, but it was empty.\nI added a symbolic link in `/lib/modules/$(uname -r)` to the source files as follows:\n```bash\nrm -r /lib/modules/$(uname -r)/build\nln -s /usr/src/linux-headers-$(uname -r)/ /lib/modules/$(uname -r)/build\nmake dkms_install # now it works\n```\n## References\n\u003e[DigitalOcean.com : Sed Stream Editor Basics](https://www.digitalocean.com/community/tutorials/the-basics-of-using-the-sed-stream-editor-to-manipulate-text-in-linux)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlkguy%2Farcher-t2u-plus-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlkguy%2Farcher-t2u-plus-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlkguy%2Farcher-t2u-plus-linux/lists"}