Trying to Install RTL8852au driver on Kali - Captured with the ERROR #181297
-
Select Topic AreaQuestion BodyI'm not able to Install the RTL8852au driver on my kali which is running on VM Ware ┌──(kalisi㉿kali)-[~] ┌──(kalisi㉿kali)-[~] ┌──(kalisi㉿kali)-[~/rtl8852au] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
You’re not doing anything wrong here — this is a compatibility issue. The error 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 Reboot and reconnect the adapter. Better alternative: use an actively maintained fork that supports newer kernels If you really want to use the lwfinger repo, you’d need to downgrade to an older kernel, but that’s usually not worth it on rolling Kali. Quick VMware check Make sure the USB Wi-Fi adapter is attached to the VM Use USB 3.0 in VMware settings Confirm the device shows up with lsusb So yeah — this error is expected on kernel 6.16+, not a setup mistake. Using a DKMS-based or maintained driver is the right fix. |
Beta Was this translation helpful? Give feedback.
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
Reboot and reconnect the adapter.
Better alternative: use an actively maintained fork that supports newer kernels