From 7d466b970f546590a1ab9f5e61b77fce682355b8 Mon Sep 17 00:00:00 2001 From: misacek007 Date: Sun, 23 Feb 2020 15:09:54 +0100 Subject: [PATCH] client-linux-wireguard.md: add nscd to packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nscd or unbound are needed to be present on the system or the following error happens: $ sudo systemctl start wg-quick@wg0 Job for wg-quick@wg0.service failed because the control process exited with error code. See "systemctl status wg-quick@wg0.service" and "journalctl -xe" for details. $ sudo systemctl status wg-quick@wg0 ● wg-quick@wg0.service - WireGuard via wg-quick(8) for wg0 Loaded: loaded (/lib/systemd/system/wg-quick@.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Ne 2020-02-23 15:02:28 CET; 7s ago Docs: man:wg-quick(8) man:wg(8) https://www.wireguard.com/ https://www.wireguard.com/quickstart/ https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8 https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8 Process: 10539 ExecStart=/usr/bin/wg-quick up %i (code=exited, status=5) Main PID: 10539 (code=exited, status=5) úno 23 15:02:28 kachnak wg-quick[10539]: [#] ip -4 address add 10.19.49.3/24 dev wg0 úno 23 15:02:28 kachnak wg-quick[10539]: [#] ip link set mtu 1380 up dev wg0 úno 23 15:02:28 kachnak wg-quick[10539]: [#] resolvconf -a tun.wg0 -m 0 -x úno 23 15:02:28 kachnak wg-quick[10539]: Failed to try-restart nscd.service: Unit nscd.service not found. úno 23 15:02:28 kachnak wg-quick[10539]: Failed to try-restart unbound.service: Unit unbound.service not found. úno 23 15:02:28 kachnak wg-quick[10539]: [#] ip link delete dev wg0 úno 23 15:02:28 kachnak systemd[1]: wg-quick@wg0.service: Main process exited, code=exited, status=5/NOTINSTALLED úno 23 15:02:28 kachnak systemd[1]: Failed to start WireGuard via wg-quick(8) for wg0. úno 23 15:02:28 kachnak systemd[1]: wg-quick@wg0.service: Unit entered failed state. úno 23 15:02:28 kachnak systemd[1]: wg-quick@wg0.service: Failed with result 'exit-code'. --- docs/client-linux-wireguard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client-linux-wireguard.md b/docs/client-linux-wireguard.md index dcf2ace..ea894b2 100644 --- a/docs/client-linux-wireguard.md +++ b/docs/client-linux-wireguard.md @@ -14,7 +14,7 @@ sudo add-apt-repository ppa:wireguard/wireguard sudo apt update # Install the tools and kernel module: -sudo apt install wireguard openresolv +sudo apt install wireguard openresolv nscd ``` For installation on other Linux distributions, see the [Installation](https://www.wireguard.com/install/) page on the WireGuard site.