mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 02:43:01 +02:00
client-linux-wireguard.md: add nscd to packages
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'.
This commit is contained in:
parent
28d95eace2
commit
7d466b970f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue