Mark D. Buck wrote:
> 2) I create a pap-secrets file with an entry like:
> <my isp user name> * <my isp password>
**Blammo!** The out-of-date documentation strikes again.
If you're using a recent version of pppd, you *must* include the fourth
field in pap-secrets (the list/range of acceptable IP addresses)
> 3) I truncate my ppp-on-dialer file after the CONNECT line
Yuk. Why on earth do people use all these damn scripts? I would advocate
calling pppd directly: "pppd call isp" for example, where /etc/peers/isp
is an option file specific to that connection, and contains stuff like:
asyncmap 20a0000
crtscts
escape ff
lock
modem
netmask 255.255.255.0
noipdefault
defaultroute
connect "/usr/sbin/chat -v -f /etc/ppp/chatscripts/hizz-pap"
name hizz
57600
/dev/ttyS0
demand
idle 300
holdoff 10
212.228.53.127:158.152.1.222
#kdebug 7
#debug
ipcp-accept-remote
ipcp-accept-local
Which, together with my /etc/ppp/options file:
asyncmap 20a0000
crtscts
escape ff
lock
modem
netmask 255.255.255.0
noipdefault
debug
and my chatscript (mentioned in the isp file) which I'm not going to
include 'cos it's got my password in it, allows me to get a
demand-dialled PAP-authenticated session nice & simply.
> I get connected to my ISP, but I don't get logged in. My debug file
> indicates that I'm sending LCP conf req's but am not receiving anything
> from the other server. My syslog confirms this as well indicated a
> timeout sending LCP config-requests. There is also an indication that
> "serial link is not 8 bit clean"
This usually means that the server is still sending ASCII text, and
therefore that your chatscript has finished too early, giving pppd
control before the server's finished prompting you for stuff. Why it's
prompting you for stuff if you're trying to do PAP is a different
question... show us your chat script and maybe we'll be able to help;
usually it should finish right after it's got the "CONNECT" string from
the modem, and pppd should start up *before* you get a login prompt.
Then the server notices that ppp has started, and realises that you
don't want a login prompt.
--
Nick Phillips ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]