From owner-freebsd-questions Sat Oct 17 06:42:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13182 for freebsd-questions-outgoing; Sat, 17 Oct 1998 06:42:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13170 for ; Sat, 17 Oct 1998 06:42:09 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id OAA03814; Sat, 17 Oct 1998 14:32:19 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id OAA10918; Sat, 17 Oct 1998 14:32:18 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810171332.OAA10918@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Steve Howe cc: freebsd-questions Subject: Re: ppp echo in chat In-reply-to: Your message of "Fri, 16 Oct 1998 15:21:11 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Oct 1998 14:32:18 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 , , 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