Subject: Re: auto restarting ppp
To: None <netbsd-help@mail.netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com, wan.vpn>
List: netbsd-help
Date: 01/13/2002 19:36:05
>> what is the best way to restart ppp when it goes down,
>> right now I start it auto in the rc.conf
>>
>> is there an easy way to restart it if it goes down? I
>> thought I read somewhere how to do this.
>>
>
>pass it the option of "persist".  Then it will keep retrying whenver the
>link goes down instead of exiting.

I always had strange side effects with "persist". Trying to talk to a dead
connection for one.  That's inside an ssh tunnel VPN situation, if you are 
actually connected to a modem things might work better!?  If you are answering 
an incoming call you might have better luck?? Dunno?

In a shell loop I use "nodetach", if the link goes down I log it and
restart it in the next loop iteration.  

Paul