[RTL8821AU] Archer T2U PLUS Wifi

Good morning, after a re-install of Garuda I am unable to use my wi-fi adapter.
I have spent days scrolling and tried many of the listed drivers and while my system recognizes the usb and has a driver I am still unable to use this device.
I will post relevant info, please let me know if I can provide anything further.
Has anyone had experience getting this working?

garuda-inxi

System:
Kernel: 6.8.9-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=fbd21df3-1201-42be-8443-69125f954c6f rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.2.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: N/A v: N/A
serial: <superuser required> Chassis: type: 3 serial: <superuser required>
Mobo: Gigabyte model: F2A88XN-WIFI v: x.x serial: <superuser required>
uuid: <superuser required> UEFI: American Megatrends v: F2 date: 12/16/2013
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD A10-7850K APU with Radeon R7 Graphics bits: 64 type: MT MCP
arch: Steamroller level: v2 built: 2014 process: GF 28nm family: 0x15 (21)
model-id: 0x30 (48) stepping: 1 microcode: 0x6003103
Topology: cpus: 1x cores: 4 smt: enabled cache: L1: 256 KiB
desc: d-4x16 KiB; i-2x96 KiB L2: 4 MiB desc: 2x2 MiB
Speed (MHz): avg: 3451 high: 3700 min/max: 1700/3700 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3700 2: 2706
3: 3700 4: 3700 bogomips: 29548
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Kaveri [Radeon R7 Graphics] driver: radeon v: kernel
alternate: amdgpu arch: GCN-2 code: Sea Islands process: GF/TSMC 16-28nm
built: 2013-17 ports: active: none empty: DVI-D-1,HDMI-A-1,HDMI-A-2
bus-ID: 00:01.0 chip-ID: 1002:130f class-ID: 0300
Device-2: NVIDIA GM107GL [Quadro K1200] driver: nouveau v: kernel
non-free: 545.xx+ status: current (as of 2024-04; EOL~2026-12-xx)
arch: Maxwell code: GMxxx process: TSMC 28nm built: 2014-2019 pcie: gen: 1
speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
active: DP-1 empty: DP-2,DP-3,DP-4 bus-ID: 01:00.0 chip-ID: 10de:13bc
class-ID: 0300 temp: 49.0 C
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_wayland driver: X: loaded: nouveau,radeon
unloaded: modesetting alternate: fbdev,nv,vesa dri: nouveau,radeonsi
gpu: radeon,nouveau display-ID: 0
Monitor-1: DP-1 res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia nouveau drv: amd radeonsi platforms:
device: 0 drv: radeonsi device: 1 drv: nouveau device: 2 drv: swrast gbm:
drv: nouveau surfaceless: drv: radeonsi wayland: drv: nouveau x11:
drv: nouveau
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.0.7-arch1.3 glx-v: 1.4
direct-render: yes renderer: NV117 device-ID: 10de:13bc memory: 3.9 GiB
unified: no display-ID: :1.0
API: Vulkan v: 1.3.279 layers: 13 device: 0 type: cpu name: llvmpipe
(LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.7-arch1.3 (LLVM
17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
Device-1: AMD Kaveri HDMI/DP Audio driver: snd_hda_intel v: kernel
bus-ID: 00:01.1 chip-ID: 1002:1308 class-ID: 0403
Device-2: AMD FCH Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel
bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
Device-3: NVIDIA GM107 High Definition Audio [GeForce 940MX]
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:0fbc
class-ID: 0403
API: ALSA v: k6.8.9-zen1-2-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.6 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:08b1 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Device-3: Microsoft Xbox Wireless Adapter for Windows driver: xone-dongle
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:2
chip-ID: 045e:02e6 class-ID: 0000 serial: <filter>
Device-4: TP-Link Archer T2U PLUS [RTL8821AU] driver: rtl88XXau type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 6-2:2 chip-ID: 2357:0120
class-ID: 0000 serial: <filter>
IF: wlp0s16f0u2 state: dormant mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 4-3:2 chip-ID: 8087:07dc
class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled
rfk-block: hardware: no software: yes address: see --recommends
Drives:
Local Storage: total: 1.36 TiB used: 62.81 GiB (4.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10EZEX-60WN4A0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1A01 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 3B6Q scheme: GPT
Partition:
ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 62.81 GiB (13.5%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 62.81 GiB (13.5%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 62.81 GiB (13.5%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
used: 62.81 GiB (13.5%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 14.57 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 21.9 C mobo: N/A
Fan Speeds (rpm): N/A
GPU: device: nouveau temp: 49.0 C fan: 4380 mV: 912.00 device: radeon
temp: 21.0 C
Info:
Memory: total: 16 GiB note: est. available: 14.57 GiB used: 2.24 GiB (15.3%)
Processes: 224 Power: uptime: 2m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 5.79 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1967 libs: 574 tools: octopi,paru Compilers:
clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi default: Bash v: 5.2.26
running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
System install date:     2024-05-04
Last full system update: 2024-05-15
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 045e:02e6 Microsoft Corp. Xbox Wireless Adapter for Windows
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c534 Logitech, Inc. Nano Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 004 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

lsusb -t

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/5p, 480M
|__ Port 001: Dev 002, If 0, Class=Vendor Specific Class, Driver=xone-dongle, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/5p, 12M
|__ Port 003: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 003: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/5p, 480M
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/5p, 12M
|__ Port 003: Dev 002, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 003: Dev 002, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 005: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 005: Dev 003, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 005: Dev 003, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
|__ Port 002: Dev 002, If 0, Class=Vendor Specific Class, Driver=rtl88XXau, 480M
/:  Bus 007.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 008.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 009.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 5000M

DKMS Status

rtl88xxau/r1298.b44d288, 6.8.9-zen1-2-zen, x86_64: installed
xone-v0.3-57/g29ec357, 6.8.9-zen1-2-zen, x86_64: installed

If you can remember, please list the drivers you have tested so far. Also give the source of the driver and how exactly the driver was installed, (Pacman, git clone, dkms install).

When I have more free time I will try to assist you further.

1 Like

I’ve tried these

https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git

and I believe the one I have right now is from pacman: rtl88xxau-aircrack-dkms-git

There are quite a few others but these are the only ones i’ve bookmarked to pull up.

1 Like

Often it will be a change in the kernel that breaks the realtek wifi drivers. Sometimes it’s a bit of a juggling act to find a combo of kernel and realtek driver that will work together.

I’d suggest testing at least the following kernels with the different realtek wifi drivers:

linux-lts 
linux
linux-hardened
linux-mainline

Your inxi output lists the intel 7260 as your current wifi. Is this onboard or an add in card?

1 Like

I’m on lts but unfortunately it’s not working and has none for driver listed.
I will try another shortly. Another thing i’ve noticed is that the wifi scan doesn’t seem to work on any kernel.
For whatever reason my wifi always shows up but every once in a while it scans and sees more networks but for the most part it only shows mine which is saved.

on both lts and hardened I have the same results.
I get this error installing the aircrack version:
==> ERROR: Missing 6.8.9-arch1-2 kernel modules tree for module rtl88xxau/r1298.b44d288.
under lsusb -t I see:
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/5p, 480M
|__ Port 001: Dev 002, If 0, Class=Vendor Specific Class, Driver=[none], 480M
|__ Port 002: Dev 003, If 0, Class=Vendor Specific Class, Driver=[none], 480M

You likely need to install the headers package for the kernel in use.

Example:

sudo pacman -Syu linux-lts linux-lts-headers
sudo pacman -Syu linux linux-headers
sudo pacman -Syu linux-mainline linux-mainline-headers
sudo pacman -Syu linux-cacule linux-cacule-headers
sudo pacman -Syu linux-xanmod linux-xanmod-headers
sudo pacman -Syu linux-hardened linux-hardened-headers

2 Likes

Try disabling MAC address randomization, then reboot your router and computer.

1 Like

I am on linux-hardened with headers installed and I am now seeing the driver attached:

Port 002: Dev 003, If 0, Class=Vendor Specific Class, Driver=rtl8821au, 480M

This is the first time i’ve seen the adapter show any lights so a step in the right direction. I am also now seeing all nearby networks.

However this is still not a device listed in the Network Settings ‘restrict to device’ and when i check Garuda Network Assistant I see an entry under Hardware detected of ‘Realtek Semiconductor Co. Ltd. RTL8111/8186/8211/8411…’ under associated linux drivers it is entirely blank.

I will disable MAC randomization now and test.

This is your Ethernet connection.


I just noticed your wifi is listed as dormant in your `garuda-inxi output. Follow my directions below to hopefully correct this.

Copy/paste and run the following commands:

nmcli networking off
sleep 1
sudo systemctl stop NetworkManager
sleep 1
sudo ip link set wlp0s16f0u2 down
sleep 1
sudo modprobe -rv rtl88XXau
sleep 3
sudo modprobe -v rtl88XXau
sleep 1
sudo ip link set wlp0s16f0u2 mode default
sleep 1
sudo ip link set wlp0s16f0u2 up
sleep 1
sudo systemctl start NetworkManager
sleep 1
sudo nmcli networking on
sleep 1
nmcli r wifi off
sleep 1
nmcli r wifi on

You may need to change rtl88XXau in the above script if your driver is different.

You may need to change wlp0s16f0u2 in the script if your WiFi’s designation is different.

This information can be found in your garuda-inxi network section,

1 Like

Answer please.

1 Like

onboard. Sorry working on the previous post.

rtl88XXau does show up in garuda-inxi but it is not a module when i attempt to run modprove -rv. I hit tab and checked the list and it’s not in the list.

╰─λ sudo modprobe -rv rtl88xxau
modprobe: FATAL: Module rtl88xxau not found.
dkms status
rtl88xxau/r1294.63cf0b4, 6.8.9-zen1-1-zen, x86_64: installed
xone/v0.3-57-g29ec357, 6.8.9-zen1-1-zen, x86_64: installed
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/5p, 480M
|__ Port 001: Dev 002, If 0, Class=Vendor Specific Class, Driver=[none], 480M
|__ Port 002: Dev 003, If 0, Class=Vendor Specific Class, Driver=rtl88XXau, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/5p, 12M
|__ Port 003: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 003: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/5p, 480M
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/5p, 12M
|__ Port 003: Dev 002, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 003: Dev 002, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 005: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 005: Dev 003, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 005: Dev 003, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 007.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 008.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 009.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 5000M

I have to step away for a bit but I will be back. Thank you for the assistance so far.

1 Like

Please post:

lsmod | sort 
1 Like

output results:

88XXau               2281472  0
acpi_cpufreq           32768  0
aesni_intel           364544  0
amdgpu              14295040  0
amdxcp                 12288  1 amdgpu
ata_generic            12288  0
blake2b_generic        24576  0
bluetooth            1159168  6 btrtl,btmtk,btintel,btbcm,btusb
btbcm                  24576  1 btusb
btintel                61440  1 btusb
btmtk                  12288  1 btusb
btrfs                2195456  1
btrtl                  32768  1 btusb
btusb                  86016  0
ccp                   172032  1 kvm_amd
cec                   106496  1 drm_display_helper
cfg80211             1384448  5 xone_dongle,iwlmvm,iwlwifi,mac80211,88XXau
crc16                  12288  1 bluetooth
crc32c_generic         12288  0
crc32c_intel           16384  2
crc32_pclmul           12288  0
crct10dif_pclmul       12288  1
cryptd                 32768  2 crypto_simd,ghash_clmulni_intel
crypto_simd            16384  1 aesni_intel
crypto_user            16384  0
dm_mod                233472  0
drm_buddy              20480  1 amdgpu
drm_display_helper    253952  3 amdgpu,radeon,nouveau
drm_exec               12288  3 drm_gpuvm,amdgpu,nouveau
drm_gpuvm              45056  1 nouveau
drm_suballoc_helper    12288  2 amdgpu,radeon
drm_ttm_helper         12288  3 amdgpu,radeon,nouveau
ecdh_generic           16384  2 xone_gip,bluetooth
fam15h_power           12288  0
fat                   106496  1 vfat
gf128mul               20480  1 polyval_generic
ghash_clmulni_intel    16384  0
gpu_sched              69632  2 amdgpu,nouveau
hid_generic            12288  0
hid_logitech_dj        40960  0
hid_logitech_hidpp     73728  0
i2c_algo_bit           24576  3 amdgpu,radeon,nouveau
i2c_dev                28672  0
i2c_piix4              36864  0
ip_tables              36864  0
irqbypass              12288  1 kvm
iwlmvm                765952  0
iwlwifi               610304  1 iwlmvm
joydev                 24576  0
k10temp                16384  0
kvm                  1462272  1 kvm_amd
kvm_amd               208896  0
libarc4                12288  1 mac80211
libcrc32c              12288  4 nf_conntrack,nf_nat,btrfs,nf_tables
libphy                245760  3 r8169,mdio_devres,realtek
loop                   36864  0
mac80211             1671168  1 iwlmvm
mac_hid                12288  0
mdio_devres            12288  1 r8169
Module                  Size  Used by
mousedev               24576  0
mxm_wmi                12288  1 nouveau
nf_conntrack          221184  2 nf_nat,nft_ct
nf_defrag_ipv4         12288  1 nf_conntrack
nf_defrag_ipv6         24576  1 nf_conntrack
nf_nat                 69632  1 nft_chain_nat
nfnetlink              20480  3 nf_tables
nf_reject_ipv4         16384  1 nft_reject_inet
nf_reject_ipv6         24576  1 nft_reject_inet
nf_tables             401408  373 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nft_chain_nat          12288  3
nft_ct                 28672  7
nft_fib                12288  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_fib_inet           12288  1
nft_fib_ipv4           12288  1 nft_fib_inet
nft_fib_ipv6           12288  1 nft_fib_inet
nft_reject             12288  1 nft_reject_inet
nft_reject_inet        12288  16
nouveau              3805184  46
pata_acpi              12288  0
pata_atiixp            12288  0
polyval_clmulni        12288  0
polyval_generic        12288  1 polyval_clmulni
pps_core               32768  1 ptp
ptp                    45056  1 iwlmvm
qrtr                   57344  4
r8169                 135168  0
radeon               2179072  1
raid6_pq              122880  1 btrfs
realtek                40960  1
rfkill                 40960  7 iwlmvm,bluetooth,cfg80211
sha1_ssse3             32768  0
sha256_ssse3           40960  0
sha512_ssse3           53248  0
snd                   167936  18 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
snd_hda_codec         237568  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic   131072  1 snd_hda_codec_realtek
snd_hda_codec_hdmi    102400  2
snd_hda_codec_realtek   217088  1
snd_hda_core          159744  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel          65536  3
snd_hrtimer            12288  1
snd_hwdep              20480  1 snd_hda_codec
snd_intel_dspcfg       40960  1 snd_hda_intel
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_pcm               225280  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq               135168  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_seq_dummy          12288  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
soundcore              16384  1 snd
sp5100_tco             20480  0
ttm                   114688  4 amdgpu,radeon,drm_ttm_helper,nouveau
uinput                 24576  2
usbhid                 86016  2 hid_logitech_dj,hid_logitech_hidpp
vfat                   20480  1
video                  77824  3 amdgpu,radeon,nouveau
wmi                    36864  3 video,mxm_wmi,nouveau
xhci_pci               24576  0
xhci_pci_renesas       24576  1 xhci_pci
xone_dongle            61440  0
xone_gip               73728  1 xone_dongle
xor                    20480  1 btrfs
x_tables               69632  1 ip_tables
zram                   45056  2

There’s the correct driver name of the current driver you are using…

Run:

nmcli networking off
sleep 1
sudo systemctl stop NetworkManager
sleep 1
sudo ip link set wlp0s16f0u2 down
sleep 1
sudo modprobe -rv iwlwifi
sudo modprobe -rv 88XXau
sleep 3
sudo modprobe -v 88XXau
sleep 1
sudo ip link set wlp0s16f0u2 mode default
sleep 1
sudo ip link set wlp0s16f0u2 up
sleep 1
sudo systemctl start NetworkManager
sleep 1
sudo nmcli networking on
sleep 1
nmcli r wifi off
sleep 1
nmcli r wifi on

Please post full input/output.

Edit:

Added unloading of Intel wifi driver.

Simply restart to cancel any changes.

Searching the forum reveals that the Realtek rtl8821au WiFi adapter can have issues detecting 5GHz access points. The most common solution to this problem is to lower the channels on the 5 GHz band to 40 or below in your router settings. Hopefully, this will allow your adapter to be able to fully detect the available 5 GHz access points.

As do I.

1 Like

Good morning, does it changeanything that i’m using the 2.4GHZ? I have the 5 disabled. It’s more of an issue with the adapter not being an option under network connections.

My prior install it just worked without me having to install anything, under the drop down menu of restrict to device it had an entry for rtl8821au and i could select that so it didn’t use the garbage onboard wifi.

I ran the above commands and the only issue I had was:

─λ sudo ip link set wlp0s16f0u2 down
Cannot find device “wlp0s16f0u2”

Unfortunately no change.

I also have an ASUS usb-ac56 old dongle i tried and it seems to be the same issue.

Please post inxi -n

Got the driver re-installed

Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: 74:d4:35:11:c3:2d
Device-2: Intel Wireless 7260 driver: iwlwifi
IF: wlp4s0 state: down mac: 0c:8b:fd:50:f2:cb
Device-3: Microsoft Xbox Wireless Adapter for Windows driver: N/A
type: USB
Device-4: TP-Link Archer T2U PLUS [RTL8821AU] driver: rtl88XXau type: USB
IF: wlp0s16f0u2 state: dormant mac: 96:d7:57:a1:ef:02