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
Kernel module doesn't load on Fedora/CentOS #30
Comments
I'm following https://www.wireguard.com/install/ so I wonder what could be missing. |
Though:
|
But the headers are here.
|
OK, the kernel and headers were not the same version:
|
SOLUTION: Running |
Having the same problem on Fedora 29, but my kernel headers and active kernel are the same. It seems to be failing because DKMS can't find the file:
Looks like it's trying to follow a broken symlink:
I manually removed the broken link and recreated it: Now DKMS is happy. I rebuilt the modules: Checked status:
And it still doesn't work.
No idea why it's failing. |
It broke for me on a dnf upgrade a couple days ago on Fedora 30 uname --kernel-release
rpm -q kernel-headers
Did a:
and it works again. ...though this seems odd: dkms status
|
Thanks for the feedback guys, although this seems related to Wireguard packaging on Fedora |
I have similar problem, but get different verbose output from modprobe:
Any ideas how to get wireguard module loaded? I removed it and rebuild it without success:
Any help us much appreciated. |
|
I added a warning in the script that detects if the machine is running on Fedora or CentOS && wireguard not running and tells the user the command to update its machine. Should be better! |
i have also big problem with CentOS 7, it dont work. i have some wireguards working fine with kernel wireguard, 0.0.20200215, 3.10.0-1062.12.1.el7.x86_64, x86_64: installed but now i try on an another VPS, but it dont work... Your kernel headers for kernel 3.10.0-1062.12.1.el7.x86_64 cannot be found at |
It also doesn't work. CentOS Linux release 7.8.2003 (Core)
|
@Yakashimoto I was on that kernel version too and I had the same problem. Here is what I did #95 (comment) @chanyshev thanks for the detailed information. Your output looks good, try to reboot. If it doesn't work paste the output of |
|
@chanyshev Open |
some issue. not found wireguard module |
@aliasmee You can see the other comments for a solution. If it doesn't work for you provide the necessary info to debug please. |
Just wanted to chime in here and say that I resolved this on Amazon Linux 2 by running |
The text was updated successfully, but these errors were encountered: