Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run dkms build command! #8

Closed
yarinz34 opened this issue Dec 30, 2020 · 4 comments
Closed

Can't run dkms build command! #8

yarinz34 opened this issue Dec 30, 2020 · 4 comments

Comments

@yarinz34
Copy link

yarinz34 commented Dec 30, 2020

I receive this error when applying "sudo dkms build -m rtl88x2bu -v ${VER}" command:

Error! echo
Your kernel headers for kernel 5.5.0-kali2-amd64 cannot be found at /lib/modules/5.5.0-kali2-amd64/build or /lib/modules/5.5.0-kali2-amd64/source.

I'm running this on a Kali2020.2 VM as guest on a Win10 host machine.

@HuakunShen
Copy link

I have the same problem. running kali 2020.4, kernel version: 5.9.0.
Adapter: TP Link Archer T4U
The version in this repo isn't compatible.

@chriskran12
Copy link

I have the same issue!!

Error! echo
Your kernel headers for kernel 5.9.0-kali1-amd64 cannot be found at
/lib/modules/5.9.0-kali1-amd64/build or /lib/modules/5.9.0-kali1-amd64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.

@fastoe
Copy link
Owner

fastoe commented Feb 17, 2021

clone new branch:
git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU.git
cd RTL8812BU
make
sudo make install
sudo reboot

@fastoe
Copy link
Owner

fastoe commented Feb 18, 2021

I have the same issue!!

Error! echo
Your kernel headers for kernel 5.9.0-kali1-amd64 cannot be found at
/lib/modules/5.9.0-kali1-amd64/build or /lib/modules/5.9.0-kali1-amd64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.

download and install:
https://http.kali.org/kali/pool/main/l/linux/linux-headers-5.9.0-kali1-common_5.9.1-1kali2_all.deb
https://http.kali.org/kali/pool/main/l/linux/linux-kbuild-5.9_5.9.6-1kali1_amd64.deb
https://http.kali.org/kali/pool/main/l/linux/linux-headers-5.9.0-kali1-amd64_5.9.1-1kali2_amd64.deb

re-make.

@fastoe fastoe closed this as completed Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants