From owner-freebsd-questions Fri Sep 29 16:43:49 1995 Return-Path: owner-questions 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 ; 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 To: questions@freebsd.org Subject: ppp.conf - how to dial and connect from command line ? Message-ID: 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