On Mon, 4 Aug 2008, tony.chamberlain@xxxxxxxxx wrote:
I am using pptp which calls pppd. I use ip-up.local to add routes. Problem is, when connecting, after only 10 or 15 seconds the link gets dropped by the peer due to inactivity (I think it is the peer and not me).
Who is the peer? Are you sure you do not have a timeout where you thought the time was in minutes but really is in seconds?
Anyway I can make a stupid script to ping the other side every 5 seconds, which keeps the link up. But there should be a better way. I thought lcp-echo-request set to 5 would do it, but that sends only if it hasn't heard from the peer in 5 seconds, and by then it is too late. Any suggestions? -- To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
-- William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | unruh@xxxxxxxxxxxxxx Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ -- To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html