* timeout
@ 2008-08-04 20:37 tony.chamberlain
2008-08-04 20:44 ` timeout Bill Unruh
2008-08-05 1:00 ` timeout James Cameron
0 siblings, 2 replies; 3+ messages in thread
From: tony.chamberlain @ 2008-08-04 20:37 UTC (permalink / raw)
To: linux-ppp
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).
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: timeout
2008-08-04 20:37 timeout tony.chamberlain
@ 2008-08-04 20:44 ` Bill Unruh
2008-08-05 1:00 ` timeout James Cameron
1 sibling, 0 replies; 3+ messages in thread
From: Bill Unruh @ 2008-08-04 20:44 UTC (permalink / raw)
To: linux-ppp
On Mon, 4 Aug 2008, tony.chamberlain@lemko.com 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@vger.kernel.org
> 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@physics.ubc.ca
Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: timeout
2008-08-04 20:37 timeout tony.chamberlain
2008-08-04 20:44 ` timeout Bill Unruh
@ 2008-08-05 1:00 ` James Cameron
1 sibling, 0 replies; 3+ messages in thread
From: James Cameron @ 2008-08-05 1:00 UTC (permalink / raw)
To: linux-ppp
On Mon, Aug 04, 2008 at 08:37:55PM +0000, tony.chamberlain@lemko.com 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).
If you have added routes that change the route used by pptp for the GRE
packet stream, then the peer will drop the connection because the LCP
echo requests are not replied to.
Does the same problem occur without your route changes?
Which version of pppd? Which version of pptp?
> Anyway I can make a stupid script to ping the other side every 5
> seconds, which keeps the link up.
I'm surprised.
It would be more useful to see a "debug dump" log posted on a web page
for us to look at.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-05 1:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 20:37 timeout tony.chamberlain
2008-08-04 20:44 ` timeout Bill Unruh
2008-08-05 1:00 ` timeout James Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.