Discussion:
IPCP gets interrupted suddenly
(too old to reply)
a***@gmail.com
2012-09-28 17:25:26 UTC
Permalink
Hi everybody,

I'm fighting against an IPCP issue which I've never seen. I'm working on
a Debian 5.0 (lenny) distribution with PPPD v.2.

After a successfully PAP autentication, my computer starts IPCP by sending option
0x01 (IP addresses) with all zeroes (I want my address and DNS addresses set by
server).
The second frame I see is the server proposal of its address which is immediately
acknoledged.
What I would expect is an acknoledge of server at my first request which never
arrives. Then PPPD hangs up the line.

Following you can find the log of the conversation:

Serial connection established.
using channel 14
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS4
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9c32b350> <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x9c32b350>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xe8d43500>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xe8d43500>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x9c32b350>]
sent [LCP EchoReq id=0x0 magic=0x9c32b350]
sent [PAP AuthReq id=0x1 user="pippo" password="pluto"]
rcvd [LCP EchoRep id=0x0 magic=0x16d53500]
rcvd [PAP AuthAck id=0x1 "Welcome!"]
Remote message: Welcome!
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.202.1>]
sent [IPCP ConfAck id=0x1 <addr 192.168.202.1>]
Hangup (SIGHUP)
Modem hangup
Connection terminated.

Any idea ?

Best Regards

/Alessandro
James Carlson
2012-11-18 00:08:52 UTC
Permalink
Post by a***@gmail.com
I'm fighting against an IPCP issue which I've never seen. I'm working on
a Debian 5.0 (lenny) distribution with PPPD v.2.
Any chance this is 3GPP? 3G connections are weird; they don't follow
the IETF standards for PPP. In particular, they do the authentication
during the IPCP exchange rather than during the normal PPP
Authentication phase. If your user name and/or pass phrase were
incorrect, or if your service weren't authorized for PPP, then the sort
of behavior you're seeing would be expected, at least on 3G.
Post by a***@gmail.com
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.202.1>]
sent [IPCP ConfAck id=0x1 <addr 192.168.202.1>]
Hangup (SIGHUP)
Two suggestions:

1. Try with "default-asyncmap." It's possible that the link is
having trouble with control characters.

2. Talk to the owner of the server. Clearly, the server has hung up
on you. Most likely, only the server could know why it has done this.
Loading...