From owner-freebsd-questions Sat Aug 9 08:16:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA27474 for questions-outgoing; Sat, 9 Aug 1997 08:16:36 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA27465 for ; Sat, 9 Aug 1997 08:16:31 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id PAA26242; Sat, 9 Aug 1997 15:28:40 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id PAA05020; Sat, 9 Aug 1997 15:28:40 +0100 (BST) Message-Id: <199708091428.PAA05020@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: Chris cc: freebsd-questions@FreeBSD.ORG, chris@theta.dyn.ml.org Subject: Re: Writing PPP scripts In-reply-to: Your message of "Wed, 06 Aug 1997 16:30:17 EDT." <33E8DED9.41C67EA6@gte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 09 Aug 1997 15:28:40 +0100 From: Brian Somers 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 You're telling ppp to expect "ocol:" and send "ppp". Remove this stuff if your ISP doesn't want it: set login "TIMEOUT 5 login: GTE/theta word: (my password here) -- Brian , Don't _EVER_ lose your sense of humour....