> enough to down ppp0 and killall pptp. You also need to
> "rm -f /var/run/pptp/10.0.0.138" or pptp will complain and won't start
> next time you try to connect.

I did encounter that problem , but not after killall pptp . This is
something that has still to be fixed in the pptp though.
Dani

> 
> Haim Gelfenbeyn.
> 
> 
> >
> > Haim,
> > Why does your connection die in the first place? Mine never does.
> > Maybe your ISP limits your idle time? try running something
> > like xntp with
> > frequent updates, so it will keep the connection up?
> > Dani
> >
> > On Sun, 4 Feb 2001, Haim Gelfenbeyn wrote:
> >
> > > Hello,
> > > I'm trying to make my Linux box re-dial automatically if ADSL
> > > connection dies. I often need to access my home computer
> > from work, so
> > > manual dialing is not an option.
> > >
> > > The problem is, I don't know what happens on the Linux side if
> > > connection dies... My first try is to create
> > /etc/ppp/ip-down.local
> > > with these lines:
> > >
> > > killall pptp
> > > # give pptp time to exit cleanly
> > > sleep 10
> > > # remove this file or pptp won't start
> > > rm -f /var/run/pptp/10.0.0.138
> > > # re-start pptp
> > > /usr/local/sbin/pptp 10.0.0.138 <other pptp options omitted>
> > >
> > > /etc/ppp/ip-up.local will update dynamic DNS so I will be
> > able to find
> > > my computer from the outside.
> > >
> > > If anybody already solved this problem, please share you
> > solution. I
> > > know that mine is not perfect...
> > >
> > > Thanks,
> > > Haim Gelfenbeyn.
> > >
> > >
> > > =================================================================
> > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > the word "unsubscribe" in the message body, e.g., run the command
> > > echo unsubscribe | mail [EMAIL PROTECTED]
> > >
> > >
> >
> >
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to