Wireless card intermittently not working

Hi guys,

So I have an USB wi-fi card connected to my machine. It’s a TP-Link Archer T4UH AKA the AC1200. Which is compatible with Linux by all accounts. I’ve connected it to my machine, and I’ve installed the additional drivers (R8812AU) and all is working well…occasionally.

You see, I regularly boot my machine up and there is zero activity going to the card - even the status light isn’t working. Then, seeming randomly, it decided to work after a couple of reboots.

I’ve tried multiple USB ports, multiple USB cables, and it’s always the same. I know it’s not the device and I dual-boot with Win10 and never have a problem with it in there.

If i run iwconfig, I get “no wireless extensions”:

$ iwconfig
enp2s0    no wireless extensions.
lo        no wireless extensions.

Is there a diagnostic I can run to give me more info or something? I’m really in the dark on this one.

I’m running 18.04.1.

Thanks!

There is a wireless script circulating that does a thorough analysis …

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info 
chmod +x wireless-info
./wireless-info 

Since the result file (wireless-info.txt) is large, you could paste via pastebin

sorry for sounding ridiculous, but this was referenced over two years ago, and is of lower integrity.

Apologies for the delay in reply I managed to fix the issue using the following solution:

https://codarren.com/2018/04/tp-link-archer-t4u-2-4-5ghz-ubuntu-debian-setup/