I'm trying to get hooked up to my ISP with Linux and PPP, but I keep
getting weird PAP authentication errors, regardless of what I try.
My current configuration: I'm running RedHat v5.0 with ppp-2.3.3-2 (I
replaced the stock v5.0 ppp with this, because I heard the ppp package
that came with RedHat was buggy.) I'm trying to connect to my ISP (Europa)
with this script:
-rwxr-xr-x 1 root root /etc/ppp/europa
#!/bin/sh
/usr/sbin/pppd -d connect "chat -v '' ATZ OK ATDT2226800 CONNECT"
...using these options:
-rw-r--r-- 1 root daemon /etc/ppp/options
/dev/modem
115200
crtscts
defaultroute
noipdefault
asyncmap 0
name basehead
lock
...and this pap-secrets file:
-rw------- 1 root daemon /etc/ppp/pap-secrets
basehead * password-removed
(The three items above are seperated with tabs.)
I run my europa script as root, and all goes well until:
May 9 16:34:10 solidarity chat[588]: CONNECT
May 9 16:34:10 solidarity chat[588]: -- got it
May 9 16:34:11 solidarity pppd[587]: Using interface ppp0
May 9 16:34:11 solidarity pppd[587]: Connect: ppp0 <--> /dev/modem
May 9 16:34:12 solidarity pppd[587]: Remote message:
May 9 16:34:12 solidarity pppd[587]: PAP authentication failed
May 9 16:34:12 solidarity pppd[587]: LCP terminated by peer
May 9 16:34:15 solidarity pppd[587]: Connection terminated.
May 9 16:34:15 solidarity pppd[587]: Hangup (SIGHUP)
My username and password are both correct, and I know that my ISP uses
PAP. Win95 worked just fine with the same username and password, using
PAP, yadda yadda.
Initially, I tried to get this working using RedHat's "netcfg" tool and
the stock scripts (/etc/ppp/sysconfig/network-scripts), and I had the
_exact_ same problem. I then upgraded my ppp package and tried to keep it
simple by just writing a script myself, but it didn't do any good, as you
can see.
I have a feeling I'm missing something horribly obvious here, but I've
read the PPP HOWTO and the PPP FAQ and I've tweaked lots of settings, all
to no avail. If anyone has any ideas, I'd love to hear them.
Thanks in advance,
Michael
--
A Town Called Malice
http://www.europa.com/~basehead/bbs