Subject: PPP with PAP
To: None <port-mac68k@NetBSD.ORG>
From: Tristan Doherty <ristar@abacom.com>
List: port-mac68k
Date: 03/31/1997 18:19:29
I finally got chat working, it dials my modem and makes it happy.
Unfourtunately, though my ISP dosen't use text-based login, it uses PAP for
authentication. So, like a good user should, I obligingly made the
pap-secrets file and hoped for the best. Too bad the best never happens the
first time. :)

I'm not sure about my pap-secrets file, so here is the line that I use in
it (edited, of course):

	*.abacom.com <my login> <my pass>

And here is my ppp-up script:

#!/bin/sh

/usr/sbin/pppd /dev/tty00 1200 connect '/usr/sbin/chat -v " ATDT8202404
CONNECT "" '\ crtscts defaultroute noipdefault modem +pap

When I run ppp-up, it says "defaultroute: not found" and I get the
following chat-error.log:

Mar 31 14:32:20 homer chat[326]: send (ATDT8202404^M)
Mar 31 14:32:20 homer chat[326]: expect (CONNECT)
Mar 31 14:32:34 homer chat[326]: ATDT8202404^M^M
Mar 31 14:32:34 homer chat[326]: CONNECT -- got it
Mar 31 14:32:34 homer chat[326]: send (^M)
Mar 31 14:32:34 homer chat[326]: expect (crtscts)
Mar 31 14:32:34 homer chat[326]:  1200^M
Mar 31 14:32:40 homer chat[326]: *******************^M
Mar 31 14:32:40 homer chat[326]: * INTERNET ABACOM *^M
Mar 31 14:32:41 homer chat[326]: *******************^M
Mar 31 14:32:41 homer chat[326]: ^M
Mar 31 14:32:41 homer chat[326]: Les VRAIS leaders / The REAL leaders^M
Mar 31 14:32:41 homer chat[326]: (819) 820-2929^M
Mar 31 14:32:41 homer chat[326]: ^M
Mar 31 14:32:41 homer chat[326]: Partenaire IStar Internet^M
Mar 31 14:32:41 homer chat[326]: ^M
Mar 31 14:32:41 homer last message repeated 2 times
Mar 31 14:33:19 homer chat[326]: access2 login:
Mar 31 14:33:19 homer chat[326]: alarm
Mar 31 14:33:19 homer chat[326]: Failed


And I get this pppd-error.log:

Mar 31 14:32:18 homer pppd[324]: pppd 2.3.0 started by ristar, uid 0
Mar 31 14:33:19 homer pppd[324]: Connect script failed
Mar 31 14:33:21 homer pppd[324]: unable to delete pid file: Is a directory
Mar 31 14:33:21 homer pppd[324]: Exit.

It seems to me that everything is fine, until it comes to the
authentication, and from the chat-error, I don't think it's quite getting
to that point. Could someone help me get this working once and for all.

FYI: I've got an old 1200 bps Abaton Interfax that's Hayes compatible. It
works fine from MacOS and from tip.

Thanks,
-Tristan

------------------------------------------------------
Tristan Doherty                      ristar@abacom.com