Hi, I recently installed dietpi on my oxdroid xu4. When trying to run wireguard, I get this:
panda@OXBACKADROID:~$ sudo systemctl restart wg-quick@wg0
Job for wg-quick@wg0.service failed because the control process exited with error code.
See "systemctl status wg-quick@wg0.service" and "journalctl -xe" for details.
The systemctl proposed gives this:
● wg-quick@wg0.service - WireGuard via wg-quick(8) for wg0
Loaded: loaded (/lib/systemd/system/wg-quick@.service; enabled; vendor preset: ena
bled)
Active: failed (Result: exit-code) since Sun 2019-08-25 10:53:56 EEST;
4s ago
Docs: man:wg-quick(8)
man:wg(8)
https://www.wireguard.com/
https://www.wireguard.com/quickstart/
https://git.zx2c4.com/WireGuard/about/src/tools/man/wg-quick.8
https://git.zx2c4.com/WireGuard/about/src/tools/man/wg.8
Process: 26513 ExecStart=/usr/bin/wg-quick up wg0 (code=exited, status=1/FA
ILURE)
Main PID: 26513 (code=exited, status=1/FAILURE)
elo 25 10:53:55 OXBACKADROID systemd[1]: Starting WireGuard via wg-quick(8) for wg0..
.
elo 25 10:53:56 OXBACKADROID wg-quick[26513]: [#] ip link add wg0 type wireguard
elo 25 10:53:56 OXBACKADROID wg-quick[26513]: RTNETLINK answers: Operation not suppor
ted
elo 25 10:53:56 OXBACKADROID wg-quick[26513]: Unable to access interface: Protocol no
t supported
elo 25 10:53:56 OXBACKADROID wg-quick[26513]: [#] ip link delete dev wg0
elo 25 10:53:56 OXBACKADROID wg-quick[26513]: Cannot find device "wg0"
elo 25 10:53:56 OXBACKADROID systemd[1]: wg-quick@wg0.service: Main process e
xited, code=exited, status=1/FAILURE
elo 25 10:53:56 OXBACKADROID systemd[1]: Failed to start WireGuard via wg-qui
ck(8) for wg0.
elo 25 10:53:56 OXBACKADROID systemd[1]: wg-quick@wg0.service: Unit entered f
ailed state.
elo 25 10:53:56 OXBACKADROID systemd[1]: wg-quick@wg0.service: Failed with re
sult 'exit-code'.
I’m guessing the “RTNETLINK answers: Operation not supported” is the key here, but I have no idea where to start. Any help greatly appreciated.