From de96766d3be3e37730c9c36bf9d364a4831b75d3 Mon Sep 17 00:00:00 2001 From: Bryce Guinta Date: Thu, 27 Dec 2018 23:42:53 -0700 Subject: [PATCH] Fix ping call in vpn docs The `-W` option requires a timeout. Without it, the ping command fails. --- configuration/vpn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/vpn.md b/configuration/vpn.md index 4eaabbf7..38a2d3c8 100644 --- a/configuration/vpn.md +++ b/configuration/vpn.md @@ -56,7 +56,7 @@ Set up a ProxyVM as a VPN gateway using NetworkManager ```bash # Automatically connect to the VPN once Internet is up - while ! ping -c 1 -W 1.1.1.1; do + while ! ping -c 1 -W 1 1.1.1.1; do sleep 1 done PWDFILE="/rw/config/NM-system-connections/secrets/passwd-file.txt"