diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-01-27 11:50:48 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-01-29 20:28:12 +0530 |
commit | 756549f01053cff8e32bacc1250c8191297a39c1 (patch) | |
tree | 1645e703d3a9a20297465de53beb7ec1aa348e5d /hosts/kay/modules | |
parent | e494e0791697f564d7e34f52205e3d66b0f47b84 (diff) |
kay/network/ppp: terminate session on broken connection
Diffstat (limited to 'hosts/kay/modules')
-rw-r--r-- | hosts/kay/modules/network.nix | 11 |
1 files changed, 8 insertions, 3 deletions
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; |