Welcome! Log In Create A New Profile

Advanced

Installing wireguard with kernel 5.2.9-kirkwood

Posted by jcromero 
jcromero
Installing wireguard with kernel 5.2.9-kirkwood
April 07, 2021 01:35PM
Hello.

Has anyone been able to install wireguard from backports with 5.2.9-kirkwood kernel?

I get:

...
Setting up wireguard-dkms (1.0.20210219-1~bpo10+1) ...
Loading new wireguard-1.0.20210219 DKMS files...
Building for 5.2.9-kirkwood-tld-1 5.11.4-kirkwood-tld-1
Module build for kernel 5.2.9-kirkwood-tld-1 was skipped since the
kernel headers for this kernel does not seem to be installed.
...

Previously, I have installed manually the linux-headers-5.2.9-kirkwood-tld-1_1.0_armel.deb package in /boot, but the wireguard module is not build

Am I missing anything?
Re: Installing wireguard with kernel 5.2.9-kirkwood
April 07, 2021 05:26PM
jcromero,

> Previously, I have installed manually the
> linux-headers-5.2.9-kirkwood-tld-1_1.0_armel.deb
> package in /boot, but the wireguard module is not
> build
>
> Am I missing anything?

Upgrade the kernel to the latest linux-5.11.4-kirkwood-tld-1-bodhi.tar.bz2 (or at least 5.6.x). It was only available in my kernel builds since 5.6.x-kirkwood-tld-y.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
jcromero
Re: Installing wireguard with kernel 5.2.9-kirkwood
April 07, 2021 06:01PM
Are you sure?

jcromero@goflexnet:/boot$ dpkg --contents linux-image-5.2.9-kirkwood-tld-1_1.0_armel.deb | grep wireguard
jcromero@goflexnet:/boot$
jcromero
Re: Installing wireguard with kernel 5.2.9-kirkwood
April 07, 2021 06:05PM
Sorry, I meant:

jcromero@goflexnet:/boot$ dpkg --contents linux-image-5.11.4-kirkwood-tld-1_1.0_armel.deb | grep wireguard
jcromero@goflexnet:/boot$
Re: Installing wireguard with kernel 5.2.9-kirkwood
April 07, 2021 07:50PM
jcromero,

That's not how you should do it.

dpkg --contents linux-image-5.11.4-kirkwood-tld-1_1.0_armel.deb | grep wireguard
The command above does not really tell you anything.

Check the kernel config file like this:
grep -i wireguard config-5.11.4-kirkwood-tld-1

CONFIG_WIREGUARD=y
# CONFIG_WIREGUARD_DEBUG is not set

And after you installed and run the box with the kernel, check dmesg
dmesg | grep -i wireguard

[    8.547323] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.555928] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
jcromero
Re: Installing wireguard with kernel 5.2.9-kirkwood
April 08, 2021 01:33AM
You are right.

I was expecting wireguard be compiled as a module.

Sorry for the noise.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: