Big trouble with Realtek AWUS1900 RTL8814AU Installations

Carl97

New Member
Joined
Oct 22, 2024
Messages
2
Reaction score
0
Credits
43
First things first. I like the look of your forum and hope to be here for a while.
I work on several operating platforms, Linux being my least familiar.
I run an Ubuntu Full Server from home running all my websites etc. Its hard work maintaining and i am learning
though it is too easy to look stuff up. I am not the type of person that does things the easy way and rather learn from mistakes.

I am getting into Kali and ethical hacking and i am stuck on such a stupid issue that i can't seam to get around.
I have successfully installed Kali with all the updates and upgrades on Raspberry Pi Zero W, Zero 2W, RP1B, RP3B, RPI4B and RPI5
The problem i am having is in installing ALFA Realtek AWUS1900 with the RTL8814AU and RTL88xxAU Drivers.
I am on my 32nd install attempt of this driver on all of the devices above and no matter what i try i get errors. Many outdated instructions on the internet don't help.
I am a solid power supply of 5 Amp and clean installs both from "Raspberry Pi Imager" and from Kali Website I have tried by SSH, Remote Desktop and directly with Sudo privileges
And i produce the same issues.

Clean Kali install on RPI3B
# sudo apt-get update
# sudo apt-get upgrade -y
# sudo apt-get dist-upgrade -y

# git clone https://github.com/aircrack-ng/rtl8814au
# cd rtl8814au
# make ARCH=arm RTL8814=1

Result:
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.44-Re4son-v8+/build M=/home/kali/rtl8814au modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.44-Re4son-v8+'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Debian 11.2.0-19) 11.2.0
You are using: gcc (Debian 14.2.0-3) 14.2.0
CC [M] /home/kali/rtl8814au/core/rtw_cmd.o
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
gcc: error: unrecognized command-line option ‘-mapcs’
gcc: error: unrecognized command-line option ‘-mno-sched-prolog’
gcc: error: unrecognized command-line option ‘-msoft-float’
make[2]: *** [scripts/Makefile.build:288: /home/kali/rtl8814au/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1868: /home/kali/rtl8814au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.44-Re4son-v8+'
make: *** [Makefile:2353: modules] Error 2

# make install ARCH=arm RTL8814=1

Result:
install -p -m 644 8814au.ko /lib/modules/5.15.44-Re4son-v8+/kernel/drivers/net/wireless/
install: cannot stat '8814au.ko': No such file or directory
make: *** [Makefile:2359: install] Error 1

# reboot
Not working.
I plug the Adapter into my Windows 10 PC and the device works perfect.
I confirmed that i can see the device in
# lsusb

In RPI5 i believe the headers are part of the Kali Package
In RPI3B I did manage to get the Adapter to flash (Blue light blinking) but with far too many errors to my liking.

Please if anyone could help steer me in the right direction i would be so grateful.
Carl
 
Last edited:


make sure you have the kernel headers installed Kali is based on Debian and by default the headers are not installed- some things need the headers to build correctly - here is mine below - you just have to match them with your kernel version
1.png
 
Last edited:
As @GatorsFan said, Kali is loosely based on Ubuntu [a heaverly cut down version] which in turn is Debian based, so you need Debian based answers not Arch or other bases,

I assume its the RTL WI-Fi your having problems with,
 
make sure you have the kernel headers installed Kali is based on Debian and by default the headers are not installed- some things need the headers to build correctly - here is mine below - you just have to match them with your kernel version
View attachment 22629
Thanks for your guys replies. I really appreatiate it. Does this apply to Kali Version 2024.3 on Raspberry PI5B ? I hear that raspberry Pi 5 headers are included in the Kali Distro.
I have a version of something i am not clear on: 6.6.45-v8+ I think it is the Kali version after i updated, upgraded and distro-upgrade. I seam to get on ok with Kali but i don't understand headers and kernels etc.
 
one way to find out what kernel you are running is to type in the terminal
looks to me that you are building with two different kernel versions - make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.44-Re4son-v8+/
but later you say - have a version of something i am not clear on: 6.6.45-v8+
So did you upgrade the kernel after you tried to build aircrack-ng - whenever you build something that is kernel specific and you upgrade the kernel you will have to rebuild it to work with the upgraded kernel

Also have a look here - https://github.com/morrownr/8814au?tab=readme-ov-file
the above is still active
 


Members online


Top