Re: Wireguard recipe


Bas Mevissen
 

On 2021-02-25 15:12, Mario Sergio Zunzunegui Abad wrote:

Hello Bas.
I am afraid I havent realised I had to do that action.
Could you please tell me how to include this module kmod-wireguard?
Thank you very much
Sorry, got the name wrong. That is how it is called in OpenWRT. :-)
What you need is "wireguard-module" and you can add it to IMAGE_INSTALL_append like wireguard-tools.

Bas.

El jue., 25 feb. 2021 15:09, Bas Mevissen <abuse@...> escribió:

On 2021-02-22 16:28, Zunzunegui Abad, Mario-Sergio wrote:

[Edited Message Follows]
Hello.
I am trying to install WireGuard in Yocto.
I have included the code and recipe and compiled all with bitbake and
generated an image.
I have added the code provided by NXP in folder
sources/meta-openembedded/meta-networking/recipes-kernel.
Also added "wireguard-tools" in IMAGE_INSTALL_append in
meta-freescale/recipes-fsl/images/fsl-image-core.bb, then run "bitbake
fsl-image-core"
I can generate public and private keys with wg command.
But when I try to configure WireGuard, it seems that it is not loaded
the module.
root@vpx3-152:~# modprobe wireguard
modprobe: FATAL: Module wireguard not found.
root@vpx3-152:~#
What I am doing wrong?
Aren't you missing the kmod-wireguard package in your image?

Regards.
#Yocto-wireguard

Join {meta-freescale@lists.yoctoproject.org to automatically receive all group messages.