From owner-freebsd-chat Wed Sep 3 01:13:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA28069 for chat-outgoing; Wed, 3 Sep 1997 01:13:16 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA28056 for ; Wed, 3 Sep 1997 01:13:12 -0700 (PDT) Received: from word.smith.net.au (lot.atrad.adelaide.edu.au [203.20.121.21]) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) with ESMTP id RAA04101 for ; Wed, 3 Sep 1997 17:43:08 +0930 (CST) Received: from word.smith.net.au (localhost.atrad.adelaide.edu.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id RAA00241; Wed, 3 Sep 1997 17:36:52 +0930 (CST) Message-Id: <199709030806.RAA00241@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Greg Lehey cc: Mike Smith , FreeBSD Chat Subject: Re: Anyway to get connect speed with usermode ppp/tun0 device? In-reply-to: Your message of "Wed, 03 Sep 1997 16:39:57 +0930." <19970903163957.09017@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Sep 1997 17:36:51 +0930 From: Mike Smith Sender: owner-freebsd-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > (moved to chat) > > On Wed, Sep 03, 1997 at 04:29:44PM +0930, Mike Smith wrote: > >> > >>> The speed is specified as 'baud'; in fact, it's bit per second. > > > > It is correct to specify the speed as "baud" in conjunction with a > > single-wire serial interface. > > I suppose you mean a two-wire interface. No. A two wire interface can transport four values per baud. > Sure, you can use the term > baud if that's the speed talking about. Here we're talking about a > 2400 baud interface. It's transferring 38,400 bits per second. Not by any definition I can comprehend. You have a single wire serial interface, clocked at 38,400 transitions per second. That is 38,400 baud no matter which way you look at it. To achieve 38,400 bps at 2400 baud you need a signalling mechanism with 65536 possible values, or 16 bits of significance. This puts you in the high-end trellis-encoding market, certainly not on good ol' EIA-232. > OK, you might say "this interface is between the serial interface and > the modem". And yes, over this interface the speed is 38,400 baud as > well as 38,400 bps. But that's \fIvery\fP misleading, and there's no > need for it. I don't understand. stty can only report on the configuration of the serial port, and it does that correctly. It has no way of knowing what the modem thinks its doing; as I have already pointed out it is impossible to know what the modem is "really" doing at any point in time anyway. "Yes, I do know what 'baud' means." 8) mike