Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 12:29:02 -0600 (CST)
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        Brendan Neutra <bneutra@ascend.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can or does PPP report the modem connect speed?
Message-ID:  <Pine.BSF.3.96.971218122729.15979M-100000@shell.futuresouth.com>
In-Reply-To: <349960E8.29ED@ascend.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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          |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971218122729.15979M-100000>