yury-sannikov / amnezia-wg-docker

An amnezia-wg Docker builds
47 stars 1 forks source link

Cannot find device "wg0" #2

Open kuromaster opened 2 months ago

kuromaster commented 2 months ago

Чё то не выходит каменный цветок... В чём может быть причина?

Mikrotik container log:

 * /proc is already mounted
 * /run/lock: creating directory
 * /run/lock: correcting owner
    OpenRC 0.52.1 is starting up Linux 5.6.3-64 (x86_64) [DOCKER]

 * Caching service dependencies ... [ ok ]
 * Starting Amnezia WG interface wg0 ...Warning: `/etc/amnezia/amneziawg/wg0.conf' is world accessible
[#] ip link add wg0 type amneziawg
Error: Unknown device type.
[!] Missing WireGuard (Amnezia VPN) kernel module. Falling back to slow userspace implementation.
[#] amneziawg-go wg0
/usr/bin/awg-quick: line 32: /usr/bin/amneziawg-go: cannot execute binary file: Exec format error
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0"
 [ ok ]
kuromaster commented 2 months ago

Может быть причина в отсутствии Linux kernel module для amnezia-wg ?

Chupaka commented 1 month ago

/usr/bin/amneziawg-go: cannot execute binary file: Exec format error

Вы его на каком устройстве запускаете? Видимо неправильная платформа. Почему

OpenRC 0.52.1 is starting up Linux 5.6.3-64 (x86_64)

?

Как будто armv7 должен быть, а не x86_64.

А кернел-модуля у них ещё нет