From owner-freebsd-questions@FreeBSD.ORG Fri Aug 15 05:04:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1EBA37B401 for ; Fri, 15 Aug 2003 05:04:46 -0700 (PDT) Received: from mail.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E59A43FAF for ; Fri, 15 Aug 2003 05:04:44 -0700 (PDT) (envelope-from judmarc@fastmail.fm) Received: from smtp.us2.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 07AEFB5AF6; Fri, 15 Aug 2003 08:01:05 -0400 (EDT) Received: from 10.202.2.133 ([10.202.2.133] helo=smtp.us2.messagingengine.com) by messagingengine.com with SMTP; Fri, 15 Aug 2003 08:01:06 -0400 Received: by smtp.us2.messagingengine.com (Postfix, from userid 99) id EF12772C28; Fri, 15 Aug 2003 08:01:04 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Jud" To: fbsd_user@a1poweruser.com, "Ali Nasseh" , questions@freebsd.org Date: Fri, 15 Aug 2003 08:01:04 -0400 X-Epoch: 1060948866 X-Sasl-enc: Q/4rkStfSeNC+B3/lRRmxQ References: In-Reply-To: Message-Id: <20030815120104.EF12772C28@smtp.us2.messagingengine.com> Subject: RE: ppp prblem...chat script failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 12:04:47 -0000 On Thu, 14 Aug 2003 15:51:56 -0400, "fbsd_user" said: > Your ppp.conf has line rap for set dial command. Line following set > dial is part of the set dial command and can not start in pos 1. > Go back to the original sample ppp.conf and correct you line rap > errors and test again. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Ali Nasseh > Sent: Thursday, August 14, 2003 2:03 PM > To: questions@freebsd.org > Subject: ppp prblem...chat script failed > > hi, > i've done all instructions from the freebsd handbook > to run the ppp accurately. i load the changes... but > what i see is not more than "chat script failed". i'm > confused and i can't download the ports. because i > have no internet connection. please help me ... > here's the ppp.conf settings: > > ################################################################# > # PPP Sample Configuration File > # Originally written by Toshiharu OHNO > # Simplified 5/14/1999 by wself@cdrom.com > # > # See /usr/share/examples/ppp/ for some examples > # > # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.5 2001/07/13 > 10:55:23 brian Exp $ > ################################################################# > > default: > set log Phase Chat LCP IPCP CCP tun command > ident user-ppp VERSION (built COMPILATIONDATE) > > # Ensure that "device" references the correct serial > port > # for your modem. (cuaa0 = COM1, cuaa1 = COM2) > # > set device /dev/cuaa1 > > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 > \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 > CONNECT" > set timeout 180 # 3 minute idle timer (the > default) > enable dns # request DNS info (for > resolv.conf) > set ifaddr 10.0.0.2 10.0.0.0 255.255.255.255 0.0.0.0 > # set redial 3 10 > papchap: > # > # edit the next three lines and replace the items in > caps with > # the values which have been assigned by your ISP. > # > > set phone "2531400" > set authname afra77300 > set authkey 68125288 > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > 0.0.0.0 > add default HISADDR # Add a (sticky) default > route > > > ############### end of ppp.conf ##################### > > > > regds, > ali nasseh To fbsd_user: The line wrap may be something introduced by a mailer rather than the way ppp.conf is actually formatted. To Ali Nasseh: The best article I've found describing ppp setup in a thorough, easy way is at the following link: . Since the article was written, an additional requirement to connect has been introduced - a non-root user who wishes to connect using ppp over a dialup connection must be a member of the 'dialer' group. Hope this helps, Jud