Hi @morrownr
I want make a travel AP from one RPI4 with the built wifi + Archer T2U PLUS. Kerlen headers are ok, system is updated, BUT the build fail.
Please, help to solve thi issue:
System:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 25.10
Release: 25.10
Codename: questing
Kernel
name -a
Linux raspiap 6.17.0-1006-raspi #6-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 21 04:47:39 UTC 2025 aarch64 GNU/Linux
USB WIFI:
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 003: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 174c:0825 ASMedia Technology Inc. X825
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
./install-driver.sh
: ---------------------------
: install-driver.sh v20241003
: aarch64 (kernel architecture)
: arm64 (architecture to send to gcc)
: 4/4 (in-use/total processing units)
: 1880148 (total system memory)
: 6.17.0-1006-raspi (kernel version)
: gcc (version of gcc used to compile the kernel)
: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
: dkms-3.2.0
: This system doesn't support Secure Boot
: ---------------------------
Checking for previously installed drivers...
Finished checking for and uninstalling previously installed drivers.
: ---------------------------
Starting installation.
Copying 8821au.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl8821au-5.12.5.2
Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source -> /usr/src/rtl8821au-5.12.5.2
The driver was added to dkms successfully.
: ---------------------------
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module(s)....(bad exit status: 2)
Failed command:
kernelver=6.17.0-1006-raspi ./dkms-make.sh
ERROR (dkms apport): binary package for rtl8821au: 5.12.5.2 not found
Error! Bad return status for module build on kernel: 6.17.0-1006-raspi (aarch64)
Consult /var/lib/dkms/rtl8821au/5.12.5.2/build/make.log for more information.
Command exited with non-zero status 10
Compile time: 3.17 seconds
An error occurred. dkms build error: 10
Please report this error.
Please copy all screen output and paste it into the problem report.
Run the following before reattempting installation.
Thanks
Hi @morrownr
I want make a travel AP from one RPI4 with the built wifi + Archer T2U PLUS. Kerlen headers are ok, system is updated, BUT the build fail.
Please, help to solve thi issue:
System:
lsb_release -aNo LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 25.10
Release: 25.10
Codename: questing
Kernel
name -aLinux raspiap 6.17.0-1006-raspi #6-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 21 04:47:39 UTC 2025 aarch64 GNU/Linux
USB WIFI:
lsusbBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 003: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 174c:0825 ASMedia Technology Inc. X825
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
./install-driver.sh: ---------------------------
: install-driver.sh v20241003
: aarch64 (kernel architecture)
: arm64 (architecture to send to gcc)
: 4/4 (in-use/total processing units)
: 1880148 (total system memory)
: 6.17.0-1006-raspi (kernel version)
: gcc (version of gcc used to compile the kernel)
: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
: dkms-3.2.0
: This system doesn't support Secure Boot
: ---------------------------
Checking for previously installed drivers...
Finished checking for and uninstalling previously installed drivers.
: ---------------------------
Starting installation.
Copying 8821au.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl8821au-5.12.5.2
Creating symlink /var/lib/dkms/rtl8821au/5.12.5.2/source -> /usr/src/rtl8821au-5.12.5.2
The driver was added to dkms successfully.
: ---------------------------
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module(s)....(bad exit status: 2)
Failed command:
kernelver=6.17.0-1006-raspi ./dkms-make.sh
ERROR (dkms apport): binary package for rtl8821au: 5.12.5.2 not found
Error! Bad return status for module build on kernel: 6.17.0-1006-raspi (aarch64)
Consult /var/lib/dkms/rtl8821au/5.12.5.2/build/make.log for more information.
Command exited with non-zero status 10
Compile time: 3.17 seconds
An error occurred. dkms build error: 10
Please report this error.
Please copy all screen output and paste it into the problem report.
Run the following before reattempting installation.
Thanks