Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2001 16:42:09 +0100
From:      John Murphy <jfm@blueyonder.co.uk>
To:        "Alex Samuels" <monstamacd@hotmail.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Modem / PPP Problems
Message-ID:  <kg72htok7r0272ohgo15eg9r41vjfog97g@4ax.com>
In-Reply-To: <F143T408Oh1pMuBeZVo00005526@hotmail.com>
References:  <F143T408Oh1pMuBeZVo00005526@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Alex Samuels" <monstamacd@hotmail.com> wrote:

>Hi, whenever I try to dial my ISP using either kppp (kde's version of =
ppp)=20
>or the command line ppp, I can never connect or even hear my modem =
dialing. =20
>I know that my modem is connected to the computer correctly and I know =
that=20
>the system recognizes my modem.  For some reason however, ppp will not =
work.=20
>  I know that the system recognizes my modem because when I activate it=20
>using ppp, the terminal light on it comes on.  My modem is a 56k 3com / =
us=20
>robotics external fax modem.  What happens when I activate my modem =
using=20
>the command line ppp is, after about 10 seconds or so, I get a message=20
>saying "Chat Script Failed"  when I activate my modem using kppp, it =
tells=20
>me that the modem is not responding.  Now I know that my modem is on the=
=20
>right port number (it is on cuaa0) because the terminal ready light =
comes=20
>on.  So in other words, my computer can send commands to my modem but =
for=20
>some reason, my modem is not sending anything back (at least thats what =
I=20
>think is going on).  I am thinking this may be an irq problem but then =
again=20
>I do not know much about irq conflicts or any of that.  But, can someone=
=20
>help me out here because I do not know where to begin on getting ppp to=20
>work.
>
>Below is a copy of my ppp.conf file, I have removed my username and =
password=20
>for obvious reasons.

# All commands inside sections that do not begin with ``!''
# (e.g., ``!include'') *must* be indented by at least
# one space or tab or they will not be recognized!

See below.
>
>
>#################################################################
># 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.1 2000/08/18 08:33:02 jhb Exp $
>#################################################################
>
>default:
>ident user-ppp VERSION (built COMPILATIONDATE)

Could be just the way your e-mail client has reproduced it,
but you'd need the line above indented by one (or more) spaces:
default:
 ident user-ppp VERSION (built COMPILATIONDATE)

>
># Ensure that "device" references the correct serial port
># for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2)
>#
>set device /dev/cuaa0
>
>set log Phase Chat LCP IPCP CCP tun command
>set speed 115200
>set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
>set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>set timeout 0			# 3 mintue idle timer (the default)
>add default HISADDR			# Add a (sticky) default route
>enable dns				# request DNS info (for resolv.conf)
>set login
>
>papchap:
>
>#
># edit the next three lines and replace the items in caps with
># the values which have been assigned by your ISP.
>#
>
>set phone "(973) 975 4283"
>set authname
>set authkey
Same for the three lines above.

There are some good examples in /usr/share/examples/ppp

HTH
John.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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