From 756549f01053cff8e32bacc1250c8191297a39c1 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 27 Jan 2024 11:50:48 +0530 Subject: kay/network/ppp: terminate session on broken connection --- hosts/kay/modules/network.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'hosts') diff --git a/hosts/kay/modules/network.nix b/hosts/kay/modules/network.nix index 9be3980..5b8aab8 100644 --- a/hosts/kay/modules/network.nix +++ b/hosts/kay/modules/network.nix @@ -51,12 +51,17 @@ in enable = true; config = '' plugin pppoe.so + debug + nic-wan defaultroute - persist - noauth - debug ipv6 ::1, + noauth + + persist + lcp-echo-adaptive + lcp-echo-interval 1 + lcp-echo-failure 5 ''; peers.bsnl = { enable = true; -- cgit v1.2.3