From owner-freebsd-questions Fri Sep 29 17:05:55 1995 Return-Path: owner-questions 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 ; 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 X-Sender: rsnow@oasis To: Anthony Hill cc: questions@freebsd.org Subject: Re: ppp.conf - how to dial and connect from command line ? In-Reply-To: Message-ID: 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