From owner-freebsd-questions Sat Feb 15 06:22:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA26092 for questions-outgoing; Sat, 15 Feb 1997 06:22:45 -0800 (PST) Received: from solidsys.com (www.solidsys.com [206.109.49.4]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA26081 for ; Sat, 15 Feb 1997 06:22:37 -0800 (PST) Received: from camj ([207.51.232.31]) by solidsys.com (8.7.5/8.6.12) with SMTP id IAA02835; Sat, 15 Feb 1997 08:27:33 -0600 (CST) Message-ID: <3305C669.39829B6C@solidsys.com> Date: Sat, 15 Feb 1997 14:21:29 +0000 From: Cam Johnson Organization: Solid Systems Inc. X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Terry Todd CC: freebsd-questions@FreeBSD.ORG Subject: Re: question for users of pppd References: <199702151341.HAA25014@badger.tltodd.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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