TP-Link wireless adaptor has only Windows drivers shipped. TP-Link have not made a driver available and have given no indication that they intend to do so.

Is there a third party driver available?

share|improve this question

closed as off-topic by Mark Rotteveel, Paul Roub, Compass, Machavity, NathanOliver Aug 9 '16 at 20:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – Mark Rotteveel, Paul Roub, Compass, Machavity, NathanOliver
If this question can be reworded to fit the rules in the help center, please edit the question.

A third party driver is available but does now yet have the USB hardware ID for this specific model: 2357:0103 (ref https://wikidevi.com/wiki/TP-LINK_Archer_T4UH)

STEP 1) Download the driver package:

git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git

You will need to make the install script executable:

chmod +x install.sh

STEP 2) Add the device ID to the device list:

cd rtl8812au/os_dep/linux
vim usb_intf.c

Search using :g0x2354, which should display these lines:

{USB_DEVICE(0x2357, 0x0100),.driver_info = RTL8188C_8192C}, /* TP-Link - TP-Link */
{USB_DEVICE(0x2357, 0x0101),.driver_info = RTL8812}, /* TP-Link - Archer T4U */

If you see an additional line that specifies USB_DEVICE(0x2357, 0x0103) then the device is already present in the package and you do not need to modify the file and can proceed to STEP 3.

OTHERWISE... Clone the line and change the second parameter to 0x0103. You should also change the comment to reflect the model of the device. It should look something like this:

{USB_DEVICE(0x2357, 0x0103),.driver_info = RTL8812}, /* TP-Link - Archer T4UH */

Save the file.

STEP 3) Build the driver package.

Exit vim and return to the package base directory:

cd ../..
sudo ./install.sh

You will need to reboot for the driver to activate.

share|improve this answer
    
Great that you got that piece of hardware working for you. But I doubt it is a good common practice if everyone around starts entering everything he got to work as a "question" here to answer it himself the same minute. This is not a documentation collection site. It is a question and answer site. Documentation would make much more sense on the github repository you took the driver from. I suggest you make a PR there and maybe delete this whole "question" here. Thanks. – arkascha Aug 22 '15 at 8:26
    
Thanks for the feedback @arkascha and I take your point. I hesitated before posting for exactly those reasons, but I went ahead because: 1) there's a tick-box that allows you to provide an answer with your question, which kind of invites this type of post; 2) surely the value of this forum is as a place to find solutions even if the poster found the solution himself; 3) this was not a trivial problem; 4) the solution was not anywhere else, and now it's here. Oh... and I did submit the details in an issue on the repository, thanks. – Terrible Tadpole Aug 22 '15 at 13:38
    
Since some time now, the edits are not needed any more. And you have to run "sudo make install" and not the shell script. – Enzo Jan 29 '16 at 9:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.