Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 1997 10:31:05 -0600 (CST)
From:      Ali Lomonaco <ali@group.groupnet.net>
To:        Cam Johnson <cam@solidsys.com>
Cc:        Terry Todd <tlt@badger.tltodd.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: question for users of pppd
Message-ID:  <Pine.BSF.3.95.970215103013.7350B-100000@group.groupnet.net>
In-Reply-To: <3305C669.39829B6C@solidsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help

	Problem with persist is that if the reconnect fails pppd will
exit.  I think there is another options that specifys how many times pppd
will retry after a failure.

On Sat, 15 Feb 1997, Cam Johnson wrote:

> Terry Todd wrote:
> > 
> > Have you ever tried putting this type of line in the options file
> > disconnect "/usr/sbin/pppd"
> > I am trying to come up with a way for pppd to reconnect the line if
> > it drops for some reason.  I don't know what the other consequences
> > of putting this line in are so I am posting it here to see if anyone
> > else has done this.
> > 
> > Thanks
> > Terry Todd
> > tlt@tltodd.com
> Merely put the line 
> 
> persist
> 
> in your options file and it will redial and reconnect.
> 
> My options file follows
> 
>         /dev/cuaa1
>         115200
>         connect "/usr/bin/chat '' 'atdtXXXXXXX' '' '\\r'
> 'rname>-\\r-name>' 'USER' 'word>' 'PASSWORD'"
>         crtscts
>         lock
>         defaultroute
>         netmask 255.255.255.0
>         0:0
>         persist
>         modem
> 
> The above chat script varies with the ISP's terminal server.
> 
> Cam Johnson
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970215103013.7350B-100000>