A5E: tun support

I want to have the A5E as the router between my network and the outside world. That mostly works, except that I’m running into trouble getting the VPN up and running. As far as I can see the kernel was compiled without “tun” support, not even as a module.

I’m using the a527_cubie_a5e_bullseye_beta_20250303.zip image. (The armbian_community images looked more promising, but don’t work with the second ethernet port).

So now I have to recompile the kernel. How would this work?

As far as I can see, I’d have to download the tina 5.0 SDK, but the link goes to a place where i have to wait for six hours every several Gb. Is that really necessary?

When I would get a kernel, where does it need to go ? I can’t find a linux-kernel package on my debian install. I cant find the kernel in /boot. I tried mounting the other partitions and only p1 mounts, and contains a bunch of BMP images, but no kernels. The other two partitions don’t mount . So if I were to get a kernel compiled, where does it need to go?

Maybe Tun.ko please? (A5E)
and Wireguard not working in official beta image a5e
can help. If you’re interested on building kernel yourself and customize it to your need I advise you to go with https://docs.radxa.com/en/cubie/a5e/low-level-dev/build

Thanks for the pointers. The “tun.ko please” had a link to a compiled tun.ko that works for me.

I’ve been trying to download the required tina 5.0 for a few days now, but I don’t like the mega.nz distribution link: It told me my quota had run out but I could wait 6h. Fine, but tell me before I start please, not after 5Gb ? And after continuing a few times it was just “hung” nothing could be done and no file downloaded. Anyway Second attempt and 24h later… I now have the Tina5.0.tar.gz . I’ll look into it later.

For now I’m going to wrap up my “move to new routers”. (I have two A5E’s for two locations).