From e7a7138439fa8123b0e53934208b17fd450f73ac Mon Sep 17 00:00:00 2001 From: Jose Diaz de Grenu Date: Tue, 25 Jul 2017 12:24:37 +0200 Subject: [PATCH] networkmanager: check the PPP connection These values configure the PPP daemon to check that the connection is still alive (using an echo) and kill itself otherwise. On that event, NetworkManager takes over and tries to restore the connection. This is specially useful for modems with only one serial port, because they are not able to signal the connectivity loss to the host (the only data channel is used for the network data itself). https://jira.digi.com/browse/DEL-4653 https://jira.digi.com/browse/DEL-4650 Signed-off-by: Jose Diaz de Grenu --- .../networkmanager/networkmanager/nm.cellular | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager/nm.cellular b/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager/nm.cellular index f052a2fbc..b282aba1e 100644 --- a/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager/nm.cellular +++ b/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager/nm.cellular @@ -9,5 +9,9 @@ password=##CELLULAR_PASSWORD## pin=##CELLULAR_PIN## username=##CELLULAR_USER## +[ppp] +lcp-echo-failure=3 +lcp-echo-interval=5 + [ipv6] method=ignore