Archer TP-link AC600 T2U not working on NanoPi Neo (armv7)

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | 9.8
  • Distro version | bullseye
  • Kernel version | Linux DietPi 6.6.44-current-sunxi #1 SMP Sat Aug 3 06:54:42 UTC 2024 armv7l GNU/Linux
  • Architecture | armhf
  • SBC model | NanoPi NEO (armv7l)

Steps to reproduce

  1. Plugin Archer TP-link AC600 T2U Nano
  2. Try to configure inside dietpi-config
  3. No WiFi SSID found in area

Expected behaviour

  • Find and connect to available SSIDs

Actual behaviour

  • Can’t find any network

Extra details

sudo dkms status
8812au, 5.6.4.2_35491.20191025, 6.6.44-current-sunxi, armv7l: installed (WARNING! Diff between built and installed module!)

Any idea, how i can fix this problem?

Thanks in advance!

From the TP website:
Betriebssystem: Linux (kernel 2.6.18~5.0)
You are on kernel 6.6
In the thread you linked the user is on kernel 5.1, so he could use the official driver. But for kernel 6 TP-Link is not providing any driver. Also in the other thread the user is using the non-NANO version of the stick.

In your dkms output it says 8812au, but the archer AC600 t2u NANO v3 is usign 8811AU chipset.
So do you have the V3 of this stick?
Can you check with lsusb what chipset your stick is using?

Depending on that we will see what we can do.

Here is the output for lsusb:

Bus 008 Device 002: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]

Alright, it’s the RTL8811AU chipset.
I found this on github, tested with Debian, kernels 5.10, 5.15, 6.1 and 6.6)

So first delete the wrong one:

sudo dkms remove 8812au/5.6.4.2_35491.20191025 --all

Then just follow installation instructions, you need to compile from source:
https://github.com/morrownr/8821au-20210708?tab=readme-ov-file#installation-steps
I’m not sure what kernel-headers you need on your NanoPi Neo, but I think this should do it:

sudo apt install linux-headers-$(uname -r)

Thanks for the link. I tried it and I still can’t find any network, when trying to connect through dietpi-config

sudo dkms status shows this:

root@DietPi:~# sudo dkms status
rtl8821au, 5.12.5.2, 6.6.44-current-sunxi, armv7l: installed

How did you setup the adapter?

Can you show the output of

lsmod | grep 8821
ip link show
sudo dmesg | grep 8821

Hey, sorry for the delay. Here is the output:

root@DietPi:~# lsmod | grep 8821
8821au               1617920  0
cfg80211              606208  2 8821au,88XXau
root@DietPi:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 02:81:9d:3d:79:a2 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2312 qdisc mq state DORMANT mode DORMANT group default qlen 1000
    link/ether 30:de:4b:e1:02:03 brd ff:ff:ff:ff:ff:ff
root@DietPi:~# sudo dmesg | grep 8821
[   15.013517] 8821au: loading out-of-tree module taints kernel.
[   15.042925] usbcore: registered new interface driver rtl8821au
[   15.882166] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[   20.151343] Modules linked in: 8821au(O) 88XXau cfg80211 lima rfkill gpu_sched drm_shmem_helper sun8i_thermal sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev videobuf2_common mc evdev uio_pdrv_genirq uio cpufreq_dt ip_tables x_tables autofs4 sunxi phy_generic gpio_keys ac200_phy