# Wifi TP-Link Archer T3U Does not work

**URL:** https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515
**Category:** Troubleshooting
**Created:** [13 April 2022 16:08 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515 "2022-04-13T16:08:49Z")
**Posts on this page:** 16
**Page:** 2

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [12 June 2023 14:38 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/21 "2023-06-12T14:38:39Z")

</div>

I haven’t upgraded the kernel, at least not that I know of. And yes i did reboot. I think i updated dietpi when i was “told” to. Maybe i shouldn’t have due to it still mentioned beta?  
Would reinstalling be the best option and retry? It looks like it’s not finding the proper headers. Also on the driver github site it says "Note : On a Raspberry Pi board, you must specify `ARCH=arm64` :

make ARCH=arm64 && sudo make install  
sudo modprobe 88x2bu"

I took a look at the make file as i thought that would be the only place to look for a line like mentioned above but couldn’t find anything useful nor wasn’t i sure where to put it.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 June 2023 15:50 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/22 "2023-06-12T15:50:15Z")

</div>

Maybe you can share some more information on , your system

#### Required

- DietPi version | `cat /boot/dietpi/.version`
- Distro version | `echo $G_DISTRO_NAME $G_RASPBIAN`
- Kernel version | `uname -a`
- Architecture | `dpkg --print-architecture`
- SBC model | `echo $G_HW_MODEL_NAME` or (EG: RPi3)

---

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [12 June 2023 18:21 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/23 "2023-06-12T18:21:47Z")

</div>

Sure. Sorry i haven’t done so yet. I just thought this would be easier to resolve. 🙂 Here goes:

‘cat /boot/dietpi/.version’ outputs:

G\_DIETPI\_VERSION\_CORE=8  
G\_DIETPI\_VERSION\_SUB=18  
G\_DIETPI\_VERSION\_RC=2  
G\_GITBRANCH=‘master’  
G\_GITOWNER=‘MichaIng’

* * *

‘echo $G\_DISTRO\_NAME $G\_RASPBIAN’ outputs:

bullseye 1

* * *

‘uname -a’ outputs:

Linux DietPi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux

* * *

`dpkg --print-architecture`:  
armhf

* * *

echo $G\_HW\_MODEL\_NAME  
RPi B+ (armv6l)

* * *

regards and tx for your time!

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 June 2023 18:34 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/24 "2023-06-12T18:34:27Z")

</div>

Well your system is plain 32bit but you complied driver for 64bit

