Frequently Asked Questions for FreeBSD 2.X : Networking : I can't make ppp work. What am I doing wrong ? : Why doesn't ppp log my connection speed?
Previous: Ppp locks up during file transfers with IO errors
Next: Ppp ignores the `\' character in my chat script

10.7.17. Why doesn't ppp log my connection speed?

In order to log all lines of your modem ``conversation'', you must enable the following:

          set log +connect
        

This will make ppp log everything up until the last requested "expect" string.

If you wish to see your connect speed and are using PAP or CHAP (and therefore don't have anything to "chat" after the CONNECT in the dial script - no "set login" script), you must make sure that you instruct ppp to "expect" the whole CONNECT line, something like this:

          set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"
        

Here, we get our CONNECT, send nothing, then expect a line-feed, forcing ppp to read the whole CONNECT response.


Frequently Asked Questions for FreeBSD 2.X : Networking : I can't make ppp work. What am I doing wrong ? : Why doesn't ppp log my connection speed?
Previous: Ppp locks up during file transfers with IO errors
Next: Ppp ignores the `\' character in my chat script