You are not logged in.

#1 2025-02-04 19:07:29

san2222
Member
Registered: 2023-07-03
Posts: 29

DKMS Error [SOLVED]

Hi,

I updated by system to 6.13.1 and my WiFi has gone dead. I tried installing it by following instruction from https://github.com/nlkguy/archer-t2u-pl … me-ov-file

But when I do the last command "sudo make dkms_install", I get the following:

grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025
Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source -> /usr/src/8812au-5.6.4.2_35491.20191025
dkms build -m 8812au -v 5.6.4.2_35491.20191025
Sign command: /usr/lib/modules/6.13.1-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)......(bad exit status: 2)
Failed command:
'make' -j6 KVER=6.13.1-arch1-1 KSRC=/lib/modules/6.13.1-arch1-1/build

Error! Bad return status for module build on kernel: 6.13.1-arch1-1 (x86_64)
Consult /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/make.log for more information.
make: *** [Makefile:1790: dkms_install] Error 10

Please find the DKMS log here:
https://hastebin.com/share/uzefahuvad.bash

Thanks

Last edited by san2222 (2025-02-05 17:30:21)

Offline

#2 2025-02-04 19:30:28

mackin_cheese
Member
Registered: 2025-01-07
Posts: 188

Re: DKMS Error [SOLVED]

What happens if you don't follow those instructions and perhaps use the package listed in the aur: https://aur.archlinux.org/packages/rtl8812au-dkms-git

Offline

#3 2025-02-04 19:31:29

mackin_cheese
Member
Registered: 2025-01-07
Posts: 188

Re: DKMS Error [SOLVED]

there's also this one with the aircrack-ng kernel module: https://aur.archlinux.org/packages/rtl8 … k-dkms-git

Offline

#4 2025-02-05 02:18:50

ImmortAlex
Member
Registered: 2023-06-14
Posts: 41

Re: DKMS Error [SOLVED]

rtl8812au-dkms-git won't compile on 6.13 either.
You need rtw88-dkms-git.
Also RTL8812AU will be supported by in-kernel driver in 6.14 (actually the same rtw88)

Offline

#5 2025-02-05 04:19:18

san2222
Member
Registered: 2023-07-03
Posts: 29

Re: DKMS Error [SOLVED]

Hi,

I tried the aircrack-ng kernel module. It too showed a DKMS error (Error 2).  See the log at https://hastebin.com/share/rigojiroli.bash

lsusb -v lists the device. But, when i do "sudo modprobe 8812au", I get this:

 modprobe: FATAL: Module 8812au not found in directory /lib/modules/6.13.1-arch1-1 

When I run "pacman -Qs dkms", I get:

 local/dkms 3.1.5-1
    Dynamic Kernel Modules System
local/rtl88xxau-aircrack-dkms-git r1299.337d3d6-1
    Aircrack-ng kernel module for Realtek 88XXau (USB adapters only) network cards
    (8811au, 8812au and 8821au chipsets) with monitor mode and injection support 

uname -a gives:

 Linux archy 6.13.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 02 Feb 2025 01:02:29 +0000 x86_64 GNU/Linux 

while
pacman -Q linux gives:

 linux 6.13.1.arch1-1 

Am I doing something wrong? Thank you.

Last edited by san2222 (2025-02-05 07:30:32)

Offline

#6 2025-02-05 08:38:35

ImmortAlex
Member
Registered: 2023-06-14
Posts: 41

Re: DKMS Error [SOLVED]

san2222 wrote:

Am I doing something wrong? Thank you.

Neither aircrack-ng not morrownr's rtl8812au driver will compile past 6.12 kernel.
Further support for most of Realtek's wireless chipsets goes to in-kernel rtw88 driver.
RTL8812AU is supported by rtw88 since kernel 6.13, but most of vendor specific usb ids are merged only in kernel 6.14.
So, for now this in-kernel driver is almost useless for most of RTL8812AU based devices (and RTL8821AU too).
But you can install rtw88-dkms-git from AUR, it's the same code that will be in kernel 6.14.

Offline

#7 2025-02-05 17:27:49

san2222
Member
Registered: 2023-07-03
Posts: 29

Re: DKMS Error [SOLVED]

Thank you ImmortAlex, rtw88-dkms-git got installed and I have access to network.

Offline

Board footer

Powered by FluxBB