Discussion:
pppd call problem
(too old to reply)
Alen192
2007-11-30 19:04:41 UTC
Permalink
Hello, i have a problem with pppd, i try to connect the RAS Server Win
2003) of my factory network, but the pppd disconnect me after the
authentication. The syslog is the following, i use chap and i change
the init string of the modem and the syslog is the following (i change
in log USERNAME and PASSWORD (i think) -)


Nov 30 18:47:59 localhost pppd[3866]: Serial connection established.
Nov 30 18:47:59 localhost pppd[3866]: using channel 4
Nov 30 18:47:59 localhost pppd[3866]: Using interface ppp0
Nov 30 18:47:59 localhost pppd[3866]: Connect: ppp0 <--> /dev/ttyS0
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x12ae2fd> <pcomp> <accomp>]
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<callback CBCP> <mrru 1614> <endpoint [local:c2.b2.b3.2d.53.df.4a.
0e.b6.a0.d3.9d.79.c9.92.ef.00.00.00.00]> < 17 04 00 9e>]
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfRej id=0x0
<callback CBCP> <mrru 1614> < 17 04 00 9e>]
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <magic 0x12ae2fd> <pcomp> <accomp>]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP EchoReq id=0x0
magic=0x12ae2fd]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [EAP Request id=0x1
Identity <No message>]
Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
Identity <Name "USERNAME">]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP EchoRep id=0x0
magic=0x136b6a18]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP TermReq id=0x3 I THINK
THAT HERE THERE IS THE PASSWORD]
Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
(^Skj^X^@<M-Mt^@^@^CM-.)
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP TermAck id=0x3]
Nov 30 18:48:01 localhost pppd[3866]: Hangup (SIGHUP)
Nov 30 18:48:01 localhost pppd[3866]: Modem hangup
Nov 30 18:48:01 localhost pppd[3866]: Connection terminated.
Nov 30 18:48:02 localhost pppd[3866]: Exit.

Can you said me what is the meaning of LCP terminated by peer
(^Skj^X^@<M-Mt^@^@^CM-.) ? Thanks for your help.
Bye
James Carlson
2007-11-30 22:19:46 UTC
Permalink
Post by Alen192
Hello, i have a problem with pppd, i try to connect the RAS Server Win
2003) of my factory network, but the pppd disconnect me after the
authentication. The syslog is the following, i use chap and i change
You're not using CHAP. The peer is demanding EAP, and you're agreeing
Post by Alen192
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
Note "<auth eap>" there.
Post by Alen192
Nov 30 18:48:01 localhost pppd[3866]: rcvd [EAP Request id=0x1
Identity <No message>]
Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
Identity <Name "USERNAME">]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP EchoRep id=0x0
magic=0x136b6a18]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP TermReq id=0x3 I THINK
THAT HERE THERE IS THE PASSWORD]
Huh? That's a termination request, not a password.

The only thing the peer asked for before giving up was your identity.
Apparently, this peer doesn't like you.
Post by Alen192
Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
[...]
Post by Alen192
Can you said me what is the meaning of LCP terminated by peer
It means the peer is silly. That *should* be plain text explaining
the problem, as part of the commentary on the failure. There are no
rules, though, about that, and some implementations put weird binary
garbage into the message.

