nlkguy / archer-t2u-plus-linux

TP-Link Archer T2U Plus / AC600 High Gain USB Wifi Adapter Review & Driver installation Guide for various platforms.
https://TechBuy.in
359 stars 550 forks source link

kernel headers not found on pwnagotchi #32

Open Arnxb007 opened 3 months ago

Arnxb007 commented 3 months ago

ERROR: make dkms_install mkdir: created directory '/usr/src/8812au-5.6.4.2_35491.20191025' cp -r * /usr/src/8812au-5.6.4.2_35491.20191025 dkms add -m 8812au -v 5.6.4.2_35491.20191025

Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source -> /usr/src/8812au-5.6.4.2_35491.20191025

DKMS: add completed. dkms build -m 8812au -v 5.6.4.2_35491.20191025 Error! echo Your kernel headers for kernel 5.15.44-Re4son+ cannot be found at /lib/modules/5.15.44-Re4son+/build or /lib/modules/5.15.44-Re4son+/source. make: *** [Makefile:1790: dkms_install] Error 1

tried the troubleshoot method mentioned but same issue

dsmirnov-sxope commented 1 month ago

try using apt-get install raspberrypi-kernel-headers