From owner-freebsd-questions Mon Jul 24 10:14:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.tiscalinet.be (smtp-out.tiscalinet.be [212.35.2.51]) by hub.freebsd.org (Postfix) with ESMTP id D6A3137BB57; Mon, 24 Jul 2000 10:14:04 -0700 (PDT) (envelope-from g-d-b@freegates.be) Received: from ppp-17-006.tiscalinet.be ([212.35.17.7] helo=gdb) by mail.tiscalinet.be with smtp (Exim on FreeGates) id 13Glng-0002H2-00; Mon, 24 Jul 2000 19:13:57 +0200 Message-ID: <000601bff592$cc37c2e0$071123d4@gdb> From: "GDB" To: "Mark Ovens" Cc: References: <000801bff4a0$4c3eec00$f70b23d4@gdb> <20000723135438.A236@parish> <000a01bff4b3$54b2f1c0$e30d23d4@gdb> <20000723191441.D236@parish> Subject: Re: PPP / chat script problems: PART III: THE SEARCH FOR ... Date: Mon, 24 Jul 2000 19:15:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG No, doesn't work, still "warning: chat script failed". I still have my 2 DNS numbers, where do I have to put them? ppp.conf: default: set device /dev/cuaa3 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT\\s115200" provider: set phone XXXXXXX set authname XXXXXXX set authkey XXXXXXX set timeout 120 set ifaddr 10.0.0.1/0 0.0.0.0 255.255.255.0 0.0.0.0 enable dns My ppp log file: Jul 24 18:51:26 myname ppp[223]: Phase: Using interface: tun0 Jul 24 18:51:26 myname ppp[223]: Phase: deflink: Created in closed state Jul 24 18:51:26 myname ppp[223]: Phase: PPP Started (interactive mode). Jul 24 18:51:29 myname ppp[223]: Phase: bundle: Establish Jul 24 18:51:29 myname ppp[223]: Phase: deflink: closed -> opening Jul 24 18:51:29 myname ppp[223]: Phase: deflink: Connected! Jul 24 18:51:29 myname ppp[223]: Phase: deflink: opening -> dial Jul 24 18:51:29 myname ppp[223]: Phase: Phone: XXXXXXX Jul 24 18:52:17 myname ppp[223]: Phase: deflink: dial -> hangup Jul 24 18:52:17 myname ppp[223]: Phase: deflink: Disconnected! Jul 24 18:52:17 myname ppp[223]: Phase: deflink: Connect time: 48 secs: 0 octets in, 0 octets out Jul 24 18:52:17 myname ppp[223]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 24 18:52:17 2000 Jul 24 18:52:17 myname ppp[223]: Phase: deflink: hangup -> closed Jul 24 18:52:17 myname ppp[223]: Phase: bundle: Dead Jul 24 18:53:48 myname ppp[223]: Phase: PPP Terminated (normal). Jul 24 18:53:50 myname ppp[224]: Phase: Using interface: tun0 Jul 24 18:53:50 myname ppp[224]: Phase: deflink: Created in closed state Jul 24 18:53:50 myname ppp[224]: Phase: PPP Started (interactive mode). Jul 24 18:54:23 myname ppp[224]: tun0: Command: /dev/tty: dial provider Jul 24 18:54:23 myname ppp[224]: tun0: Command: provider: set phone 092700420 Jul 24 18:54:23 myname ppp[224]: tun0: Command: provider: set authname XXXXXXXX Jul 24 18:54:23 myname ppp[224]: tun0: Command: provider: set authkey ******** Jul 24 18:54:23 myname ppp[224]: tun0: Command: provider: set timeout 120 Jul 24 18:54:23 myname ppp[224]: tun0: Command: provider: set ifaddr 10.0.0.1/0 0.0.0.0 255.255.255.0 0.0.0.0 Jul 24 18:54:23 myname ppp[224]: tun0: Command: provider: enable dns Jul 24 18:54:23 myname ppp[224]: tun0: Phase: bundle: Establish Jul 24 18:54:23 myname ppp[224]: tun0: Phase: deflink: closed -> opening Jul 24 18:54:23 myname ppp[224]: tun0: Phase: deflink: Connected! Jul 24 18:54:23 myname ppp[224]: tun0: Phase: deflink: opening -> dial Jul 24 18:54:23 myname ppp[224]: tun0: Phase: Phone: 092700420 Jul 24 18:54:23 myname ppp[224]: tun0: Chat: deflink: Dial attempt 1 of 1 Jul 24 18:54:23 myname ppp[224]: tun0: Chat: Send: AT^M Jul 24 18:54:23 myname ppp[224]: tun0: Chat: Expect(5): OK Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Expect timeout Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Send: AT^M Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Expect(5): OK Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Received: AT^M^M Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Received: OK^M Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Send: ATE1Q0^M Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Expect(5): OK Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Received: AT^M^M Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Received: OK^M Jul 24 18:54:28 myname ppp[224]: tun0: Chat: Send: ATDT092700420^M Jul 24 18:54:30 myname ppp[224]: tun0: Chat: Expect(40): CONNECT 115200 Jul 24 18:54:30 myname ppp[224]: tun0: Chat: Received: ATE1Q0^M^M Jul 24 18:55:11 myname ppp[224]: tun0: Chat: Expect timeout Jul 24 18:55:11 myname ppp[224]: tun0: Phase: deflink: dial -> hangup Jul 24 18:55:11 myname ppp[224]: tun0: Phase: deflink: Disconnected! Jul 24 18:55:11 myname ppp[224]: tun0: Phase: deflink: Connect time: 48 secs: 0 octets in, 0 octets out Jul 24 18:55:11 myname ppp[224]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 24 18:55:11 2000 Jul 24 18:55:11 myname ppp[224]: tun0: Phase: deflink: hangup -> closed Jul 24 18:55:11 myname ppp[224]: tun0: Phase: bundle: Dead Any ideas? Meanwhile, I'm going to read the BSD handbook chapter "PPP"... Thanks anyway... ----- Original Message ----- From: Mark Ovens To: GDB Cc: Sent: Sunday, July 23, 2000 8:14 PM Subject: Re: PPP / chat script problems: PART II: A NEW BEGINNING > On Sun, Jul 23, 2000 at 04:36:03PM +0200, GDB wrote: > > Here's my ppp.conf script: > > > > default: > > set device /dev/cuaa3 > > set speed 115200 > > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ > > OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT \"\"" > > provider > > set phone "" > ^^^^^^^^^^^^^ > > I take it that you really have a number here? > > > set login > > Remove/comment out this, unless your ISP requires a Unix-style > login/password login (probably not). > > > set authname xxxxxxx > > set authkey xxxxxxxx > > set timeout 120 > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 # I think I have > ^^^^^^^^^^^^^ > > 0.0.0.0 > > > to change the first 2 by my ISP DNSs, > > this line is nothing to do with DNS, it's for using dynamic IP > addresses. If your ISP gives you a static IP this line is totally > wrong anyway. > > > > > # right? > > add default HISADDR > > Redundant, but harmless. > > > enable dns > > > > Then I do: > > #ppp > > dial provider > > > > warning: chat script failed > > How long after the dialling finishes before this warning appears? > > > >quit > > # > > > > That's all I did. I tried to connect to my ISP manually, but I have > > difficulties typing in the username and password. After typing in "term" in > > ppp, the last character I typed does not appear on the screen. after typing > > in ATDT, the following text appears when I hit once more: > > CONNECT 1520 (NOT 15200, really 1520) plus some other text, date and > > time, when I type once again: > > > > Uh. this sounds familiar, it's to do with local echoing (if we really > need it I'll have to look it up). You shouldn't need to do this > anyway, your ISP almost certainly uses PAP or CHAP so once we've got > ppp.conf sorted this becomes academic. > > Try the above mods and if you still have problems add: > > set log chat command connect hdlc ipcp lcp phase tcp/ip tun > > to ppp.conf and see what appears in /var/log/ppp.log. > > BTW, I've added -questions back to the Cc:. You should always do this, > not because I don't want to help, but because if I can't sort it out > everyone else will see and there's a good chance someone else will > jump in and help out. > > > User access verification > > username: > > password: > > > > These 3 lines do not appear in a nice way, only parts of it, I have to type > > a couple of times. So that makes it difficult to just type in my > > name and password. > > > > NOTE 1: I prefer not to use unix-style login because in a couple of months, > > we are in the year 2001. > > NOTE 2: I did not change anything else; I installed BSD and want Internet > > access ASAP before I do anything else. > > > > > > > > > > ----- Original Message ----- > > From: Mark Ovens > > To: GDB > > Cc: > > Sent: Sunday, July 23, 2000 2:54 PM > > Subject: Re: PPP / chat script problems > > > > > > > On Sun, Jul 23, 2000 at 02:19:48PM +0200, GDB wrote: > > > > Hello, > > > > > > > > my problem: PPP always says "chat script failed" > > > > > > > > I have FreeBSD 3.2, a Rockwell 33.6 Fax Modem non-PnP. Everything > > > > works fine under Windows 98. Under BSD my modem dials, so the modem > > > > really works. It is the chat script which does not work. Can someone > > > > give me some tips how to write a chat script which works fine for my > > > > modem? > > > > > > > > > > You will have to give us something to go on ;) > > > > > > Post your current /etc/ppp/ppp.conf. *Don't forget* to remove your > > > authname and authkey before posting! > > > > > > > > > > > > > > > > > > > > > -- > > > If I buy a copy of WinDelete, and it doesn't delete Windows, > > > am I entitled to my money back? > > > ________________________________________________________________ > > > FreeBSD - The Power To Serve http://www.freebsd.org > > > My Webpage http://ukug.uk.freebsd.org/~mark/ > > > mailto:marko@freebsd.org http://www.radan.com > > > > > > > > > > -- > If I buy a copy of WinDelete, and it doesn't delete Windows, > am I entitled to my money back? > ________________________________________________________________ > FreeBSD - The Power To Serve http://www.freebsd.org > My Webpage http://ukug.uk.freebsd.org/~mark/ > mailto:marko@freebsd.org http://www.radan.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message