所有工作在Debian 9+上都没有问题,使用相同的设置和安装方法。
当我尝试启动服务时
systemctl start wg-quick@wg0 它在日志中显示错误:
wg-quick[9290]: [#] ip link add wg0 type wireguard
wg-quick[9290]: [#] wg setconf wg0 /dev/fd/63
wg-quick[9290]: /usr/bin/wg-quick: line 251: wait: pid 9308 is not a child ...hell
wg-quick[9290]: [#] ip link delete dev wg0当您启动它时,它也会显示类似的错误(还有exec脚本wg-qucik):
wg-quick ip wg0wait的这个问题。此外,我还在VirtualBox上安装了clear Debian8.11。存在相同的错误。但在Debian 9上,它可以正常工作。
发布于 2020-08-27 23:41:13
我认为bash < 4.4中的问题是因为在Debian 8版本- 4.3.30上,在Debian 9- 4.4.12上
对于root用户运行的更新:
WGQUICKPATH=$(which wg-quick)
mv "$WGQUICKPATH" "$WGQUICKPATH.bak"
wget -O "$WGQUICKPATH" "https://raw.githubusercontent.com/WireGuard/wireguard-tools/master/src/wg-quick/linux.bash"
chmod +x "$WGQUICKPATH"https://stackoverflow.com/questions/63619572
复制相似问题