Wireguard resolvconf: error

#### Required Information
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=5
G_DIETPI_VERSION_RC=1
G_GITBRANCH='master'
G_GITOWNER='MichaIng'

Linux DietPi 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux

Hi

I’ve installed wireguard via the dietpi interface.
[Edit: I also had to install jq and openresolv.]
And I’m trying it to use with Mullvad vpn provider via a .conf script.

When I run the command:
wg-quick up gb-mnc-wg-006.conf

I see an error:

[#] ip link set mtu 1420 up dev gb-mnc-wg-006
[#] resolvconf -a tun.gb-mnc-wg-006 -m 0 -x
/usr/bin/wg-quick: line 32: resolvconf: command not found
[#] ip link delete dev gb-mnc-wg-006

I was trying to check this error and think it has something to do with dns?
e.g. see here: mullvad-daemon doesn't pick up resolvconf · Issue #262681 · NixOS/nixpkgs · GitHub
but I’m a total newbie when it comes to this.

Any help appreciated.

Can you check if the command is there

which resolvconf

Sorry for the time-wasting post.

I reinstalled again (but only additionally jq, and not openresolv); and followed instructions about using: systemctl start wg-quick@… (instead of wg-quick up…). And it works.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.