On way is to use a chat report file in your connect script. For example:

/usr/sbin/chat  -r /tmp/speedlog    \
        TIMEOUT 60 \
        REPORT CONNECT  \
        ABORT "NO CARRIER" \
        ABORT BUSY \
        ABORT "NO DIALTONE" \
        ABORT ERROR \
        "" ATDT$PHONE_NUMBER \
        CONNECT ""

This has the effect of writing strings like
chat:  Apr 24 06:00:29 CONNECT 50666/ARQ/V90/LAPM/V42BIS
to the named file. See the Chat manpage for details.

--brian
  

On Saturday, April 24, 1999 8:46 AM, Gary S. Mackay [SMTP:[EMAIL PROTECTED]] wrote:
> I have diald working just fine. My only question is how to get it to
> report more than just "connect" each time. I would like to see the speed
> that it connected at also. Do I need something else in my modem init
> string, diald.conf file, etc. ??
> 
> 
> -- 
> Edison Information Technologies
> P.O. Box 554
> Milan, OH  44846-0554
> 419.499.7040
> www.EdisonInfo.com
> [EMAIL PROTECTED]
> --
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to