Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA01697; Fri, 29 Sep 95 19:52:40 EDT
Received: from freefall.FreeBSD.ORG by MIT.EDU with SMTP
	id AA14863; Fri, 29 Sep 95 19:52:12 EDT
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id QAA07560
          ; Fri, 29 Sep 1995 16:45:36 -0700
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id QAA07495
          for questions-outgoing; Fri, 29 Sep 1995 16:43:49 -0700
Received: from tornado.netspace.net.au (ahill@netspace.net.au [203.10.110.110])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA07489
          for <questions@freebsd.org>; Fri, 29 Sep 1995 16:43:43 -0700
Received: (from ahill@localhost) by tornado.netspace.net.au (8.7/8.7) id JAA15243; Sat, 30 Sep 1995 09:41:29 +1000 (EST)
Date: Sat, 30 Sep 1995 09:41:28 +1000 (EST)
From: Anthony Hill <ahill@netspace.net.au>
To: questions@freebsd.org
Subject: ppp.conf - how to dial and connect from command line ?
Message-Id: <Pine.SOL.3.91.950930092955.11737D-100000@tornado.netspace.net.au>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-questions@freebsd.org
Precedence: bulk


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
