Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 1997 08:40:24 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Nate Williams <nate@mt.sri.com>
Cc:        Mike Smith <mike@smith.net.au>, Jaye Mathisen <mrcpu@cdsnet.net>, hackers@FreeBSD.ORG
Subject:   Re: Anyway to get connect speed with usermode ppp/tun0 device?
Message-ID:  <19970904084024.29000@lemis.com>
In-Reply-To: <199709031656.KAA27641@rocky.mt.sri.com>; from Nate Williams on Wed, Sep 03, 1997 at 10:56:05AM -0600
References:  <Pine.NEB.3.95.970902223809.9029U-100000@mail.cdsnet.net> <199709030659.QAA00291@word.smith.net.au> <199709031656.KAA27641@rocky.mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 03, 1997 at 10:56:05AM -0600, Nate Williams 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.
>
> Most 'cheaper' modems don't fall-forward (which includes about 99% of
> the modems in use today by folks), and it's far from useless.  It gives
> you a pretty good 'guess' at how good the line quality is from you to
> the other side at connection time.  With this information in hand, you
> can point to the customer and say "it ain't my problem your connection
> sucks so badly, it's the phone company's problem".

How well do modems handle fallback?  If you're running PPP with LQM,
that should give you a pretty reliable indication as well.  I'm
running a no-name Rockwell V.34 modem here, and my line quality seems
to be pretty good, but on one occasion I got a whole lot of:

Aug  3 17:31:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 89 ADDR: 0 COMD: 0 PROTO: 0 
Aug  3 17:32:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 17 ADDR: 0 COMD: 0 PROTO: 0 
Aug  3 17:33:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 35 ADDR: 0 COMD: 0 PROTO: 0 
Aug  3 17:34:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 59 ADDR: 0 COMD: 0 PROTO: 0 
Aug  3 17:35:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 8 ADDR: 0 COMD: 0 PROTO: 0 
Aug  3 17:36:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 14 ADDR: 0 COMD: 0 PROTO: 0 
Aug  3 17:37:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 38 ADDR: 0 COMD: 0 PROTO: 0 
Aug  3 17:38:05 freebie ppp[196]: Phase: HDLC errors -> FCS: 66 ADDR: 0 COMD: 0 PROTO: 0 

Note that these are errors per minute.  They went away when I
redialled.

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970904084024.29000>