Did actually anyone managed to setup Wifi RTL8812AU with kernel 5.3.7-301 ? i am struggling with cables and really need to use wifi and make it work, can someone advise me to which kernel version i should downgrade so i can make wifi work please?
$ nmcli radio wifi
enabled
$ lsusb
Bus 002 Device 003: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
$ uname -a
Linux localhost.localdomain 5.3.7-301.fc31.x86_64 #1 SMP Mon Oct 21 19:18:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
sudo dnf install dkms kernel-devel kernel-headers git make
2019-07-11: Updated to compile against kernel 5.2 check GIT for updates
Download
Realtek’s 8812AU driver files are on the internet, hosted via GitHub.
git clone https://github.com/gnab/rtl8812au.git /usr/src/8812au-4.2.2/
cd /usr/src/8812au-4.2.2/
make
cp 8812au.ko /lib/modules/5.3.7-301.fc31.x86_64/kernel/drivers/net/wireless
sudo insmod 8812au.ko
sudo depmod -a
sudo modprobe 8812au
note: change the kernel with the output of this command uname -r → 5.3.7-301.fc31.x86_64
NOTE: you have to do this on every kernel update…
or VIA
DKMS setup
DKMS (Dynamic Kernel Module Support) is a framework for the Linux kernel that allows third-party Linux kernel modules (like this WiFi driver) to be automatically re-installed every time the Linux kernel receives a new update.
[aris@localhost 8812au-4.2.2]$ sudo dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r)
Last metadata expiration check: 0:30:07 ago on Wed 01 Jan 2020 02:54:20 PM CET.
Package kernel-devel-5.3.7-301.fc31.x86_64 is already installed.
No match for argument: kernel-headers-5.3.7-301.fc31.x86_64
**Error: Unable to find a match: kernel-headers-5.3.7-301.fc31.x86_64**
[aris@localhost 8812au-4.2.2]$
unfortunately after the reboot, wifi is still disabled on the connections list
[aris@localhost 8812au-4.2.2]$ nmcli radio wifi
enabled
[aris@localhost 8812au-4.2.2]$ uname -a
Linux localhost.localdomain 5.3.7-301.fc31.x86_64 #1 SMP Mon Oct 21 19:18:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[aris@localhost 8812au-4.2.2]$ echo 8812au | sudo tee -a /etc/modules
8812au
aris@localhost ~]$ echo 8812au | sudo tee -a /etc/modules
8812au
[aris@localhost ~]$ sudo insmod 8812au.ko
insmod: ERROR: could not load module 8812au.ko: No such file or directory
[aris@localhost ~]$ cd /usr/src/8812au-4.2.2/
[aris@localhost 8812au-4.2.2]$ sudo insmod 8812au.ko
[aris@localhost 8812au-4.2.2]$ sudo depmod -a
[aris@localhost 8812au-4.2.2]$ sudo modprobe 8812au
[aris@localhost 8812au-4.2.2]$ echo 8812au | sudo tee -a /etc/modules
8812au
[aris@localhost 8812au-4.2.2]$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0a5c:21ec Broadcom Corp. BCM20702A0
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[
[aris@localhost 8812au-4.2.2]$ lsmod
Module Size Used by
8812au 1056768 0
rfcomm 90112 16
nf_conntrack_netbios_ns 16384 1
nf_conntrack_broadcast 16384 1 nf_conntrack_netbios_ns
xt_CT 16384 1
ip6t_REJECT 16384 11
nf_reject_ipv6 20480 1 ip6t_REJECT
ip6t_rpfilter 16384 1