Re: autorestart pppd
On Tue, 05 Dec 2000 17:16:01 +0100, Alson van der Meulen writes:
>On Tue, Dec 05, 2000 at 04:41:54PM +0100, Sebastiaan wrote:
>> Hello,
>> I am running a little server on a xDSL connection. 
Geez, who not ;-) ?
>> It worked fine, until I was not able to connect to the server today.
>> After some examination of the logs, I found this in /var/log/messages:
>> pppd[90]: No response to 4 echo-requests
>> pppd[90]: Serial link appears to be disconnected
>> pppd[90]: Connection terminated.
>> (blabla)
cron is fine for that, for example:
* * * * * /bin/ping -c 1 193.154.142.1 >/dev/null || \
 /usr/local/bin/reconnect >/dev/null
reconnect just kills all pppd´s (JIC) and all pptp´s (my dsl-connection 
 is over pptp <sigh>).
works just fine.
>> So it seems that the connection has been lost somehow. 
>> Now my question:
>> Is it possible that when something like this happens, pppd will
>> automatically reconnect? In that case, my down time will be minimized
>> after such resets.
&rw
-- 
/  Ing. Robert Waldner  | Network Engineer | T: +43 1 89933  F: x533 \ 
\ <Waldner@KPNQwest.at> |    KPNQwest/AT   | Diefenbachg. 35, A-1150 / 
Reply to: