Subject: Re: PAP in ppp, help!
To: None <bwildasi@csulb.edu>
From: Michael G. Schabert <mikeride@prez.buf.servtech.com>
List: port-mac68k
Date: 09/08/1997 17:21:28
>I'm still trying to get a PPP connection using PAP in netbsd1.2G-6/1/97
<snip>
>BTW this all seems like a lot of work compared to typing in a couple of
>fields of info in ConfigPPP which is all i needed to get a valid
>connection under MacOS.

Hey, this is do-it-yourself Un*x, what do you expect??? If you want a
un*x-in-a-box where everything's been done for you, then you've come to the
wrong place. Go out and buy Solaris and a PC. If, however, you are
interested in tinkering & learning more about un*x, then here's what you
want to do.

>works find. Using ZTerm here's what my school's computer says:
>
>   ---------------example #1:
>   AT&FE1V1Q0&A3&B1&H1&R2&D0&C1x450
>
>   CONNECT 33600/ARQ/V34/LAPM/V42BIS CSULB
>
>   AutoProtocolDefect - Begin protocol or enter 4 returns for
>interactive
>   mode.
>
>   ---------------example#2:
>   AT&FE1V1Q0&A3&B1&H1&R2&D0&C1x450
>   CONNECT 31200/ARQ/V34/LAPM/V42BIS CSULB
>   AutoProtocolDefect - Begin protocol or enter 4 returns for
>interactive
>   mode.
>
>   <4 returns>
>         Welcome to CSU Long Beach Remote Access Networks
>   1. ACS Unix systems  - VANILLA         11. PPP    {PAP password
>required}
>   5. ENGR Unix systems - CHEETAH
>   6. ENGR Unix systems - HEART
>   7. ENGR Unix systems - BOLT
>   9. Testing Office VAX system           19. Server Maintenance
>                                          20. Disconnect/Hang-up.
>Enter number of selection or use arrow keys:
>press <RETURN>  to continue...

OK, if you payed attention, you'd see that you want your Mac to wait for
the keys: prompt, and then press 11. So, for this, you probably want your
chat script to start off with something like:

ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIAL"
TIMEOUT 10
"" ATZ OK AT&FE1V1L1M1&Q5&K3m0
OK ATDT$NUMBER
TIMEOUT 60
CONNECT ""
""
""
""
""
keys: 11

You may be able to leave off the part after the connect line, because of
the autodetect, but I can't guarantee that it will work. Now, you need to
(if you haven't already)

Make a /etc/ppp/pap-secrets file and put in it:
* * <your password>

Add a line to /etc/ppp/options which contains:
user (your user name)


This should get you fully working assuming that you entered the info in the
other files correctly (you should be entering the same info as in MacTCP &
FreePPP).

HTH
Mike


ps, I'm also not fully positive on giving blank returns in the chat script.
They MAY need to be:
"" ""
"" ""
"" ""
"" ""
but I doubt it.

Bikers don't *DO* taglines.