|
From: James C. <qu...@la...> - 2017-09-05 09:00:02
|
On Tue, Sep 05, 2017 at 08:30:17AM +0000, Mahdi Ojaghi wrote: > On Tue, Dec 28, 2004 at 12:14:15PM +0100, Il_Corvo wrote: > > > > I have a PPTP Adsl connection with an ethernet modem. I like to know > > > > how can I set an auto-reconnection on disconnect because my line goes > > > > down frequently. > > > 0. assuming you start your tunnel with ... > > > # pon adsl > > > 1. then a simple auto-reconnect on disconnect method ... > > > # while true; do pon adsl nodetach; done > > > 2. slightly more complex method asks pppd to do it instead ... > > > # pon adsl persist maxfail 100 > > > See also http://pptpclient.sourceforge.net/howto-diagnosis.phtml#demand > > because it is possible to make the link appear to be up, and be > > established when the first packet needs to be sent, using "demand". > > Where should I apply 0 , 1 , 2 ? On the system that runs pptp, using a shell. > If in pptpclient source files then which file ? No. -- James Cameron http://quozl.netrek.org/ |