-
Notifications
You must be signed in to change notification settings - Fork 75
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
Wireguard not starting because of wrong kernel-headers? #11
Comments
Hi enzo, "kernel-headers installed do not correspond to the kernel". Yes, this is the problem. For whatever reason your distributions ships different kernel headers than the current one. I think your best option is: 1, install kernel source with rpi-source: https://github.com/notro/rpi-source 2, use raspbian Hope it helps. |
0, |
I can see that I have also installed the package raspberrypi-kernel-headers
I guess I have to change distro... Thank you very much for your fast support!! 👍 |
We can try to debug this, but I think the result will be the same raspberrypi-kernel-headers is different version than the actual kernel. If you want to debug this, you can find me on Discord. Or you can always try to install sources with rpi-source, I used this some months ago. |
I am seeing that it should be possible to install wireguard on dietpi. I will try to ask support there since it deals with their distro. https://github.com/Fourdee/DietPi/issues/2052 |
Cool, I hope you find a solution. If not, you can always contact me. I am closing this issue for now. :) |
Have the same issue :( on RPI 3 as well |
Also having this problem on RPi3+:
|
I updated raspbian and reinstalled wireguard and wireguard-dkms and it worked again after a reboot: sudo wg show wg0 works again |
Thanks! somehow it worked! |
For anyone struggling still with this issue, try:
lastly, after reboot:
I was running those on RPi0w. Yeah, big mistake, took like an hour to be done... But it works! |
Thanx. That really helped me out. LLAP |
I was very happy to found out about your script on DrZZZ stream though I cannot get it working on my raspberry pi 3 B+. I am using dietpi as distribution. That is updated to the latest version.
I followed the initial part (before choosing for manual or semiautomatic script) and everything seems fine (I get the blue messages you show). I then went for the semiautomatic script but I get this error:
I found out that the wireguard module is not loaded:
This is probably due to the kernel-headers installed do not correspond to the kernel I am using probably?
Do you know how I could fix this issue? Thank you very much in advance!
The text was updated successfully, but these errors were encountered: