I currently own a TP-Link Archer T2UH V2 USB WiFi adapter which works as a charm on my Windows partition. I Dual Boot Ubuntu and wish to use this adapter with my Ubuntu installation. As far as I understand I should install a driver for my specific adapter but I have looked around on AskUbuntu and have tried some of the solutions people have posted, but they don't seem to work fully. Whenever I install one of those options either the USB adapter does not work on a restart, or the USB adapter works for the first 20 minutes of use and then suddenly fails.
EDIT1:
How to install TP-LINK Archer T4U driver?
I followed along with this installation and all went swimmingly, I installed it using dkms and after one restart the wifi adapter was working fine. Upon swichting off the computer, starting my windows partition and later starting up ubuntu the adapter no longer functioned. I then deleted the driver, using ./dkms-uninstall
as described in the README. I then reinstalled the driver using make
and make install
. This would not preserve the driver upon updating the kernel but I thought that was fine as long as it worked. This worked better and upon restarting the Ubuntu partition the adapter seemed to work. But later on, after once again restarting (this time not switching over to the windows partition in between Ubuntu restarts) the adapter worked at first. But after approx. 20-30 minutes the adapter didn't work anymore. This behaviour repeated after every restart. I then removed the driver using the make uninstall
command as described in the README.
After trying this driver I attempted to follow the guide as described in: https://www.tp-link.com/us/support/download/archer-t2uh/#Driver
This however wouldn't even install, as when I ran the make
command I get an error that has something to do with c
or gcc
I suppose. Thus I could not finish the installation. This most likely had to do with the different versions of the Ubuntu kernel and gcc that they used for this "driver" (which was created 4 years ago).
END OF EDIT1
EDIT2:
https://askubuntu.com/a/802209/953371
Upon following this question and answer fully the wifi worked at first. But after restarting the internet connection could not be created. I could see all local wifi signals around me but a connection could not be created. Upon uninstalling this version (using DKMS) and restarting the wifi adapter seems to be working. But after approx. 5-10 minutes the wifi connections kicks the bucket and reconnecting does not work anymore. This may have to do with the faulty installation/uninstallation of another driver.
END OF EDIT2
I was wondering if there was some fool proof way to use my adapter without these issues. Looking around AskUbuntu I only see questions like these that are quite old, and not specific to my model. Hopefully anyone can help me out.
And if the driver is too hard to install, does anyone know a good alternative USB WiFi adapter that works out-of-the-box with Ubuntu 18.04?
sudo
when advised, and did you also complete the second half of the answer? Please also copy-paste in your question the full, and unredacted error regarding: "I get an error that has something to do with c or gcc I suppose" Errors will tell you exactly what's wrong, and sometimes even explicitly tell you how to fix them! :D – Nmath Sep 07 '20 at 20:19What can I do with this information?
– Daniel Sep 08 '20 at 09:42