RE: ppp prblem...chat script failed

2003-08-15 Thread Jud
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]


ppp prblem...chat script failed

2003-08-14 Thread Ali Nasseh
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


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ppp prblem...chat script failed

2003-08-14 Thread fbsd_user
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


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ppp prblem...chat script failed

2003-08-14 Thread Ali Nasseh
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, there's no line-break 
in set dial line of the configuration:

#
# 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



__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ppp prblem...chat script failed

2003-08-14 Thread Jonathan Chen
On Thu, Aug 14, 2003 at 02:18:23PM -0700, Ali Nasseh wrote:

[...]
  set phone 2531400
  set authname afra77300
  set authkey 68125288

You shouldn't have sent your username and password to a public
mailing-list. Now everyone knows how to access your account - change
your password quickly.

Onto the problems with your setup. Send the list your /var/log/ppp.log
so that we can see what's happening.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  If you're right 90% of the time, why quibble about the remaining 3%?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]