On Thu, 14 Aug 2003 15:51:56 -0400, "fbsd_user"
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Ali Nasseh
> Sent: Thursday, August 14, 2003 2:03 PM
> To: [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
> #
> # 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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to