Date: Fri, 19 Dec 1997 02:22:57 +0000 From: Brian Somers <brian@awfulhak.org> To: "Matthew D. Fuller" <fullermd@futuresouth.com> Cc: Brendan Neutra <bneutra@ascend.com>, freebsd-questions@freebsd.org Subject: Re: Can or does PPP report the modem connect speed? Message-ID: <199712190222.CAA21792@awfulhak.demon.co.uk> In-Reply-To: Your message of "Thu, 18 Dec 1997 12:29:02 CST." <Pine.BSF.3.96.971218122729.15979M-100000@shell.futuresouth.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 Although this is the DTR speed rather than the physical modem speed. The physical modem speed is logged if you enable ``connect'' logging (and if your modem is set up to report that speed), but make sure you read http://www.freebsd.org/FAQ/userppp.html if you're using PAP or CHAP (you'll want to force ppp to log the bit after the ``CONNECT'' word ! > 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 | > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > > -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712190222.CAA21792>