Hello,
I'm having a problem where the adapter is only recognized briefly and then stops working.
It's detected via lsusb, but it doesn't start and is no longer usable.
The error has also been reported on GitHub, as the driver for the Realtek chip cannot be installed without errors.
After installation, Kali was updated (sudo apt-get update && sudo apt-get full-upgrade).
Error report on GitHub:
rfkill
0: phy0: Wireless LAN Soft blocked: no Hard blocked: no
dkms
rtl8812au/5.13.6-23: added
rtl8821au/5.12.5.2: added
iw
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 00:c0:ca:b7:db:ca
type monitor
channel 7 (2442 MHz), width: 20 MHz (no HT), center1: 2442 MHz
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcoltx-bytes tx-packets
0 0 0 0 0 0 0 00
git Status
On branch main
Your branch is at the same state as 'origin/main'.
Nothing to commit, working directory unchanged.
install-driver.sh
$ sudo ./install-driver.sh
: ---------------------------
: install-driver.sh v20241003
: x86_64 (kernel architecture)
: x86_64 (architecture to send to gcc)
: 8/8 (in-use/total processing units)
: 16324028 (total system memory)
: 6.18.9+kali-amd64 (kernel version)
: gcc-15 (version of gcc used to compile the kernel)
: gcc (Debian 15.2.0-12) 15.2.0
: dkms-3.2.2
: mokutil not installed (Secure Boot status unknown)
: ---------------------------
Checking for previously installed drivers...
Removing a driver that was added to dkms.
Deleting module rtl8812au/5.13.6-23 completely from the DKMS tree.
Removing 8812au.conf from /etc/modprobe.d
Removing source files from /usr/src/rtl8812au-5.13.6-23
Finished checking for and uninstalling previously installed drivers.
: ---------------------------
Starting installation.
Copying 8812au.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl8812au-5.13.6-23
Creating symlink /var/lib/dkms/rtl8812au/5.13.6-23/source -> /usr/src/rtl8812au-5.13.6-23
The driver was added to dkms successfully.
: ---------------------------
Sign command: /lib/modules/6.18.9+kali-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module(s)...(bad exit status: 2)
Failed command:
kernelver=6.18.9+kali-amd64 ./dkms-make.sh
Error! Bad return status for module build on kernel: 6.18.9+kali-amd64 (x86_64)
Consult /var/lib/dkms/rtl8812au/5.13.6-23/build/make.log for more information.
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.
$ sudo ./remove-driver.sh
I hope you can help me with this problem.
THX and greets |