From owner-freebsd-hackers Wed Sep 3 00:05:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA24685 for hackers-outgoing; Wed, 3 Sep 1997 00:05:09 -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 AAA24651 for ; Wed, 3 Sep 1997 00:04:53 -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 QAA03842 for ; Wed, 3 Sep 1997 16:34:48 +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 QAA00291; Wed, 3 Sep 1997 16:29:46 +0930 (CST) Message-Id: <199709030659.QAA00291@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Jaye Mathisen cc: Greg Lehey , hackers@FreeBSD.ORG Subject: Re: Anyway to get connect speed with usermode ppp/tun0 device? In-reply-to: Your message of "Tue, 02 Sep 1997 22:40:20 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Sep 1997 16:29:44 +0930 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > No, the CONNECT string from when ppp parses up the output of the CHAT > script... ie, connect 31200, v.34/ARQ, etc. Why do you want this number? It is fundamentally useless in a modern modem environment. Consider retrain operations, fallback/fall-forward, line hit density etc. The only meaningful way to determine your link's characteristics is to measure your throughput and latency on a continuous basis. > > # stty -f /dev/cuaa1 -a > > speed 38400 baud; 0 rows; 0 columns; ... > > 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. > > Greg mike