Subject: Re: ppp connect speed
To: Space Case <wormey@eskimo.com>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 01/21/1998 21:46:50
Space Case wrote:
> 
> Can anyone tell me how to get ppp to report what speed the modem
> connected at?  I've tried putting "ECHO ON" in various spots in
> ppp-chat, but /tmp/ppp-report stays empty, and nada in
> /var/log/messages either...

I've got logging on in chat, and it shows all the expect/response pairs,
including the CONNECT sequence, so I get stuff like this in
/var/log/messages:

Jan 21 20:20:40 mycroft-holmes chat[317]: CONNECT -- got it 
Jan 21 20:20:40 mycroft-holmes chat[317]: send (\d^M) 
Jan 21 20:20:41 mycroft-holmes chat[317]: timeout set to 10 seconds
Jan 21 20:20:41 mycroft-holmes chat[317]: expect (name:) 
Jan 21 20:20:41 mycroft-holmes chat[317]:  45333/ARQ/x2/LAPM/V42BIS^M 

Where down at the last line is the connect speed.  Will this do it for
you?

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.