fastoe / RTL8812BU_for_Raspbian

RTL8812BU Driver for Raspbian
70 stars 18 forks source link

No such file or directory #5

Closed SmoochiesBoss closed 3 years ago

SmoochiesBoss commented 3 years ago

Followed the simple instructions on the Linux install guide. Doesn't work. Found the simple instructions in these three issues. Doesn't work. I purchased this adapter for simple installation on my Pi. Please help.

pi@raspberrypi:~/RTL8812BU_for_Raspbian $ make make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.10.11-v7+/build M=/home/pi/RTL8812BU_for_Raspbian modules make[1]: *** /lib/modules/5.10.11-v7+/build: No such file or directory. Stop. make: *** [Makefile:2284: modules] Error 2

SmoochiesBoss commented 3 years ago

For anyone else out there, reboot before you run make in the given instructions. That got me to the next step.

fastoe commented 3 years ago

For 5.10 kernel, please clone the v5.6.1 branch: sudo apt update sudo apt install -y bc git dkms build-essential raspberrypi-kernel-headers git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU_for_Raspbian cd RTL8812BU_for_Raspbian make sudo make install sudo reboot