From owner-freebsd-questions Thu Dec 18 10:29:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA10734 for questions-outgoing; Thu, 18 Dec 1997 10:29:19 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA10720 for ; Thu, 18 Dec 1997 10:29:12 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.8/8.8.8) with SMTP id MAA18594; Thu, 18 Dec 1997 12:29:02 -0600 (CST) Date: Thu, 18 Dec 1997 12:29:02 -0600 (CST) From: "Matthew D. Fuller" To: Brendan Neutra cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can or does PPP report the modem connect speed? In-Reply-To: <349960E8.29ED@ascend.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 18 Dec 1997, Brendan Neutra wrote: > I am developing a modem test environment that will establish ppp > sessions and do file transfers in an automated fashion (using > TCL/Expect). Does freebsd ppp print the modem connect speed to the > terminal when it connects? Or does it log it to a log file? This is > one of the data points that I need to gather when running my scripts. > BSDI 2.1 pppd does do this. Does anyone know if linux does it? If your scripts are setup so you can run commands within the ppp context (now, I'm talking user mode PPP; I don't know about kernel), you can execute this command, and the first line will tell you: PPP ON mortis> show modem device: /dev/cuaa1 speed: 28800 I don't know about linux. > thanks, > > /brendan > -- > \ o / Brendan R. Neutra > \ / Test Department, Ascend Communications, Inc. > / \ bneutra@ascend.com > / \ (510)747-2545 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*