From owner-freebsd-questions Sat Feb 15 08:33:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA03319 for questions-outgoing; Sat, 15 Feb 1997 08:33:47 -0800 (PST) Received: from group.groupnet.net (root@group.groupnet.net [206.54.250.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA03310 for ; Sat, 15 Feb 1997 08:33:42 -0800 (PST) Received: from localhost (ali@localhost) by group.groupnet.net (8.8.5/8.8.5) with SMTP id KAA07365; Sat, 15 Feb 1997 10:31:05 -0600 (CST) Date: Sat, 15 Feb 1997 10:31:05 -0600 (CST) From: Ali Lomonaco To: Cam Johnson cc: Terry Todd , freebsd-questions@FreeBSD.ORG Subject: Re: question for users of pppd In-Reply-To: <3305C669.39829B6C@solidsys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 >