> [@boxemall](#):
>
> RPi B+ (armv6l)

VS

> [@boxemall](#):
>
> make ARCH=arm64

---

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [12 June 2023 19:08 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/25 "2023-06-12T19:08:10Z")

</div>

Oh,

It looks like i did. You’ve definitely found an error there so thanks for that. But as i said that line had no effect as i was never able to use it. I didn’t know where to put it/execute it in the first place. But now that you said it, it should probably go like 'make ARCH=arm32"?

I read that on the driver’s github where it stated that line has to be added on raspberry boards. The question is where? I’m sadly not that savvy.  
Without me knowing I’d take a rough guess it belongs into the makefile? If so where? Beginning, end or doesn’t matter?

Ty

---

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [13 June 2023 06:44 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/26 "2023-06-13T06:44:12Z")

</div>

> [@boxemall](#):
>
> you said it, it should probably go like 'make ARCH=arm32"?

Since the RPi 2 v1.1 has an ARMv7 chip, it should be only `ARCH=arm`

ARMv6 should be `armhf` and v8 `arm64`.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [13 June 2023 12:35 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/27 "2023-06-13T12:35:55Z")

</div>

probably as well you can ask on drivers Github repository on the way to build drivers correctly on ARMv6 systems.

---

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [14 June 2023 10:01 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/28 "2023-06-14T10:01:58Z")

</div>

I’ve tried reaching out, but no answer so far.

---

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [18 June 2023 07:30 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/29 "2023-06-18T07:30:52Z")

</div>

@MichaIng @Joulinar

i haven’t gotten a response so far but trying to compile it like this, gives me an error:

```auto
root@DietPi:~/rtl88x2bu# make ARCH=armv6l
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/6.1.21+/build M=/root/rtl88x2bu modules
make[1]: *** /lib/modules/6.1.21+/build: No such file or directory. Stop.
make: *** [Makefile:2392: modules] Error 2

```

1: what i wonder is why does it output “CROSS\_COMPILE”? as i haven’t invoked it. i chekced the makefile and there’s some code that seemingly checks for architecture but i was hoping for it not being necessary since i want to compile on the pi itself.  
2: the output ‘/lib/modules/6.1.21+/build: No such file or directory.’ looks like i’m missing some files?  
i checked ‘/usr/lib/modules/6.1.21+’ and the folder contains various files (i guess kernel headers/sources?) but no ‘build’ directory. do i need to create it manually?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [18 June 2023 12:31 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/30 "2023-06-18T12:31:34Z")

</div>

How does it behave if you run `make` command only without specifying the architecture?

---

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [18 June 2023 13:21 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/31 "2023-06-18T13:21:04Z")

</div>

running only ‘make’ throws:

```auto
root@DietPi:~/rtl88x2bu# make
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/6.1.21+/build M=/root/rtl88x2bu modules
make[1]: Entering directory '/usr/lib/modules/6.1.21+/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/usr/lib/modules/6.1.21+/build'
make: *** [Makefile:2392: modules] Error 2

```

at least it shows armv6I now, which should be correct for a 32bit system.  
still wondering bout the cross compile command there. i don’t want it to CC as it should run on the pi itself anyway.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [19 June 2023 06:24 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/32 "2023-06-19T06:24:48Z")

</div>

Looks like the build script is not supporting `armv6I` ??

---

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [19 June 2023 15:38 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/33 "2023-06-19T15:38:20Z")

</div>

i searched the makefile and indeed i couldn’t find any reference to “armhf” or “arm6I”. i found arm64 but that wouldn’t help me. is there a way to edit the file so it compiles. i dunno how to work on makefiles at all…

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [20 June 2023 08:58 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/34 "2023-06-20T08:58:41Z")

</div>

I am not sure if we can help here. I guess the script developer must have an answer if he supports armv6l.

Another test you could do is to install the original RPi OS on a spare SD card. That way you could check how it behaves without our DietPi modification.

---

<div class="post-metadata">

### Author: ![boxemall](https://dietpi.com/forum/user_avatar/dietpi.com/boxemall/32/4029_2.png) [@boxemall](https://dietpi.com/forum/u/boxemall)
#### Post date: [20 June 2023 16:52 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/35 "2023-06-20T16:52:12Z")

</div>

Will do when i get the time, but probably not before the weekend. I found a fork of said driver and dropped a line at github. Seems the other project is more active. In any case I’ll let you know how it goes. Regards

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [6 July 2023 19:17 UTC](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515/36 "2023-07-06T19:17:43Z")

</div>

Did you follow these steps? [GitHub - cilynx/rtl88x2bu: rtl88x2bu driver updated for current kernels.](https://github.com/cilynx/rtl88x2bu#raspberry-pi-access-point)

```sh
# Update all packages per normal
sudo apt update
sudo apt upgrade

# Install prereqs
sudo apt install git dnsmasq hostapd bc build-essential dkms raspberrypi-kernel-headers

# Reboot just in case there were any kernel updates
sudo reboot

# Pull down the driver source
git clone https://github.com/cilynx/rtl88x2bu
cd rtl88x2bu/

# Configure for RasPi
sed -i 's/I386_PC = y/I386_PC = n/' Makefile
sed -i 's/ARM_RPI = n/ARM_RPI = y/' Makefile

# DKMS as above
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER} # Takes ~3-minutes on a 3B+
sudo dkms install -m rtl88x2bu -v ${VER}

# Plug in your adapter then confirm your new interface name
ip a

```

The two `sed`’s to disable the i386 and enable RPi build are essential. This installs it via DMKS, so any kernel upgrade should imply an automatic rebuild of this driver.

[Previous page](https://dietpi.com/forum/t/wifi-tp-link-archer-t3u-does-not-work/6515.md?page=1)
