[ale] checking for speed

Zot O'Connor zot at crl.com
Sat Dec 7 03:06:20 EST 1996


robert k. loerke wrote:
> 
> Hey ale
> 
> This is a general question, is there away to determined modem connection
> speed with linux?
> 
> I am using 28.8 modem but not sure what speed I am connecting to my ISP.
> 
> rkl

Yes.  You have to look at the modem manual and set the response messages
appropiately.  Usual values are X7, &Q and &K though it depends on the
modem manuafacturer.  This will report connection (nad you weant dce/dce
connection, not the 57600 you are connecting to modem as Zoom defaults
to).  You will need to set your chat script -v and it will be printed in
the log (local2 for me):

Dec  5 22:42:24 zotnet chat[31338]: send (ATDT243-4069^M)
Dec  5 22:42:25 zotnet chat[31338]: expect (CONNECT)
Dec  5 22:42:25 zotnet chat[31338]: ^M
Dec  5 22:42:44 zotnet chat[31338]: ATDT243-4069^M^M
Dec  5 22:42:44 zotnet chat[31338]: CONNECT -- got it
Dec  5 22:42:44 zotnet chat[31338]: send (^M)
Dec  5 22:14:26 zotnet chat[31048]:  26400/ARQ/V34/LAPM/V42BIS^M
....
Dec  5 22:16:07 zotnet chat[31063]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:17:48 zotnet chat[31081]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:19:29 zotnet chat[31099]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:21:10 zotnet chat[31114]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:22:51 zotnet chat[31132]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:24:34 zotnet chat[31150]:  26400/ARQ/V34/MNP/MNP5^M
Dec  5 22:26:15 zotnet chat[31165]:  28800/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:27:57 zotnet chat[31183]:  28800/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:29:38 zotnet chat[31201]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:32:38 zotnet chat[31234]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:34:19 zotnet chat[31246]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:36:00 zotnet chat[31267]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:37:41 zotnet chat[31285]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:39:22 zotnet chat[31303]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:41:04 zotnet chat[31318]:  26400/ARQ/V34/LAPM/V42BIS^M
...
Dec  5 22:42:44 zotnet chat[31338]: expect (ogin:)
Dec  5 22:42:44 zotnet chat[31338]:  26400/ARQ/V34/LAPM/V42BIS^M
Dec  5 22:42:46 zotnet chat[31338]: Welcome to Transport Logic...^M
Dec  5 22:42:46 zotnet chat[31338]: ^M
Dec  5 22:42:46 zotnet chat[31338]: ^M
Dec  5 22:42:46 zotnet chat[31338]: login: -- got it

[my provider had phone trouble for my dedicated line]

The hint about i6 is a USR feature, on my courier the results are
awesome!


-- 
Zot O'Connor                                  zot at crl.com
Home Page:                                    http://www.crl.com/~zot/
Improv Page:                                 
http://www.crl.com/~zot/improv.html
World Wide Web Calendar:                      http://wwwcal.com






More information about the Ale mailing list