1. resolvconf: command not found
问题描述
root@firewall:~# wg-quick up firewall
[#] ip link add firewall type wireguard
[#] wg setconf firewall /dev/fd/63
[#] ip -4 address add 10.0.1.2/24 dev firewall
[#] ip link set mtu 1420 up dev firewall
[#] resolvconf -a firewall -m 0 -x
/usr/bin/wg-quick: line 32: resolvconf: command not found
[#] ip link delete dev firewall
root@firewall:~# apt install resolvconf
解决
apt install openresolv
来源
2. Unable to access interface: No such device
问题描述
root@firewall:~# wg-quick up firewall
[#] ip link add firewall type wireguard
[#] wg setconf firewall /dev/fd/63
Temporary failure in name resolution: `example:51820'. Trying again in 1.00 seconds...
Temporary failure in name resolution: `example:51820'. Trying again in 1.10 seconds...
^C[#] ip link delete dev firewall
Unable to access interface: No such device
[#] ip link delete dev firewall
Cannot find device "firewall"
解决
远程登录权限不够。
标签:wg,firewall,ip,resolvconf,dev,Wireguard,command,link,found From: https://www.cnblogs.com/Yogile/p/17868440.html