From owner-freebsd-questions Sun Dec 6 21:16:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA16952 for freebsd-questions-outgoing; Sun, 6 Dec 1998 21:16:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from n4hhe.ampr.org (tnt1-238.HiWAAY.net [208.147.147.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA16944 for ; Sun, 6 Dec 1998 21:16:22 -0800 (PST) (envelope-from dkelly@n4hhe.ampr.org) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by n4hhe.ampr.org (8.9.1/8.9.1) with ESMTP id WAA28170; Sun, 6 Dec 1998 22:52:32 -0600 (CST) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199812070452.WAA28170@n4hhe.ampr.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Jerry cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: pppd - Connect script failed. In-reply-to: Message from Jerry of "Sun, 06 Dec 1998 18:39:55 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 06 Dec 1998 22:52:32 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is what I suggest: Jerry writes: > I've been using user ppp and now want to use pppd I setup the following > files as per the manual but I'm getting Connect script failed. First if > you could look at the script in case I missed something and second when I > get this error is it only talking about the dial.chat file? > > I'm using this command: > pppd /dev/cuaa1 57600 connect 'chat -f /etc/ppp/dial.chat' user username > > /etc/ppp/dial.chat > ABORT BUSY > ABORT 'NO CARRIER' > TIMEOUT 5 > '' ATZ > OK ATDT4783765 > TIMEOUT 50 > CONNECT > TIMEOUT 10 > gin:-\\r-gin: username > sword: password Delete the above lines after CONNECT > /etc/ppp/options > defaultroute > crtscts > modem > domain domain.com > persist > user username Change the above user line to the username your ISP expects. Make a suitable entry in /etc/pap-secrets with your password for this username at the ISP. If the ISP does PAP then the connect will go much faster this way rather than negotiating the command line. Add these two lines so you don't have to spell them out when starting pppd (you really only want 57600? Not 115200?): /dev/cuaa1 57600 connect "chat -f /etc/ppp/dial.chat" Then a simple "pppd" should start your connection. "killall pppd" will bring it down. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message