I bought this USB wifi dongle [1] and I tried to install it on my Kubuntu 20.04 (Kubuntu 18.04 LTS upgraded recently to 20.04)
$lsusb
...
Bus 005 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
...
I followed
this french tutorial
[2] that says that everything is in the repositories
So I installed rtl8812au-dkms package, it worked.
Then I did sudo modprobe rtl8812au and it also worked.
But, using ifconfig and iwconfig still gives me the same result than before: my ethernet interface, my loopback interface and my PCI wifi interface.
The GUI in Kubuntu does not add me any new interface.
So, as advised in the french tutorial, I followed instruction "in case if another method does not work", which is to compile the driver :
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
make
sudo make install
sudo modprobe rtl8812au
Everything again went fine, but still no new interface.
Have I done something wrong? have I missed something? Any help appreciated :-)
ACCEPTED]
OP is using Linux 5.4 and there are several
similar bug
reports
[1]
from Linux 5.x users. The solution is to use code from kernel-5.3
branch from this fork
https://github.com/jskovjyskebankdk/rtl8812AU_8821AU_linux:
$ git clone github.com/jskovjyskebankdk/rtl8812AU_8821AU_linux && cd rtl8812AU_8821AU_linux
$ git checkout kernel-5.3
Unload previously loaded non-functioning rtl8812au:
$ sudo rmmod rtl8812au
Build a new driver and load it again:
$ make -j$(nproc)
$ sudo insmod ./rtl8812au.ko
[1] https://github.com/abperiasamy/rtl8812AU_8821AU_linux/issues/317
modprobedoesn't fail and post output ofdmesgafter running it. - Arkadiusz Drabczykmodprobedoes fail now, saying "ERROR: could not insert 'rtl8812au': Device or resource busy".dmesgconfirms that: "Error: Driver 'rtl8812au' is already registered, aborting..." - A. Ocannailleinsmod ./rtl8812au.ko(not modprobe) and post output ofdmesg. - Arkadiusz Drabczykinsmod, butinsmodstill have$?=0. Here is the dmesg output - A. Ocannailleuname -rshow on your system? - Arkadiusz Drabczykuname -rgives5.4.0-21-generic- A. Ocannaillegit checkout kernel-5.3, unload driver, build it, load it again. - Arkadiusz Drabczyk