mirror of
https://github.com/amnezia-vpn/amneziawg-openwrt.git
synced 2026-10-13 21:34:37 +00:00
[GH-ISSUE #30] Build for OpenWRT running under LXC #18
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-openwrt#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tkkost on GitHub (Apr 15, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-openwrt/issues/30
Hello.
I have a problem with a bulding ipk-files for OpenWRT 24.10.0, which runned under a LXC-container on the VPS-server (Ubuntu 24.04).
First, I've downloaded 3 ipk-files for x86_64 from https://github.com/Slava-Shchipunov/awg-openwrt/releases/tag/v24.10.0.
It installed successfully, without any errors. But when I configured Amnezia-interfaces via luci, the interfaces didn't start.
The log in OpenWRT says something about missing kernel modules:
Kernel info:
But it is OpenWRT in LXC, it uses host kernel:
Later,
According to the instructions from https://github.com/itdoginfo/domain-routing-openwrt/wiki/Amnezia-WG-Build I tried to build my own Amnezia-modules for my platform. I used the "vermagic: a21259e4f338051d27a6443a3a7f7f1f-r1" from my OpenWRT, but the build stops with an error:
I tried to use the "vermagic: a21259e4f338051d27a6443a3a7f7f1f", without "-r1", the build completed, but finally it didn't work, I received the same error in OpenWRT about missing kernel modules.
I tried to use the "vermagic: 6.8.0-53-generic SMP preempt mod_unload modversions" from the host, but the build doesn't complete with an error about SMP.
I'm a novice, and I don't understand all the process clearly, but I try the best.
Please help me to solve this problem.
I use OpenWRT-image version 24.10 for LXC from https://images.linuxcontainers.org/.
In the host system the kernel is:
I tried to install vanilla wireguard to OpenWRT via OPKG. It was built for kernel 6.6.73 and it works without any problem.
@tkkost commented on GitHub (Apr 17, 2025):
I did it. I just built and installed AmneziaWg to the host. And after AmneziaWg begun to work in the LXC-container.