aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.4k stars 749 forks source link

Unable to install rtl8812au on Kali #1086

Open piggy2011 opened 1 year ago

piggy2011 commented 1 year ago

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)-[~]
└─$ cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2023.2"
VERSION="2023.2"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"

┌──(sherman㉿LAPTOP-FPRQU4NE)-[~]
└─$ uname -r
5.15.90.1-microsoft-standard-WSL2+

┌──(sherman㉿LAPTOP-FPRQU4NE)-[~]
└─$ uname -a
Linux LAPTOP-FPRQU4NE 5.15.90.1-microsoft-standard-WSL2+ #2 SMP Wed Jun 21 12:48:41 CST 2023 x86_64 GNU/Linux

sherman@LAPTOP-FPRQU4NE ~20230626-2.txt sherman@LAPTOP-FPRQU4NE ~20230626-1.txt

RazviAlex commented 4 months 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