please check your logs and see what happens at disconnect time, 
this should lead your investigations..

On Sat, Oct 12, 2002 at 10:04:37PM -0400, Japhy Ryder wrote:
> Hey there all,
>    I've been having a lot of problems w/ my ISP 'iglou.com'
> disconnecting   my L2TP tunnel that connects my DSL line to my ISP. If
> this is automatic
> because of lack of traffic or tunnel errors I just don't know. More
> importantly though it very bothersome for me to come home and find out
> my  server has been offline. I know that L2TPd has an autoreconnect
> feature but I just can't seem to get it configured right. Here's all the
> relevant info I can come up with.
> 
> 
> root-# cat /etc/l2tp/l2tpd.conf
> root-# cat /etc/l2tp/l2tp-secrets
> # Secrets for authenticating l2tp tunnels
> # us    them    secret
> bw01  204.255.233.225 password
> root-# cat /etc/ppp/options
> user bw01
> defaultroute
> asyncmap 0
> mru 1464
> mtu 1464
> noauth
> root-# cat /etc/ppp/pap-secrets
> bw01  *       password
> 
> 
> 
> I'm not sure how much of this info any of you might need, but I'd rather
> supply too much info than too little. I've edited the password fields
> for obvious reasons.
> 
> I currently initiate an L2TP tunnel by using the following commands:
> 
> root-# /usr/local/sbin/l2tpd -D &
> root-# echo t 204.255.233.225 > /var/run/l2tp-control
> root-# echo c <tid> > /var/run/l2tp-control
> 
> 
> 
> This always works fine for initiating a connection, but when my ppp
> tunnel is dropped I have to manually issue the preceding commands
> again. I know there is a better way to do this, but I can't seem to
> figure it out yet. Anyone here who could share an l2tpd.conf file or
> offer any advice I would greatly appreciate it.
> 
> Thanks all,
> Alan
> 
> 

-- 

-> Jean-Francois Dive
--> [EMAIL PROTECTED]

  There is no such thing as randomness.  Only order of infinite
  complexity.  - _The Holographic Universe_, Michael Talbot


Reply via email to