Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 1998 14:32:18 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Steve Howe <groggy@iname.com>
Cc:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   Re: ppp echo in chat 
Message-ID:  <199810171332.OAA10918@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Fri, 16 Oct 1998 15:21:11 -0800." <Pine.BSF.3.96.981016151228.894A-100000@abc.xyz.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 14 Oct 1998, Steve Howe wrote:
> 
> > FBSD 2.2.7
> > 
> > ate0 does turn off echo on my modems,
> > but even though i use it to initialize
> > both the dialer and the dialups, the
> > "chat" debug in my ppp.log's always show
> > an "echo".  e0 responds with OK and does
> > turn echo off from the "term" ppp utility ...
> > 
> > Oct  9 22:57:32 user ppp[293]: tun0: Chat: Send: AT&C1&D2E0Q0V1^M 
> > Oct  9 22:57:32 user ppp[293]: tun0: Chat: Expect(5): OK 
> > Oct  9 22:57:32 user ppp[293]: tun0: Chat: Received: AT&C1&D2E0Q0V1^M^M 
> > Oct  9 22:57:32 user ppp[293]: tun0: Chat: Received: OK^M 
> > Oct  9 22:57:32 user ppp[293]: tun0: Chat: Send: ATDT1234567^M 
> > Oct  9 22:57:32 user ppp[293]: tun0: Chat: Expect(30): CONNECT 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Received: ^M 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Received: CONNECT 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Expect(5): ogin: 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Received:  14400/REL-LAPM V.42 BIS^M 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Received: login: 
> > ---  - -------- ---- --------- ----- ----- --------- ------
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Send: USERNAME^M 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Expect(5): word: 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Received:  USERNAME^M 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Received: Password: 
> > Oct  9 22:57:57 user ppp[293]: tun0: Chat: Send: PASSWORD^M 
> > ---  - -------- ---- --------- ----- ----- --------- ------
> > why is USERNAME being "Received" after "Send"ing ?
> 
> i'm sorry i don't have the original reply
> from brian somers.  to the best of my understanding,
> it related to an echo in my terminal settings.
> here is the output from "stty -f /dev/cuaa1"
> which is where my modem is that created the
> logfile above.  i think this shows my echo
> is off in my terminal settings also.

The ECHO is on the remote port.  After the login prompt, if we send 
the character ``X'', it arrives at the other side where ECHO is on 
and gets transmitted back as a result.

> what must i do to correct this echo 
> problem?

What's the problem ?

> speed 9600 baud;
> lflags: -icanon -isig -iexten -echo
> iflags: -icrnl -ixon -ixany -imaxbel -brkint
> oflags: -opost -onlcr -oxtabs
> cflags: cs8 -parenb

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810171332.OAA10918>