Hi
Can any ppp guru advise on this difficulty. I don't want to upgrade
unnecessarily ('cos it always goes wrong in my experience). Platform is
bog standard RH5.2 Linux with ppp version 2.3.5-1.
I have a few ISPs (one main one and another free one that can act as a
backup) and today got a BTInternet logon because it offers free telephone
calls (0800 in the UK) for evening and weekend work. I can change between
them by a simple script that overwrites the appropriate files in /etc.
However I wanted to have the same user name j.logsdon but this seems to
cause a problem with the other ISP connection. BTInternet should be using
CHAP and the other (Zen Internet in fact) should be using PAP so I thought
they wouldn't conflict.
I don't seem to be able to suppress pppd from reading the pap-secrets file
even tho' I put require-chap in the options file. If I also put
refuse-pap then it still clocks out with BT sending me PAP messages that
are refused. I attach a brief debug output from the ppp-log file where
both require-chap and refuse-pap are present:
It kicks off OK:
Apr 1 11:58:31 mercury pppd[4557]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <auth chap 05> <magic 0x94c5a854> <pcomp> <accomp>]
Apr 1 11:58:31 mercury pppd[4557]: rcvd [LCP ConfRej id=0x1 <pcomp>
<accomp>]
Apr 1 11:58:31 mercury pppd[4557]: sent [LCP ConfReq id=0x2 <asyncmap
0x0> <auth chap 05> <magic 0x94c5a854>]
Apr 1 11:58:31 mercury pppd[4557]: rcvd [LCP ConfAck id=0x2 <asyncmap
0x0> <auth chap 05> <magic 0x94c5a854>]
Apr 1 11:58:31 mercury pppd[4557]: rcvd [LCP ConfReq id=0xdf <asyncmap
0x0> <auth pap> <magic 0x577a01c4>]
Apr 1 11:58:31 mercury pppd[4557]: sent [LCP ConfNak id=0xdf <auth chap
05>]
Then for some reason the received (BT to me) messages change to auth pap:
Apr 1 11:58:31 mercury pppd[4557]: rcvd [LCP ConfReq id=0xe0 <asyncmap
0x0> <auth pap> <magic 0x577a01c4>]
While I am trying to send auth chap:
Apr 1 11:58:31 mercury pppd[4557]: sent [LCP ConfNak id=0xe0 <auth chap
05>]
Apr 1 11:58:32 mercury pppd[4557]: rcvd [LCP ConfReq id=0xe1 <asyncmap
0x0> <auth pap> <magic 0x577a01c4>]
Apr 1 11:58:32 mercury pppd[4557]: sent [LCP ConfNak id=0xe1 <auth chap
05>]
Apr 1 11:58:32 mercury pppd[4557]: rcvd [LCP ConfReq id=0xe2 <asyncmap
0x0> <auth pap> <magic 0x577a01c4>]
This goes on for a bit then my system rejects the connection since it is
specifically told to refuse pap.
If I remove the refuse-pap line from my options file, then it tries to use
the pap-secrets file in preference and confuses itself with my other ISP
(that uses PAP). This is even though in both pap-secrets and
chap-secrets files I specify the servers explicitly.
Is there any other action that I could take other than asking BT to change
the username? Something seems wrong here - and to me at the moment it
seems as if BT shouldn't be sending stuff looking for pap auth. Am I
right?
John
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]