]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Increade lcp-echo-failures.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Jul 2011 10:12:47 +0000 (12:12 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Jul 2011 10:12:47 +0000 (12:12 +0200)
This should make DSL connections more stable if the provider's
gateway is headily loaded and does not answer the LCP echo requests
in time.
As far as I know, this happens with connections from Arcor
and Versatel.

src/initscripts/init.d/networking/red

index 1e4af55af812f3520196d270674c37ab78be6f51..2b342c8a0334428f09b2283b5f993c69a36dcb13 100644 (file)
@@ -458,7 +458,7 @@ case "${1}" in
                        PPP_STD_OPTIONS+=" default-asyncmap hide-password nodetach mtu ${MTU}"
                        PPP_STD_OPTIONS+=" mru ${MRU} noaccomp nodeflate nopcomp novj novjccomp"
                        PPP_STD_OPTIONS+=" nobsdcomp user ${USERNAME} lcp-echo-interval 20"
-                       PPP_STD_OPTIONS+=" lcp-echo-failure 3 ${AUTH}"
+                       PPP_STD_OPTIONS+=" lcp-echo-failure 5 ${AUTH}"
                                
                        ### Debugging
                        #