Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2003 08:01:04 -0400
From:      "Jud" <judmarc@fastmail.fm>
To:        fbsd_user@a1poweruser.com, "Ali Nasseh" <a_nasseh@yahoo.com>, questions@freebsd.org
Subject:   RE: ppp prblem...chat script failed
Message-ID:  <20030815120104.EF12772C28@smtp.us2.messagingengine.com>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGEEKBEDAA.fbsd_user@a1poweruser.com>
References:  <MIEPLLIBMLEEABPDBIEGEEKBEDAA.fbsd_user@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Aug 2003 15:51:56 -0400, "fbsd_user"
<fbsd_user@a1poweruser.com> 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: <URL:
http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html>.  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030815120104.EF12772C28>