Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 1997 01:02:17 -0700 (PDT)
From:      Jaye Mathisen  <mrcpu@cdsnet.net>
To:        Mike Smith <mike@smith.net.au>
Cc:        Greg Lehey <grog@lemis.com>, hackers@FreeBSD.ORG
Subject:   Re: Anyway to get connect speed with usermode ppp/tun0 device? 
Message-ID:  <Pine.NEB.3.95.970903010025.6434A-100000@mail.cdsnet.net>
In-Reply-To: <199709030659.QAA00291@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

I want it, because it would be useful as part of a standard nightly modem
check to connect to each modem, verify the connect speed is something
reasonable, regardless of long-term connection characteristics, and verify
the start and execution of a valid PPP stream.

I would rather only do this connection once, rather than twice.  It would
also be nice to be able to extract the port information that I connect
to, which is what I'm working on now.


On Wed, 3 Sep 1997, Mike Smith wrote:

> > 
> > 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
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970903010025.6434A-100000>