Re: determining serial link speed?

1997-07-02 Thread Dan Hugo
Niels wrote:
> 
> On Wed, 2 Jul 1997, Dan Hugo wrote:
> 
> > 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).
> 
> You want to switch from data mode to command mode?  Read the booklet.
> 
> (sleep two seconds) +++ (sleep two seconds) AT prompt appears, do anything
> you like except modifying NVRAM or some other commands, then ATO to return
> to data mode.

While the PPP connection is active and owns the lock on that tty... I
was trying
to write exactly that stuff, but it doesn't seem to work.  Hence my
question,
(see above).

-dh


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-02 Thread Francis Swasey
I have had an intermittent problem with my USR connecting at 14400 instead
of 28800 and solved it by changing the connect string that chat was
expecting from "CONNECT" to "CONNECT 2".

Frank


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-02 Thread Dan Hugo
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
desired here).

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).

-dh









Brian K Servis wrote:
> 
> [EMAIL PROTECTED] 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.
> >
> >Paul
> >
> >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.
> 
> Brian
> --
> Mechanical Engineering  [EMAIL PROTECTED]
> Purdue University   http://www.ecn.purdue.edu/~servis
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] . Trouble?
> e-mail to [EMAIL PROTECTED] .


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-02 Thread Brian K Servis
[EMAIL PROTECTED] 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.
>
>Paul
>
>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.

Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-02 Thread Lawrence
[EMAIL PROTECTED] wrote:
> 
> On  2 Jul, 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.
> >>
> >
> > pppstat -n 1 will display the throughout (in/out) in byte per second.
> >
> 
> I left my modem's speaker on (my cheapo modem sometimes falls back to
> 14.4 (other side: ascend 5200) or just hangs during negotiation (other
> side: ascend 4000); seems like I have to check my config after exams).
> 
> So I *hear* if the modem falls back to 14.400. There is a change in the
> "negotiation sound".
> 
> BTW: whats pppstat ? I don't have this prog.
> 

it should be there if you have install the ppp package.

Lawrence


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-01 Thread wb2oyc

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.

Paul

PS: Oh, forgot, that Hayes command is: ATW1


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-01 Thread Martin . Bialasinski
On  2 Jul, 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.
>> 
> 
> pppstat -n 1 will display the throughout (in/out) in byte per second.
> 

I left my modem's speaker on (my cheapo modem sometimes falls back to
14.4 (other side: ascend 5200) or just hangs during negotiation (other
side: ascend 4000); seems like I have to check my config after exams).

So I *hear* if the modem falls back to 14.400. There is a change in the
"negotiation sound".

BTW: whats pppstat ? I don't have this prog.

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


RE: determining serial link speed?

1997-07-01 Thread Peter . Yarych . gandolph

On 01-Jul-97 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.

/var/log/ppp.log should tell what the connect speed was 
>
>
>--
>|_| _ |o _  _  Martin Steigerwald
>| |(/_||(_)_>  http://home.pages.de/~helios
>
>
>--
>TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
>[EMAIL PROTECTED] . Trouble? 
>e-mail to [EMAIL PROTECTED] .

The Wizard
DEBIAN the best LINUX distribution
GNU there simply isn't any other way to go


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-01 Thread Bruce Perens
Oh, mine _connects_ at 33.6, but then it renegociates and falls back to
21.x in one direction and 24.x in the other. So telling what it
connects at isn't necessarily useful.  I know what is going on because
I have one of the external Supras on the other end of the connection
and it reports the speeds on the front panel.  I use minicom to connect
once in a while just to check what the modem says when it connects.

Thanks

Bruce
-- 
Bruce Perens K6BP   [EMAIL PROTECTED]   510-215-3502
Finger [EMAIL PROTECTED] for PGP public key.
PGP fingerprint = 88 6A 15 D0 65 D4 A3 A6  1F 89 6A 76 95 24 87 B3 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-01 Thread Shaya Potter

besides checking what speed you set in your ppp.options file, run pppstats
-i 1.  This should show you how much data is being transfered per second.
you should have it somewhere in the high 2000's.  run an ftp session from
a closs machine to test it.

Shaya


On 1 Jul 1997, 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.
> 
> 
> --
> |_| _ |o _  _  Martin Steigerwald
> | |(/_||(_)_>  http://home.pages.de/~helios
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] . Trouble? 
> e-mail to [EMAIL PROTECTED] .
> 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: determining serial link speed?

1997-07-01 Thread Lawrence
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.
> 

pppstat -n 1 will display the throughout (in/out) in byte per second.

Lawrence


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .