Subject: Re: secrets
To: Jym & Sharon Brittain <boleyhs@brightok.net>
From: Frederick Bruckman <fredb@fb.sa.enteract.com>
List: port-mac68k
Date: 05/29/1998 10:42:51
On Thu, 28 May 1998, Jym & Sharon Brittain wrote:
> Awhile back. before suffering a massive disk failure, I had NetBSD up and
> running connecting to my ISP with a PPP connection using chap
> authorization. Being the manly man type that I am [insert fool here] I
> never backed up my bookmarks on where I collected it from.
>
> I know it was a collection of pppd scripts. One of them was called
> chap-secrets. If this rings a bell to anyone, please pass the url on to me.
chap-secrets isn't a script--it contains your password(s) for your ISP.
See `man pppd' for the explanation of how it's constructed. The following
one-liner will probably work, assuming everything else is correct.
boleyhs * your-password *
That goes in /etc/ppp/chap-secrets. /etc/ppp/options should look something
like this:
tty00 38400 lock crtscts # fill in the correct port for your modem
name boleyhs noauth # "noauth" means don't ask your isp for a password!
connect "chat -f /etc/ppp/brightok.chat"
ipcp-accept-any
defaultroute
You can elaborate little-by-little after studying the man page.
The hardest part might be getting the chat script right for your modem.
Here's mine. (Some variation of this goes in /etc/ppp/brightok.chat.)
REPORT CONNECT
REPORT NO
REPORT BUSY
ABORT NO\sCARRIER
ABORT NO\sANSWER
ABORT NO\sDIAL\sTONE
ABORT BUSY
'' AT
OK 'AT&FE0W2&C1&D2&K3'
OK 'ATS0=0'
OK 'ATDT585-3228'
\r\n \c
\r\n \c
ogin:
With those three files in place, just typing `pppd' on the command line
should dial the phone, and fire up the connection. Maybe. :/
Hope this helps. Have fun!