Getting USB wifi adapter to work with Ubuntu 18.04

Daniel

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?

Daniel

So for now it seems that the best way to fix this issue is finding the chipset of your specific dongle and find a driver for it that works with your current kernel. I found out, through lots and lots of googling, that my chipset was the mt7610u. This chipset has annnoyed Linux users for many years. I then tried to find the most up to date driver for this chipset, which happened to be https://github.com/xtknight/mt7610u-linksys-ae6000-wifi-fixes. Installing this driver using DKMS seemed to fix the adapter issues. I also found another driver, which seems to be made for a newer version of the linux kernel. https://github.com/rebrane/mt7610u

Only problem for now is getting the 5Ghz band to work. This also means that, for now, if you have a dual band router you can only connect to the 2.4Ghz band, and not the 5Ghz band.

I also had the issue that the dongle would power off after about 20 minutes of use. This has to do with power saving features that the BIOS has, these options should be shut off. They can also be shut off within Windows if you are dual boot.

Hopefully this helps someone out!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

usb wifi adapter is not working on Ubuntu 20.04.1 LTS

How to make Wavlink USB wifi adapter work again in Ubuntu 18.04.2 LTS after kernel upgrade

Asus AC1200 USB AC53 Nano Wifi adapter does not work on Ubuntu 18.04

Ubuntu Server 16.04: connect to wifi network (usb wifi adapter)

Getting USB to VGA to work on ubuntu

USB Ethernet adapter refusing to work on Ubuntu Server

Usb wifi adapter problem

USB WiFi adapter issues

Disable USB Wifi adapter?

USB Wifi Adapter Not Autoloading

Can't get my Linksys USB wifi adapter to work

USB wifi adapter keeps dropping connection (Ubuntu 16.04)

BCM43142 WiFi adapter doesn't work on Ubuntu 20.04

Wifi adapter not found, Ubuntu

Will USB 3.0 to HDMI video adapter work with Ubuntu 14.04? Other versions?

Techkey Usb 3.0 Wifi Adapter - Issues installing Wifi Adapter

Problems in ubuntu 16.04 with alfa AWUS036AC USB WIFI adapter in the power up sequence

USB wifi adapter has stopped working, is it the device's or Ubuntu's fault?

How to Set Up mt7601U USB Wifi Adapter in Ubuntu 16.04

How to install LEO-NANO150N Leoxys mini USB Wifi adapter on ubuntu?

netgear N300 USB mini adapter WNA3100M is unable to connect to wifi on ubuntu 15.04

Ubuntu 16.04.5 USB wifi Adapter: 0bda:b812 not working

Wifi adapter freezes Ubuntu 16.04

Install mercusys wifi adapter in Ubuntu

No wifi adapter found ubuntu 18.04

Help with wifi adapter for Ubuntu 18.04

No wifi adapter found ubuntu 22.04

Please help me install this USB wifi adapter

Setting up wifi connection through usb adapter