Re: determining serial link speed?
I am not sure how this would work with a PPP connection open (and thus,
the device locked for PPP use),
but USR modems support an AT command,
ATIn, where n=0-7, and ATI6 returns link diagnostics, including current
transmit and receive speeds
(I have seen it working before, and it is probably the information
The question is, how to access the modem to send AT strings while online
(rather, how to insert "+++"
into the data stream to the modem, then the AT command, get the response
back, and put it back online).
Brian K Servis wrote:
> email@example.com writes:
> >On 07:06:32 Lawrence wrote:
> >>>Martin Steigerwald wrote:
> >>> Hi!
> >>> Is there any easy way to find out, what speed my modem connected to
> >>> the ISP? (using ppp & chat on Debian Linux m68k Amiga).
> >>> I want to be sure that it connected at 28800 baud and not at 14400.
> >If its a Hayes modem, there is a command that will tell the modem to
> >report the DCE (modem-to-modem) speed rather than the DTE port to
> >modem speed. That value is returned on the local DTE, but how to get
> >chat to echo that so you can see it is another matter.
> >PS: Oh, forgot, that Hayes command is: ATW1
> Don't know if this is Hayes or USR commands but my USR command set has
> &Un which sets the floor connect speed where n is between 0 and 14.
> With 0 being disabled and 14 being 28.8kbps. There is also a &Nn
> which sets the restricts the connect speed or when used in conjuction
> with &Un works as the ceiling connect speed, thus creating a connect
> speed window.
> You might also want to look at the REPORT option of chat.
> Mechanical Engineering firstname.lastname@example.org
> Purdue University http://www.ecn.purdue.edu/~servis
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> email@example.com . Trouble?
> e-mail to firstname.lastname@example.org .
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .