-
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
Raspbian: new kernel - wireguard not working #13
Comments
Please try to install kernel sources manually and then reinstall Wireguard. 0, Install required packages for rpi-source
1, Install kernel headers via rpi-source |
Somehow this is solved now. Thanks! |
Which kernel versions has to be installed? I installed rpi-source, what I have to follow now? |
Normally follow the guide on the main page. If you can't install Wireguard, because of kernel-headers are not found for your current kernel version, install kernel-source for your kernel version with rpi-source. After that, try to install Wireguard again:
(if you typed these commands before, probably you just want to run apt-get install wireguard) If it still not working (or you have Rpi 1, Zero etc.), compile wireguard from source: |
I think I have the same kernel version like @codegrau now with 4.14. I have a new clean setup with raspbian stretch light on a rpi 1.
This error occured:
I solved it with the hint from @adrianmihalko
|
Im having a similar issue. I ran rpi-source, but Im still getting the following, any ideas? pi@raspberrypi:~ $ modprobe wireguard pi@raspberrypi:~ $ sudo apt-get install raspberrypi-kernel-headersReading package lists... Done |
hi @mbranchick I was having same issues, I was also on 4.19, and core problem was that I used This rouce explains: https://www.raspberrypi.org/documentation/linux/kernel/updating.md
and then with |
Weirdly I get this too and for some reason following those steps gives me 4.19.42 now. Unpacking raspberrypi-kernel (1.20190517-1) over (1.20190517-1) ... Have they updated to 4.19 now!? |
Easiest way to get around the missing module is to remove/reinstall wireguard-dkms |
Here's a one-liner that fixes this; |
I'm receiving error when running
I didn't quite understand what is meant by "Install kernel headers via rpi-source". Could somebody elaborate on what the steps are for this? |
@frasskungin Here you find installation instructions - https://github.com/notro/rpi-source/wiki |
|
Found that removing and reinstalling wireguard-dkms got me working again. The dpkg-reconfigure command did not work for me.
Afterward my wg0 interface returned and wireguard server was back up. |
@Raybo128 Thanks! somehow this worked for me! |
I tried most of the above. Ended up needing to run:
in my case, I then needed to run the below:
|
This command fixed it in my case:
|
Hi there. Raspian updated to new kernel (and kernel headers) but wireguard won't start anymore
The text was updated successfully, but these errors were encountered: