-
pppd call problem
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
-
Re: pppd call problem
Alen192 <alessandro.narzisi@gmail.com> writes:[color=blue]
> 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[/color]
You're not using CHAP. The peer is demanding EAP, and you're agreeing
to it:
[color=blue]
> 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]>][/color]
Note "<auth eap>" there.
[color=blue]
> 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][/color]
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.
[color=blue]
> Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
> (^Skj^X^@<M-Mt^@^@^CM-.)[/color]
[...][color=blue]
> Can you said me what is the meaning of LCP terminated by peer
> (^Skj^X^@<M-Mt^@^@^CM-.) ? Thanks for your help.[/color]
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 <james.d.carlson@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
-
Re: pppd call problem
Alen192 <alessandro.narzisi@gmail.com> writes:
[color=blue]
>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[/color]
It wants callback, you refused. I suspect that is the problem.
[color=blue]
>in log USERNAME and PASSWORD (i think) -)[/color]
[color=blue]
>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>][/color]
They asked for callback you refuse.
They keep going for a while, but that is probably irrelevant.
[color=blue]
>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][/color]
No there should not have been any password there. A term req is a request
to terminate the connection.
[color=blue]
>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.[/color]
[color=blue]
>Can you said me what is the meaning of LCP terminated by peer
>(^Skj^X^@<M-Mt^@^@^CM-.) ? Thanks for your help.[/color]
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.
[color=blue]
>Bye[/color]
-
Re: pppd call problem
Hello,
Unruh a écrit :[color=blue]
> Alen192 <alessandro.narzisi@gmail.com> writes:
>[color=green]
>>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[/color]
>
> It wants callback, you refused. I suspect that is the problem.[/color]
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.
[color=blue][color=green]
>>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>][/color]
>
> They asked for callback you refuse.[/color]
But as you can see the peer sends a new LCP configure request without
the rejected options, then pppd accepts and things go on :
[color=blue]
> Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1[color=green]
>><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]>][/color][/color]
[...]
[color=blue][color=green]
>>Can you said me what is the meaning of LCP terminated by peer
>>(^Skj^X^@<M-Mt^@^@^CM-.) ? Thanks for your help.[/color]
>
> 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.[/color]
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.
-
Re: pppd call problem
Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> writes:
[color=blue]
>Hello,[/color]
[color=blue]
>Unruh a écrit :[color=green]
>> Alen192 <alessandro.narzisi@gmail.com> writes:
>>[color=darkred]
>>>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[/color]
>>
>> It wants callback, you refused. I suspect that is the problem.[/color][/color]
[color=blue]
>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.[/color]
?? 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.
[color=blue][color=green][color=darkred]
>>>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>][/color]
>>
>> They asked for callback you refuse.[/color][/color]
[color=blue]
>But as you can see the peer sends a new LCP configure request without
>the rejected options, then pppd accepts and things go on :[/color]
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.
[color=blue][color=green]
>> Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1[color=darkred]
>>><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]>][/color][/color][/color]
Note that they come back with ONE additional request, and then quit.
[color=blue][color=green][color=darkred]
>>>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]>][/color][/color][/color]
[color=blue]
>[...][/color]
[color=blue][color=green][color=darkred]
>>>Can you said me what is the meaning of LCP terminated by peer
>>>(^Skj^X^@<M-Mt^@^@^CM-.) ? Thanks for your help.[/color]
>>
>> 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.[/color][/color]
[color=blue]
>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.[/color]