It is currently Sun Aug 18, 2019 6:07 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Re: openl2tp doesn't want to recall pppd?
PostPosted: Wed Jul 28, 2010 12:11 pm 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
xnd wrote:
openl2tpd do not recall pppd if gets LCP message to terminate:

How could I force it to recall automatically by options, not runing scripts start/stop?


openl2tpd knows when a pppd terminates since it gets a SIGCHLD signal. It tracks all of its pppd processes. When a pppd terminates, openl2tpd closes the corresponding L2TP session.

What are you trying to do?


Top
 Profile  
 
 Post subject: Re: openl2tp doesn't want to recall pppd?
PostPosted: Thu Aug 05, 2010 10:31 pm 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
xnd wrote:
The server's side closed ppp call, so my side need to recall.
xl2tpd works fine but has more delay for ppp connection due to bad code optimization I think.

Does any options exist to not drop my connection from the other side?

I assume you are using OpenL2TP as the client and that the session drops when the server closes.

Try the persist option in your tunnel setup.
tunnel create .... persist=yes


Top
 Profile  
 
 Post subject: Re: openl2tp doesn't want to recall pppd?
PostPosted: Thu Aug 12, 2010 10:21 pm 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
xnd wrote:
I think the problem not in tunnel but in the ppp session couse LCP relies on ppp protocol so openl2tp deamon not to recall pppd again after it was closed.

The pppd process will terminate when LCP fails. When it does, openl2tpd gets signalled and closes the session. Does pppd actually terninate? Do you see the session close?
Perhaps the peer isn't closing LCP properly. Try enabling LCP echo from the openl2tp side, using lcp_echo_interval=10 in your ppp profile.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group