[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Clocking Modem Speed



Ed Cogburn writes:
> REPORT CONNECT " didn't work for me (full potato system).  My last line
> in the chatscript was " CONNECT '' ".  To get this working I had to
> change that line to " REPORT CONNECT CONNECT '' ".

'REPORT' is a command to chat.  'CONNECT' is an argument to that command.
"REPORT CONNECT" tells chat to report responses containing the string
'CONNECT'.

> My modem accepted 1, 2, and 3 for this command, but it did not change the
> modem's behavior (its a good modem, but it comes with nil documentation).

Bizarre.  But then modems often are.

> If you don't specify a report-file to write to (no '-r'), the CONNECT
> line will be sent to stderr, which ends up being
> /var/log/ppp-connect-errors.  So you can cat this file to see the speed,
> with no need for another file in /var/log.

The idea is to write just the speed to a temporary file where your TCL
pop-up or whatever can find it and it won't be mixed with other error
messages.
-- 
John Hasler                This posting is in the public domain.
john@dhh.gt.org            Do with it what you will.
Dancing Horse Hill         Make money from it if you can; I don't mind.
Elmwood, Wisconsin         Do not send email advertisements to this address.


Reply to: