From owner-freebsd-questions Wed Aug 6 13:31:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA18027 for questions-outgoing; Wed, 6 Aug 1997 13:31:27 -0700 (PDT) Received: from theta.dyn.ml.org (1Cust16.max3.newark.nj.ms.uu.net [153.34.62.16]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA18012 for ; Wed, 6 Aug 1997 13:31:16 -0700 (PDT) Received: from theta.dyn.ml.org (LOCALHOST [127.0.0.1]) by theta.dyn.ml.org (8.8.5/8.8.5) with SMTP id QAA00268; Wed, 6 Aug 1997 16:30:18 -0400 (EDT) Message-ID: <33E8DED9.41C67EA6@gte.net> Date: Wed, 06 Aug 1997 16:30:17 -0400 From: Chris X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@freebsd.org CC: theta@gte.net, chris@theta.dyn.ml.org Subject: Re: Writing PPP scripts References: <33E8DC88.167EB0E7@gte.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am having difficulties writing a PPP script. I am new to FreeBSD. I am using 2.2.2. I have looked at the man page for ppp and the sample ppp.conf file and have tried modifying that script to no avail. It dials, but errs out. A script session looks like this ppp theta> dial gte dial attempt 1 of 1 phone 916095867747 Dial OK! login failed I achieve these results with this script (just a slight modification of the simplesite script) : gte: set phone 916095867747 set login "TIMEOUT 5 login: GTE/theta word: (my password here) ocol: ppp" set timeout 0 I don't know if I modified the script correctly or not. A successful manual login looks like this: UQKT2 Max3.Newark.NJ.MS.UU.NEt Login: GTE/theta Password: (not echoed) Entering PPP Mode. IP address is 153.34.62.14 MTU is 1524