pppd call problem - PPP

This is a discussion on pppd call problem - PPP ; 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 ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: pppd call problem

  1. 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
    ]
    Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0

    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
    < 17 04 00 9e>]
    Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfAck id=0x1
    ]
    Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1

    00.00.00.00]>]
    Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1

    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 ]
    Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
    Identity ]
    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^@ 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^@ Bye

  2. Re: pppd call problem

    Alen192 writes:
    > 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
    to it:

    > Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
    >
    > > 00.00.00.00]>]


    Note "" there.

    > Nov 30 18:48:01 localhost pppd[3866]: rcvd [EAP Request id=0x1
    > Identity ]
    > Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
    > Identity ]
    > 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.

    > Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
    > (^Skj^X^@
    [...]
    > Can you said me what is the meaning of LCP terminated by peer
    > (^Skj^X^@

    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 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

  3. Re: pppd call problem

    Alen192 writes:

    >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.


    >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
    > ]
    >Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
    >
    > >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
    > < 17 04 00 9e>]


    They asked for callback you refuse.
    They keep going for a while, but that is probably irrelevant.


    >Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfAck id=0x1
    > ]
    >Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
    >
    > >00.00.00.00]>]
    >Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
    >
    > >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 ]
    >Nov 30 18:48:01 localhost pppd[3866]: sent [EAP Response id=0x1
    >Identity ]
    >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.


    >Nov 30 18:48:01 localhost pppd[3866]: LCP terminated by peer
    >(^Skj^X^@ >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^@

    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.

    >Bye


  4. Re: pppd call problem

    Hello,

    Unruh a écrit :
    > Alen192 writes:
    >
    >>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.

    >>Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
    >>
    >> >>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
    >> < 17 04 00 9e>]

    >
    > They asked for callback you refuse.


    But as you can see the peer sends a new LCP configure request without
    the rejected options, then pppd accepts and things go on :

    > Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
    >>
    >> >>00.00.00.00]>]
    >>Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
    >>
    >> >>00.00.00.00]>]


    [...]

    >>Can you said me what is the meaning of LCP terminated by peer
    >>(^Skj^X^@
    >
    > 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.

  5. Re: pppd call problem

    Pascal Hambourg writes:

    >Hello,


    >Unruh a écrit :
    >> Alen192 writes:
    >>
    >>>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.



    >>>Nov 30 18:48:00 localhost pppd[3866]: rcvd [LCP ConfReq id=0x0
    >>>
    >>> >>>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
    >>> < 17 04 00 9e>]

    >>
    >> They asked for callback you refuse.


    >But as you can see the peer sends a new LCP configure request without
    >the rejected options, then pppd accepts and things go on :


    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.



    >> Nov 30 18:48:01 localhost pppd[3866]: rcvd [LCP ConfReq id=0x1
    >>>
    >>> >>>00.00.00.00]>]


    Note that they come back with ONE additional request, and then quit.


    >>>Nov 30 18:48:01 localhost pppd[3866]: sent [LCP ConfAck id=0x1
    >>>
    >>> >>>00.00.00.00]>]


    >[...]


    >>>Can you said me what is the meaning of LCP terminated by peer
    >>>(^Skj^X^@
    >>
    >> 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.