In this case, the peer is trying (in its own way) to tell you that the
identity you provided is incorrect. Most likely, you shouldn't be
using EAP at all. I'd suggest adding "refuse-eap" to the
configuration if you can't convince that peer that asking about EAP is
wrong in the first place.
--
James Carlson, Solaris Networking <***@sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Unruh
2007-12-02 18:30:26 UTC
Permalink
Post by Alen192
Hello, i have a problem with pppd, i try to connect the RAS Server Win
2003) of my factory network, but the pppd disconnect me after the
authentication. The syslog is the following, i use chap and i change
the init string of the modem and the syslog is the following (i change
It wants callback, you refused. I suspect that is the problem.
Post by Alen192
in log USERNAME and PASSWORD (i think) -)
Nov 30 18:47:59 localhost pppd[3866]: Serial connection established.
Nov 30 18:47:59 localhost pppd[3866]: using channel 4
Nov 30 18:47:59 localhost pppd[3866]: Using interface ppp0
Nov 30 18:47:59 localhost pppd[3866]: Connect: ppp0 <--> /dev/ttyS0
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x12ae2fd> <pcomp> <accomp>]
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<callback CBCP> <mrru 1614> <endpoint [local:c2.b2.b3.2d.53.df.4a.
0e.b6.a0.d3.9d.79.c9.92.ef.00.00.00.00]> < 17 04 00 9e>]
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfRej id=0x0
<callback CBCP> <mrru 1614> < 17 04 00 9e>]
They asked for callback you refuse.
They keep going for a while, but that is probably irrelevant.
Post by Alen192
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <magic 0x12ae2fd> <pcomp> <accomp>]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP EchoReq id=0x0
magic=0x12ae2fd]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [EAP Request id=0x1
Identity <No message>]
Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
Identity <Name "USERNAME">]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP EchoRep id=0x0
magic=0x136b6a18]
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP TermReq id=0x3 I THINK
THAT HERE THERE IS THE PASSWORD]
No there should not have been any password there. A term req is a request
to terminate the connection.
Post by Alen192
Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP TermAck id=0x3]
Nov 30 18:48:01 localhost pppd[3866]: Hangup (SIGHUP)
Nov 30 18:48:01 localhost pppd[3866]: Modem hangup
Nov 30 18:48:01 localhost pppd[3866]: Connection terminated.
Nov 30 18:48:02 localhost pppd[3866]: Exit.
Can you said me what is the meaning of LCP terminated by peer
It means that your system is reporting to you that it is stopping because
the remote ssytem requested the connection be terminated. That junk is
precisely that, junk.
Post by Alen192
Bye
Pascal Hambourg
2007-12-03 22:05:45 UTC
Permalink
Hello,
Post by Unruh
Post by Alen192
Hello, i have a problem with pppd, i try to connect the RAS Server Win
2003) of my factory network, but the pppd disconnect me after the
authentication. The syslog is the following, i use chap and i change
the init string of the modem and the syslog is the following (i change
It wants callback, you refused. I suspect that is the problem.
I don't think so. My Windows system also ask for callback ; pppd rejects
the option and things just go on, the connection eventually succeeds. As
James said, it looks like an authentication issue.
Post by Unruh
Post by Alen192
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<callback CBCP> <mrru 1614> <endpoint [local:c2.b2.b3.2d.53.df.4a.
0e.b6.a0.d3.9d.79.c9.92.ef.00.00.00.00]> < 17 04 00 9e>]
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfRej id=0x0
<callback CBCP> <mrru 1614> < 17 04 00 9e>]
They asked for callback you refuse.
But as you can see the peer sends a new LCP configure request without
Post by Unruh
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
Post by Alen192
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
[...]
Post by Unruh
Post by Alen192
Can you said me what is the meaning of LCP terminated by peer
It means that your system is reporting to you that it is stopping because
the remote ssytem requested the connection be terminated. That junk is
precisely that, junk.
Yes, I have the same kind of junk in the LCP terminate request from my
Windows system, it seems to be typical of Windows PPP.
Unruh
2007-12-06 08:12:23 UTC
Permalink
Post by Alen192
Hello,
Post by Unruh
Post by Alen192
Hello, i have a problem with pppd, i try to connect the RAS Server Win
2003) of my factory network, but the pppd disconnect me after the
authentication. The syslog is the following, i use chap and i change
the init string of the modem and the syslog is the following (i change
It wants callback, you refused. I suspect that is the problem.
I don't think so. My Windows system also ask for callback ; pppd rejects
the option and things just go on, the connection eventually succeeds. As
James said, it looks like an authentication issue.
?? This does not follow. It asks for callback. You refuse. It a bit while
later quits. Now that may be a coincidence. Or it may notbe. Note that it
often happens that negotiations will continue even though something has
happened that ensures that the other side will never connect.
Post by Alen192
Post by Unruh
Post by Alen192
Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<callback CBCP> <mrru 1614> <endpoint [local:c2.b2.b3.2d.53.df.4a.
0e.b6.a0.d3.9d.79.c9.92.ef.00.00.00.00]> < 17 04 00 9e>]
Nov 30 18:48:00 localhost pppd[3866]: sent [LCP ConfRej id=0x0
<callback CBCP> <mrru 1614> < 17 04 00 9e>]
They asked for callback you refuse.
But as you can see the peer sends a new LCP configure request without
That does not mean much. Often the systems are set up to agree with
anything and only later decide that a rejected option was critical. It is
NOT necessary that they will immediately quit.
Yes, that is annoying and confusing.

You could try to test my hypothesis and respond by accepting callback and
see if the system gets further. Or you could call the other side and ask
them if they require callback.
Post by Alen192
Post by Unruh
Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
Post by Alen192
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
Note that they come back with ONE additional request, and then quit.
Post by Alen192
Post by Unruh
Post by Alen192
Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <auth eap> <magic 0x136b6a18> <pcomp> <accomp>
<endpoint [local:c2.b2.b3.2d.53.df.4a.0e.b6.a0.d3.9d.79.c9.92.ef.
00.00.00.00]>]
[...]
Post by Unruh
Post by Alen192
Can you said me what is the meaning of LCP terminated by peer
It means that your system is reporting to you that it is stopping because
the remote ssytem requested the connection be terminated. That junk is
precisely that, junk.
Yes, I have the same kind of junk in the LCP terminate request from my
Windows system, it seems to be typical of Windows PPP.
Loading...