Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA09086; Fri, 29 Sep 95 22:25:56 EDT
Received: from freefall.FreeBSD.ORG by MIT.EDU with SMTP
	id AA20147; Fri, 29 Sep 95 22:25:29 EDT
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id RAA08140
          ; Fri, 29 Sep 1995 17:07:31 -0700
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id RAA08090
          for questions-outgoing; Fri, 29 Sep 1995 17:05:55 -0700
Received: from oasis.txdirect.net (oasis.txdirect.net [204.57.120.34])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA08085
          for <questions@freebsd.org>; Fri, 29 Sep 1995 17:05:50 -0700
Received: (from rsnow@localhost) by oasis.txdirect.net (8.6.11/8.6.9) id TAA12792; Fri, 29 Sep 1995 19:05:38 -0500
Date: Fri, 29 Sep 1995 19:05:37 -0500 (CDT)
From: Rob Snow <rsnow@txdirect.net>
X-Sender: rsnow@oasis
To: Anthony Hill <ahill@netspace.net.au>
Cc: questions@FreeBSD.ORG
Subject: Re: ppp.conf - how to dial and connect from command line ?
In-Reply-To: <Pine.SOL.3.91.950930092955.11737D-100000@tornado.netspace.net.au>
Message-Id: <Pine.BSF.3.91.950929190410.12720A-100000@oasis>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-questions@FreeBSD.ORG
Precedence: bulk

On Sat, 30 Sep 1995, Anthony Hill wrote:

> 
> I know this is a FAQ, but I still cant find the answer.
> 
> I want to get ppp to dial and connect to my ISP with a single command.
> (from a cron job actually)
> At the moment my ppp.conf looks like this :-
> 
> work:
>  set speed 38400
>  set device /dev/cuaa1
>  set ifaddr 202.21.8.125 192.189.54.25
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK 
> \\dATDT\
> \T TIMEOUT 40 CONNECT"
>  set phone 131929
>  set login "TIMEOUT 9 Username:-\\r-Username: myname word: mypass > ppp 
> name: myname word: mypass
>  set timeout 120
> 
> Which is great - but I still have to manually send the 'dial' command to ppp
> before it will actually dial. How can I get it to dial without manually 
> sending the dial command. (Dial on demand is not appropriate)
> 
> Thanks
> Anthony Hill
> ahill@connect.com.au


I believe all you need is one more line that says  "dial"
or somesuch.

______________________________________________________________________
Rob Snow                                            Powered by FreeBSD
rsnow@txdirect.net                              http://www.freebsd.org

