So I went and bought Raspberry Pi 5 and got Kali up and running headless via SSH. The problem is now the new kernel 6.6.63-v8+ and compatibility with drivers of Alpha AWUS1900 WIFI dongle. Chipset in question is RTL8814AU.
The problem is that I’m unable to find a driver package that is compatible with this kernel, and I don’t know if there is even one.
I have tried also “sudo apt install --no-install-recommends realtek-rtl88xxau-dkms” as suggested on the page: Raspberry Pi 5 | Kali Linux Documentation but I get the following errors:
Building for 6.6.63-v8+
Building initial module for 6.6.63-v8+
Error! Bad return status for module build on kernel: 6.6.63-v8+ (aarch64)
Consult /var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/make.log for more information.
dpkg: error processing package realtek-rtl8814au-dkms (–configure):
installed realtek-rtl8814au-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of realtek-rtl88xxau-dkms:
realtek-rtl88xxau-dkms depends on realtek-rtl8814au-dkms; however:
Package realtek-rtl8814au-dkms is not configured yet.
dpkg: error processing package realtek-rtl88xxau-dkms (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
realtek-rtl8814au-dkms
realtek-rtl88xxau-dkms
Error: Sub-process /usr/bin/dpkg returned an error code (1)
Make log reveals:
WARNING: Module.symvers is missing.
Modules may not have dependencies or modversions.
You may get many unresolved symbol errors.
You can set KBUILD_MODPOST_WARN=1 to turn errors into warning
if you want to proceed at your own risk.
ERROR: modpost: “skb_pull” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “rtnl_is_locked” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “usb_free_coherent” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “__arch_copy_to_user” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “cancel_work_sync” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “memcmp” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “vfree” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “__cfg80211_alloc_event_skb” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “wiphy_register” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
ERROR: modpost: “nla_put” [/var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20240527.d8208c8/build/8814au.ko] undefined!
For one solution would be finding an older kernel which is supported by this driver and downgrading, but I’m very n00b on this and would need a good guide. I tried switching kernel couple times, but almost managed to brick my RPI5 as it requires editing of boot config. I know for sure this driver would work on kernel 6.1.0-kali5-amd64 but I haven’t founded a site with “so old” kernels to download. If you can help me in anyways I would be grateful