sometimes people (like me for example) experience disconnects when line bandwidth (ADSL) for example is too narrow compared to traffic intensity, LCP echoes are delayed and pppd disconnects thinking that there is a timeout. Alternative solution is to set traffic shaper and cut own traffic to line limits, fortunately there is a patch for pppd, which makes that LCP echo requests are sent only when no traffic is present, a directive lcp-echo-adaptive can be added by users in /etc/ppp/option if they wish to use that feature. That patch is present in Debian squeeze already ( more info in Debian bugzilla http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=14331 ) I'm using that patch against gentoo pppd for about a month, it works good.
Created attachment 253295 [details, diff] lcp-echo-adaptive patch from debian sources for pppd
Created attachment 253297 [details] ebuild
Fixed in 2.4.5-r1, thanks!
(In reply to comment #3) > Fixed in 2.4.5-r1, thanks! > and thanks to you as well :)