Ubuntu Kernel 6.1.75, no wireguard or openvpn modules
- 
 modprobe cant start openvpn or wireguard? Seems there are kernel-headers missing 
- 
 @Momo-0 
 Using the kernel at the following address, after compilation, headers. tar. gz will be generated, and then decompressed to the/usr directory.
 https://github.com/coolpi-george/coolpi-kernel
- 
 @george did that, but these are the same files i already have on the machine, so there must be an issue with the repository 
- 
 I rebuild the Kernel and upgraded it, seems that it doesn't support Wireguard or openvpn 
- 
 @Momo-0 
 Please provide detailed error message.
- 
 @george sudo modprobe wireguard gives me: 
 "modprobe: FATAL: Module wireguard not found in directory /lib/modules/6.1.75"
- 
 @Momo-0 
 Add the configuration as shown in the following figure, and then compile and update the kernel.diff --git a/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig b/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig index e6dba9677bd9..fe61fbaa04ef 100644 --- a/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig +++ b/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig @@ -309,6 +309,8 @@ CONFIG_BLK_DEV_DM=y CONFIG_DM_THIN_PROVISIONING=y CONFIG_NETDEVICES=y CONFIG_DUMMY=y +CONFIG_WIREGUARD=m +CONFIG_WIREGUARD_DEBUG=y CONFIG_MACVLAN=y CONFIG_IPVLAN=y CONFIG_VXLAN=y
- 
 @george that did it, wireguard works now, thanks