aircrack-ng / rtl8814au

Realtek rtl8814au driver
Other
425 stars 130 forks source link

Cant make file #39

Open ObeySoto opened 3 years ago

ObeySoto commented 3 years ago

I just got my adapter AWUS1900, and I am running the newest version of Kali I am fairly new to Linux and to pentesting and I can't install the drivers at all I've tried watching videos and it just doesn't want to work. I am using virtual box and the device appears on kali when I use lsusb (Bus 001 Device 003: ID 0bda:8813 Realtek Semiconductor Corp. RTL8814AU 802.11a/b/g/n/ac Wireless Adapter) however I can't use the device and when I attempt to follow the instructions on installing the drivers when I make the rtl8814au directory I get this error: $ make 130 ⨯ make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.0-kali1-amd64/build M=/home/kali/rtl8814au modules make[1]: /lib/modules/5.9.0-kali1-amd64/build: No such file or directory. Stop. make: [Makefile:2353: modules] Error 2

s3raph-x00 commented 3 years ago

Kali is deprecating the appropriate Linux Header packages rather quickly (i.e. for 5.9.0) so use the following command:

apt update -y && apt upgrade -y && apt dist-upgrade

Followed by:

sudo apt-get install linux-headers-$(uname -r)

And then retry after a reboot.