Hi guys,
I try to enable wirguard support in the buildroot image for the pico max. wirguard-tool package is available in buildroot but it require a linux kernel > 5.6,
I managed to enable the neccessary modules of the kernel with ./build.sh kernelconfig commande so I get a modified sysdrv/source/kernel/arch/arm/configs/luckfox_rv1106_linux_defconfig with the neccesarry kernel module. But how to tell buildroot that I use this kernel in order to be able to activate the compilation of wireguard-tool ? Should I use the custom kernel setting in the linux kernel menu of buildroot ?
Best regards,
Custom Kernel config in buildroot
Hello, the kernel source code of RV1106 does not use the mainline source code. Buildroot cannot directly use the custom kernel setting. Some other configurations might be required. You can refer to the project shared by community members https://github.com/Droid-MAX/Luckfox-Pico-SDWAN, where support for Wireguard and related tools has been enabled.
Hi,
Thank you very much for you answer. I managed to get wg and wg-quick working according to the link you gave. It's just about activate the right option in the kernel. The project you gave as reference is all your need.
The only things a bit annoying is that you need to modify wg-quick in order to remove the "stat" command because busybox do not provide this commande.
Thank's a lot.
Thank you very much for you answer. I managed to get wg and wg-quick working according to the link you gave. It's just about activate the right option in the kernel. The project you gave as reference is all your need.
The only things a bit annoying is that you need to modify wg-quick in order to remove the "stat" command because busybox do not provide this commande.
Thank's a lot.