[2622] in linux-net channel archive
Re: pppd: Serial line is looped back.
daemon@ATHENA.MIT.EDU (Kevin M Bealer)
Mon Apr 22 00:56:48 1996
Date: Mon, 22 Apr 1996 00:40:47 -0400 (EDT)
From: Kevin M Bealer <kmb203@psu.edu>
To: Nuno Serrenho <adrenlin@ki.net>
cc: linux-ppp@vger.rutgers.edu, linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.92.960411174749.168B-100000@stoned.ki.net>
On Thu, 11 Apr 1996, Nuno Serrenho wrote:
> Lately, I've been getting a strange error with pppd:
>
> Apr 11 05:05:25 stoned diald[160]: Running pppd (pid = 1103).
> Apr 11 05:05:25 stoned pppd[1103]: pppd 2.2.0 started by root, uid 0
> Apr 11 05:05:25 stoned pppd[1103]: Using interface ppp0
> Apr 11 05:05:25 stoned pppd[1103]: Connect: ppp0 <--> /dev/cua3
> Apr 11 05:05:29 stoned pppd[1103]: Serial line is looped back.
> Apr 11 05:05:29 stoned pppd[1103]: Connection terminated.
> Apr 11 05:05:29 stoned pppd[1103]: Exit.
>
> A "normal" run looks like this:
>
> Apr 11 05:06:13 stoned diald[160]: Running pppd (pid = 1126).
> Apr 11 05:06:13 stoned pppd[1126]: pppd 2.2.0 started by root, uid 0
> Apr 11 05:06:13 stoned pppd[1126]: Using interface ppp0
> Apr 11 05:06:13 stoned pppd[1126]: Connect: ppp0 <--> /dev/cua3
> Apr 11 05:06:16 stoned pppd[1126]: local IP address 205.150.102.200
> Apr 11 05:06:16 stoned pppd[1126]: remote IP address 205.150.102.1
>
> Does anyone have any idea what "serial line is looped back." means? Is this
> a problem on my end or the remote end? Nothing changes between the two
> tries above, they're only about 30 seconds apart, so I can't figure out what
> could be wrong.
I had this very problem when I set up PPP for the first time.
Your side is sending data before the other side is ready, and it is still in
echo mode.
Solution:
1. Login to the server manually with a term program and look for a
later communication... in my case my provider sends "Gateway: 128.?.?.?"
so I wait for the IP#. (Put it in the chat script line).
2. Another solution would be to put delay characters into the last response,
if your last 'send' string is 'ppp' use 'ppp\n\d\d\d\d\d\c' instead.
This will send ppp, a newline, then delay five seconds. The \c prevents
the system from sending another newline. (in other words \d puts a delay
into the string, and \n...\c move the newline to before the delay.
Method 1 prob is better, and I have not tried #2. Read the chat manpage for
more info.
__kmb203@psu.edu_____________________________Debian/GNU__Linux__1.3.77___
"You are in a maze of twisty little passages, all alike."