This system uses the 5.15 kernel with WireGuard built into it. However, to establish a tunnel connection, the “tun” module is required. Unfortunately, this module is missing from the image. I attempted to manually load it using modprobe
, but had no success—it returned an error stating that the module or file does not exist in the specified location. As a result, WireGuard, Tailscale, and NetBird are non-functional. TwinGate works since it is closed-source, but it still experiences frequent connection drops. If anyone can provide a fix for the kernel or suggest a viable solution, it would be greatly appreciated
Wireguard not working in official beta image a5e
Same problem.
It’s due to the factory image doesn’t include tun.ko with the kernel.
I am surprised (as this is a dual eth board for networking purpose)
Hope the support can address how to resolve it.
Although you can use WireGuard-go , which doesn’t require a kernel module, I preferred to build the kernel module instead, as it has some cryptographic dependencies. I also attached various common kernel modules that are used in the system.
https://mega.nz/file/CgBT0Ahb#WoUbuDWr5FK88u4um0XJ_rsYTZB4IhQkvak--QP6P84
To use it to scp to the board unzip it and move .ko files to /lib/modules/5.15.147/ then run sudo depmod -a and now you’re good to modprobe the kernel module you want(Currently wireguard, tun, uvcvideo)
Many thanks—that did the trick! I simply copied the modules, ran the command, and rebooted the Cubie, and now everything works flawlessly. I really appreciate your help!