I have a new install and forgot the correct header file needed for my WiFi
Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
I have a new install and forgot the correct header file needed for my WiFi
Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
The headers for your installed kernel(s)
Kernel header files are matched to kernel versions
If new install includes kernel 6.12, install linux612-headers
before building rtl8812au-dkms-git
from AUR
It is important to be familiar with the AUR before using it.
Similar may be said about DKMS.
https://wiki.archlinux.org/title/Dkms
But if one needed a way to automatically install headers they could use something like
sudo pacman -Syu $(ls /boot | awk -F "-" '/^linux/ { print $1"-headers" }')
Thanks for the info - The WiFi works now.