Skip to content
Discussion options

You must be logged in to vote

You’re not doing anything wrong here — this is a compatibility issue.

The error
fatal error: drv_types.h: No such file or directory
shows up because the lwfinger rtl8852au driver doesn’t currently build against newer Kali rolling kernels (6.16.x). Kernel internals changed, and this repo hasn’t been updated to handle that yet.

This happens pretty often on Kali, especially when it’s running in VMware and you’re on a very recent kernel.

What you can do

Easiest option: install Kali’s DKMS package instead

sudo apt update
sudo apt install realtek-rtl88xxau-dkms

Reboot and reconnect the adapter.

Better alternative: use an actively maintained fork that supports newer kernels

git clone https://gi…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Sonism36
Comment options

@zigizogo
Comment options

Answer selected by Sonism36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development
3 participants