From owner-freebsd-questions Sun May 27 8:39:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blueyonder.co.uk (pcow028o.blueyonder.co.uk [195.188.53.124]) by hub.freebsd.org (Postfix) with ESMTP id 9930C37B423 for ; Sun, 27 May 2001 08:39:12 -0700 (PDT) (envelope-from jfm@blueyonder.co.uk) Received: from lexx.my.domain ([62.31.194.122]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.687.68); Sun, 27 May 2001 16:41:14 +0100 From: John Murphy To: "Alex Samuels" Cc: questions@FreeBSD.ORG Subject: Re: Modem / PPP Problems Date: Sun, 27 May 2001 16:42:09 +0100 Organization: poor Reply-To: jfm@blueyonder.co.uk Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Alex Samuels" 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