Open piggy2011 opened 1 year ago
same problem here.. when trying to make dkms_install
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 build -m 8812au -v 5.6.4.2_35491.20191025 Error! Your kernel headers for kernel 5.15.133.1-microsoft-standard-WSL2 cannot be found at /lib/modules/5.15.133.1-microsoft-standard-WSL2/build or /lib/modules/5.15.133.1-microsoft-standard-WSL2/source. Please install the linux-headers-5.15.133.1-microsoft-standard-WSL2 package or use the --kernelsourcedir option to tell DKMS where it's located. make: *** [Makefile:1788: dkms_install] Error 1
No matter how I install the rtl8812au driver by github instructions or "apt install realtek-rtl88xxau-dkms", all fails. Pls refer to the attachments for detail. My Kali Linux system is installed in WSL2. Here is my system information. Thanks!
sherman@LAPTOP-FPRQU4NE ~20230626-2.txt sherman@LAPTOP-FPRQU4NE ~20230626-1.txt