I recently upgraded Ubuntu from kernel 5.0.0-37 to 5.3.0-26 (x86_64). It seems coincident with this upgrade, my wifi USB dongle stopped working (Archer T4U). It normally has some flashing lights on the side, but they are now all unlit. I did boot into Windows to verify it is still functional, which it is. Here's the steps I did to attempt to get it operational again (I still have wired connectivity):
$sudo apt remove rtl8812au-dkms
$sudo apt install rtl8812au-dkms
Next, I check that I can see the USB dongle, and get the following output:
$cat /var/lib/usbutils/usb.ids | grep "Archer T4U"
0101 RTL8812AU Archer T4U 802.11ac
0103 Archer T4UH wireless Realtek 8812AU
Good so far. Next, I check that it's part of my network:
$sudo lshw -C network
*-network
description: Ethernet interface
product: 82567LM-3 Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth2
version: 02
serial: b8:ac:6f:1d:64:14
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.4-3 ip=192.168.0.40 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:32 memory:f7fe0000-f7ffffff memory:f7fd9000-f7fd9fff ioport:ece0(size=32)
This shows my wired connection, but not the wifi USB. All the help I research on this makes the assumption that the system can see the wifi when this command is issued.
I check to verify it's in the USB id list:
$cat /var/lib/usbutils/usb.ids | grep 'Archer T4U'
0101 RTL8812AU Archer T4U 802.11ac
0103 Archer T4UH wireless Realtek 8812AU
That's okay. Next I check that the wifi module is installed:
$sudo lsmod | grep 8812au
8812au 1290240 0
cfg80211 704512 1 8812au
Yes, it is. Okay, let me try to activate the module:
$sudo modprobe 8812au
$echo $?
0
It seems it activated okay. Now I run iwconfig:
$iwconfig
lo no wireless extensions.
eth2 no wireless extensions.
As with the previous lshw command, it doesn't see the wifi dongle as part of the network. I've tried rerunning these steps multiple times, which have always worked before, and have rebooted several times, all to no avail. I'm at a loss for how to get this working.
apt source rtl8812au-dkms
or even https://github.com/gnab/rtl8812au. These USB wifi dongles can be tricky with kernel upgrades. – Stephen Boston Jan 24 '20 at 09:18