jakob bratkovic wrote:
John Summerfield wrote:Baurjan Ismagulov wrote:Hello, John! On Sat, Jun 26, 2004 at 09:10:23PM +0800, John Summerfield wrote:I'm using pppd 2.4.2 to connect to my DSL Internet provider. After aperiod of inactivity pppd terminates the connection with a message "LCPterminated by peer". Can I instruct pppd not to agree to that?No. Talk to your ISP.Thanks for the prompt answer! I assume this is a feature of LCP and one can't "fix" it in pppd, no?It's not broken, this is how to terminate the connexion.If the ISP knows a problem exists, then the problem can be fixed for everyone.Seems that creating some activity from cron is cheaper than talking to the ISP :)You could try adding a line such as: lcp-echo-interval 60 to your /etc/ppp/options. Perhaps it will help. Jakob
It shouldn't. I'd be very suprised if LCP packet count towards keeping the connexion alive.
Probably, the ISP has some reason for the decision to terminate idle connexions. There is no substitute to talking about it with the ISP. It's perfectly possible that hacking round it will violate the ISP's Acceptable Use Pollicy and cause the service to be terminated.
Possibly, it's default setting nobody changed and the ISP will be happy to fix the error.
-- Cheers John -- spambait 1aaaaaaa@computerdatasafe.com.au Z1aaaaaaa@computerdatasafe.com.au