Wireguard: RTNETLINK answers: Operation not supported

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
RampantPanda
Posts: 1
Joined: Sun Aug 25, 2019 9:05 am

Wireguard: RTNETLINK answers: Operation not supported

Post by RampantPanda » Sun Aug 25, 2019 9:16 am

Hi, I recently installed dietpi on my oxdroid xu4. When trying to run wireguard, I get this:

Code: Select all

[email protected]:~$ sudo systemctl restart [email protected]
Job for [email protected] failed because the control process exited with error code.

See "systemctl status [email protected]" and "journalctl -xe" for details.
The systemctl proposed gives this:

Code: Select all

[email protected] - WireGuard via wg-quick(8) for wg0
   Loaded: loaded (/lib/systemd/system/[email protected]; 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]: [email protected]: 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]: [email protected]: Unit entered f
ailed state.
elo 25 10:53:56 OXBACKADROID systemd[1]: [email protected]: 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.

Post Reply