On Fri, 7 Apr 2000, Simon Yeh wrote:
|Problem:
| Ppp failed to dialing out to my ISP. My ISP requires id and password
| for login, dynamic IP assignment, no PAP/CHAP required.
How did you determine the ISP doesn't require PAP or CHAP? The log says
otherwise and I'd trust that over anything lower-level ISP personnel may
have said. It's likely they don't know PAP from CHAP from secret knocks.
[edited]
| Serial connection established.
| Using interface ppp0
| Connect: ppp0 <--> /dev/modem
| sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp>
|<accomp>]
| sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp>
|<accomp>]
| rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x21d80d91> <pcomp>
|<accomp> <auth pap>]
| sent [LCP ConfRej id=0x1 <auth pap>]
| rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MD5> <magic
|0x21d80d91> <pcomp> <accomp>]
| sent [LCP ConfRej id=0x2 <auth chap MD5>]
| rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x21d80d91> <pcomp>
|<accomp>]
| sent [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0x21d80d91> <pcomp>
|<accomp>]
That's pretty clear. The ISP wants PAP or CHAP authentication, you aren't
configured to provide either. So the ISP brings the LCP negotiation to
Open state, and then it quietly steals away...
| sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp>
|<accomp>]
| sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8d2e27e2> <pcomp>
|<accomp>]
| Modem hangup
| Connection terminated.
| #####
leaving pppd flapping in the breeze. It didn't even bother to properly
terminate the LCP negotiations.
Dump the password/login scripting and configure for PAP and/or CHAP.
When an ISP wants PAP or CHAP authentication it usually doesn't need
a login/password entry too.
The chat -t 240 timeout you have configured is rather large. If it really
seems to be necessary then you might check to make sure the IRQ configured
for the device file is the one that the modem's serial port actually uses.
The 45 second chat default timeout is usually more than enough.
---
Clifford Kite Not a guru. (tm)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]