On Wed, 28 Apr 1999, Bob Hartung wrote:
> I seem not to be the only person having a problem figuring out
> how fast my v.90 modem is really connecting. My chat script
> used the "REPORT CONNECT" line and the modem is initialized
> with AT&F1 (modem: courier v.everything with latest ROM code)
> and it reports 24000 as connect speed everytime even though is
> seems much faster than before the AT&F1 initialization command
> was added.
Maybe it just reports 24000 no matter what for compatibility with
the junky sportsters that USR produces. :-) Anyone want to buy
one off me? :-)
You mean AT&F1 slows down your modem? To paraphrase the doctor I
went to see about my RSI:
Me: doctor, it hurts when I type.
Doctor: then don't type.
Also, most newer modems just report the modem-to-computer speed,
because that's what applications want to know: how fast can I talk
to the modem? But where that's irrelevant, and you are interested
in the modem-to-modem speed for stats gathering purposes, you have
to send a special command, ATW1 or something like that.
> My question to anyone is: Is there any way of monitoring the
> real modem speed in real time for use on an intermittent bases
> to see if one is getting from the modem what one paid good cash
> (and a lot of it for the v.everything courier) for?
Someone else on this list obtained statistics at the end of a
session by putting the appropriate chat commands in the diald
disconnect script.
Alternatively (not recommended), you may be able to put the modem
in command mode at any time with three plus signs unless that has
been disabled. Since pppd is talking to the modem, pppd should be
the layer that does that. Whether it can, I don't know.
Once it's in command mode, either at the end of a session (best)
or in the middle, you can sent other AT commands to obtain
statistics on the line speed. The specifics vary.
Personally, I just rely on programs like ncftp and dselect to give
me an idea of the data transfer speed, which depends not only on
the modem-to-modem speed but on the speed of your ISP's
connection, the time of day, etc.
If you want to get more speed out of your serial connections,
check out setserial spd_hi and spd_vhi, irqtune, and hdparm. I
needed to run some of those to get full speed out of my modem.
Ed
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]