Yes this is what I'm doing... Hopefully will have a complete solution (ppp
scripts plus /etc/rc.d/init.d/adsl to automatically start the connection on
bootup). Will post it here if I find it sufficiently generic and good for
common use.
Haim.
>
> try to use the ppd option to run a script when the ppp session terminates.
> This script will kill the old pptp and start a new one ..
>
> On Sun, 4 Feb 2001, Haim Gelfenbeyn wrote:
>
> > Well, my connection died only once, and I don't think Barak uses any
> > kind of idle time limiting (after all, ADSL is all-time-up
> > connection!). But: we have Frame Relay at work, and I monitor the
> > router via SNMP, and at least once a month there are short service
> > outages. While Frame-Relay will re-connect automatically, ADSL will
> > not, and I'm sure Bezeq and Barak gives better service to their
> > corporate customers then to their private ones. So I wanted to make
> > sure my connection will re-connect automatically.
> >
> > Another issue:
> > In your HOWTO, you write that in order to drop the connection, it's
> > 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.
> >
> > 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]