runfalk / synology-wireguard

WireGuard support for some Synology NAS drives
MIT License
920 stars 131 forks source link

/usr/local/bin/wg-quick: line 32: resolvconf: command not found #56

Closed bachrc closed 3 years ago

bachrc commented 3 years ago

Description I followed the instructions on my DS918+, and when I wanna trigger the wg-quick, it doesn't find resolvconf on my synology.

sh-4.3# wg-quick up wg0-client
Warning: `/etc/wireguard/wg0-client.conf' is world accessible
[#] ip link add wg0-client type wireguard
[#] wg setconf wg0-client /dev/fd/63
[#] ip -4 address add 10.6.0.4/24 dev wg0-client
[#] ip link set mtu 1420 up dev wg0-client
[#] resolvconf -a wg0-client -m 0 -x
/usr/local/bin/wg-quick: line 32: resolvconf: command not found
[#] ip link delete dev wg0-client
sh-4.3#

Seems that I can't find resolvconf anywhere on my NAS. How should we install it ?

bachrc commented 3 years ago

Aaaaaaand this was because I had "DNS" on my wireguard configuration ! This is written in the README, I just don't know how to read. Sorry !

alexxsanya commented 3 years ago

@bachrc check out the solution in here - https://github.com/StreisandEffect/streisand/issues/1434, it helped me resolve mine

xd19861224 commented 7 months ago

i have same error