PPP problerm(LCP)... - PPP

This is a discussion on PPP problerm(LCP)... - PPP ; Hi, I'm working to test PPP server/client on 2 linux machine. dail and connect is done successfully. But, I think that LCP is not passed. client's contents is ... --------------------------------------- /usr/sbin/pppd debug lock modem crtscts /dev/tts/2 2400 \ $LOCAL_IP:$REMOTE_IP \ ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: PPP problerm(LCP)...

  1. PPP problerm(LCP)...

    Hi,
    I'm working to test PPP server/client on 2 linux machine.
    dail and connect is done successfully.
    But, I think that LCP is not passed.

    client's contents is ...
    ---------------------------------------
    /usr/sbin/pppd debug lock modem crtscts /dev/tts/2 2400 \
    $LOCAL_IP:$REMOTE_IP \
    noipdefault defaultroute connect $DIALER_SCRIPT
    ------------------------------
    LOCAL_IP=192.168.1.97
    REMOTE_IP=192.168.1.103
    DIALER_SCRIPT='' ATZ OK ATDT9999999 CONNECT ''
    ------------------------------

    server's contents is ...
    -------------------------------------------
    [root@localhost ppp]# pppd connect "chat -v -f /etc/ppp/rcv-chat" /dev/modem
    2400 crtscts modem -detach -d kdebug 1

    Serial connection established.
    using channel 6
    Using interface ppp0
    Connect: ppp0 <--> /dev/modem
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    rcvd [LCP ConfReq id=0x1 ]
    sent [LCP ConfAck id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    sent [LCP ConfReq id=0x1 ]
    LCP: timeout sending Config-Requests
    Connection terminated.
    [root@localhost ppp]#
    --------------------------
    rcv-chat='' AT OK RING ATA '' CONNECT ''
    ---------------------------------------------------

    I'd like to know why is only doing to exchage 'asyncmap 0'.





  2. Re: PPP problerm(LCP)...

    "scpark" writes:
    > sent [LCP ConfReq id=0x1 ]
    > rcvd [LCP ConfReq id=0x1 ]
    > sent [LCP ConfAck id=0x1 ]
    > sent [LCP ConfReq id=0x1 ]
    > rcvd [LCP ConfReq id=0x1 ]
    > sent [LCP ConfAck id=0x1 ]


    The peer isn't receiving the packets you're sending. It's some sort
    of low-level serial I/O problem -- perhaps a bad cable, broken flow
    control, misconfigured driver, or some such.

    It's not a PPP problem.

    --
    James Carlson, IP Systems Group
    Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677

  3. Re: PPP problerm(LCP)...

    "scpark" writes:

    ]Hi,
    ]I'm working to test PPP server/client on 2 linux machine.
    ]dail and connect is done successfully.
    ]But, I think that LCP is not passed.

    ]client's contents is ...
    ]---------------------------------------
    ]/usr/sbin/pppd debug lock modem crtscts /dev/tts/2 2400 \
    ] $LOCAL_IP:$REMOTE_IP \
    ] noipdefault defaultroute connect $DIALER_SCRIPT
    ]------------------------------
    ]LOCAL_IP=192.168.1.97
    ]REMOTE_IP=192.168.1.103
    ]DIALER_SCRIPT='' ATZ OK ATDT9999999 CONNECT ''
    ]------------------------------

    ]server's contents is ...
    ]-------------------------------------------
    ][root@localhost ppp]# pppd connect "chat -v -f /etc/ppp/rcv-chat" /dev/modem
    ]2400 crtscts modem -detach -d kdebug 1

    ]Serial connection established.
    ]using channel 6
    ]Using interface ppp0
    ]Connect: ppp0 <--> /dev/modem
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]

    The far side does not hear you. Probably a modem miscommunication. Do not
    use ATZ in the connect script. Instead use AT&F (or AT&F1 on sportster
    modems ) plus whatever specific modem setup you want.


    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]rcvd [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfAck id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]sent [LCP ConfReq id=0x1 ]
    ]LCP: timeout sending Config-Requests
    ]Connection terminated.
    ][root@localhost ppp]#
    ]--------------------------
    ]rcv-chat='' AT OK RING ATA '' CONNECT ''
    ]---------------------------------------------------

    ]I'd like to know why is only doing to exchage 'asyncmap 0'.





  4. Re: PPP problerm(LCP)...

    James Carlson wrote:
    > "scpark" writes:
    >> sent [LCP ConfReq id=0x1 ]
    >> rcvd [LCP ConfReq id=0x1 ]
    >> sent [LCP ConfAck id=0x1 ]
    >> sent [LCP ConfReq id=0x1 ]
    >> rcvd [LCP ConfReq id=0x1 ]
    >> sent [LCP ConfAck id=0x1 ]


    > The peer isn't receiving the packets you're sending. It's some sort
    > of low-level serial I/O problem -- perhaps a bad cable, broken flow
    > control, misconfigured driver, or some such.


    You "hear" the remote but the remote doesn't appear to "hear" you.
    My guess would be that the wrong IRQ is configured for the serial
    device file (/dev/ttySx, x=whatever).

    If you had posted exact copies of the appropriate log messages, compete
    with timestamps, then the chat -v option would have told us whether the
    guess is correct.

    --
    Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
    PPP-Q&A links, downloads: http://ckite.no-ip.net/

+ Reply to Thread