Re: Wireguard recipe


Bas Mevissen
 

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.