[3007] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: LCP protocol error

daemon@ATHENA.MIT.EDU (Kevin M Bealer)
Mon May 27 21:07:13 1996

Date: 	Sat, 25 May 1996 10:28:44 -0400 (EDT)
From: Kevin M Bealer <kmb203@psu.edu>
To: Dragos Alexandru <dgheo@pcnet.ro>
cc: linux-net@vger.rutgers.edu, linux-ppp@vger.rutgers.edu
In-Reply-To: <199605230952.MAA03401@pcnet.pcnet.ro>

On Tue, 21 May 1996, Dragos Alexandru wrote:

> Hi all!
> 
(clip)
> May 19 13:21:15 inter pppd[74]: Connect: ppp0 <--> /dev/cua1
> May 19 13:21:15 inter pppd[74]: Serial line appears to be looped back.
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> May 19 13:21:45 inter pppd[74]: LCP: timeout sending Config-Requests
> May 19 13:21:45 inter pppd[74]: Connection terminated.
> May 19 13:21:45 inter pppd[74]: set kernel debugging level to 2
> May 19 13:21:45 inter pppd[74]: Exit.
> 
>  Why LCP protocol didn't work properly.
>  Do you have any ideas?
> 
> 
> TIA
> Dragos
(clip)

The serial line looped back is probably the problem.  (If this is doing what
mine did when I tried to set up ppp,)  the other side is not responding
immediately, and is still echoing characters.

To fix this, set your "chat script" to have more arguments in it, ie log in
manually and see what the last string before connection is, and have chat
wait for that.

Or, if this is not possible, have chat wait for a few seconds (again log in
manually to see how long of a wait is necessary) and the problem should be
fixed.

chat ..... password $pass selection ppp STRING 
where the other side says "STRING" right before connecting ppp.

chat ..... password $pass selection ppp\n\d\d\d\d\d\d\d\c

would delay 6 to 7 seconds.  (man chat)


__kmb203@psu.edu_________________________Debian__1.1___Linux__1.99.6___
        THE LESSER-KNOWN PROGRAMMING LANGUAGES #12: LITHP
This otherwise unremarkable language is distinguished by the absence of
an "S" in its character set; users must substitute "TH".  LITHP is said
to be useful in protheththing lithtth.



home help back first fref pref prev next nref lref last post