Re: ppp: how to tell the connection speed?

1998-05-03 Thread Rev. Joseph Carter
On Sat, May 02, 1998 at 09:10:08PM -0500, [EMAIL PROTECTED] wrote:
> Rev. Joseph Carter writes:
> > I think most Rockwell chipsets can do that.  Part of a 4-5 line report of
> > the connection info.  Quite verbose actually.
> 
> But somewhere in there they always say 'CONNECT'.  The one I'm dealing with
> apparently doesn't.  I'm trying to find out if this is common enough that
> pppconfig needs to provide for it.

Yes, it's common enough.


pgpNYigfJlqD0.pgp
Description: PGP signature


Re: ppp: how to tell the connection speed?

1998-05-03 Thread john
Rev. Joseph Carter writes:
> I think most Rockwell chipsets can do that.  Part of a 4-5 line report of
> the connection info.  Quite verbose actually.

But somewhere in there they always say 'CONNECT'.  The one I'm dealing with
apparently doesn't.  I'm trying to find out if this is common enough that
pppconfig needs to provide for it.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ppp: how to tell the connection speed?

1998-05-03 Thread Rev. Joseph Carter
On Sat, May 02, 1998 at 12:13:35PM -0600, Marcelo E. Magallon wrote:
> > BTW has anyone else run across a modem that reports 'CARRIER' instead of
> > 'CONNECT'?
> 
> My very first modem did that. But we are talking 1988 (whoa! it's been
> long) here and that was an El Cheapo 2400

I think most Rockwell chipsets can do that.  Part of a 4-5 line report of
the connection info.  Quite verbose actually.


pgpf9yzhic3Jj.pgp
Description: PGP signature


Re: ppp: how to tell the connection speed?

1998-05-02 Thread john
Bob Hilliard writes:
> With my ZOOM modem, ATX4 reports all responses, but the manual
> isn't clear if it means DCE (modem-modem) speed or DTE
> (computer-modem) speed.

With my no-name modem ATX4 gives only DTE in the 'CONNECT' string.

> I blieve DTE is the most commonly reported value.  ATW0 reports DTE speed
> only; ATW1 reports DCE speed, error correction protocol and DTE speed;
> ATW2 reports DCE speed only.

Right (but I've got a modem manual that gets W2 and W1 backwards).  ATW2 is
what you need to get the modem to modem speed reported in the 'CONNECT'
string.

> Note the above log fragment.  My ZOOM modem reports Carrier 
> before it reports the CONNECT.

The guy I'm corresponding with sees *only* 'CARRIER '.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ppp: how to tell the connection speed?

1998-05-02 Thread john
Marcelo E. Magallon writes:
> I tried it, but I cann't get it to work.

Works for me.

> I added -r /var/run/ppp.speed to the chat line in
> /etc/ppp/peers/provider...

Should be ok.

> and "REPORT CONNECT"

Without the quotes, I assume.

> as the first line on /etc/chatscripts/provider (I didn't find anything on
> the man page that says it has to go in some particular place).

That's the right place.

> I made it output to /var/run/ppp.speed. Would that name be ok?

I don't see why not.  I use /etc/ppp/report, but that wouldn't do for
Debian.

I'm afraid I don't have any suggestions for you, but I would appreciate it
if you would let me know what the solution is when you find it.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ppp: how to tell the connection speed?

1998-05-02 Thread Bob Hilliard
"Marcelo E. Magallon" <[EMAIL PROTECTED]> writes:
> On Sat, May 02, 1998 at 08:12:35AM -0500, [EMAIL PROTECTED] wrote:
> 
> > Marcelo E. Magallon writes:
> > > As you can see chat breaks the CONNECT line. Is there a way to tell
> > > the connection speed?
> > 
> > 'ATW2' will make the modem (or at least, my modem) emit something like
> > 'CONNECT 26400'.
> 
> mine is ATX4

 With my ZOOM modem, ATX4 reports all responses, but the manual
isn't clear if it means DCE (modem-modem) speed or DTE
(computer-modem) speed.  I blieve DTE is the most commonly reported
value.  ATW0 reports DTE speed only; ATW1 reports DCE speed, error
correction protocol and DTE speed; ATW2 reports DCE speed only.  If
the -v option is set in the chat command line, this response appears
in the ppp.log file.  An excerpt from my ppp.log follows:

May  2 14:37:51 bobspc chat[199]: ATDT3350566^M^M
May  2 14:37:51 bobspc chat[199]: CARRIER 26400^M
May  2 14:37:51 bobspc chat[199]: ^M
May  2 14:37:51 bobspc chat[199]: PROTOCOL: LAP-M^M
May  2 14:37:51 bobspc chat[199]: ^M
May  2 14:37:51 bobspc chat[199]: CONNECT
May  2 14:37:51 bobspc chat[199]:  -- got it
May  2 14:37:54 bobspc pppd[192]: Serial connection established.

 I use ATW1, but this report doesn't seem to include the DTE speed
(which is 115600).
 
> > BTW has anyone else run across a modem that reports 'CARRIER' instead of
> > 'CONNECT'?

 Note the above log fragment.  My ZOOM modem reports Carrier
 before it reports the CONNECT.

Bob
-- 
   _
  |_)  _  |_   Robert D. Hilliard<[EMAIL PROTECTED]>
  |_) (_) |_)  Palm City, FL  USAPGP Key ID: A8E40EB9


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ppp: how to tell the connection speed?

1998-05-02 Thread Marcelo E. Magallon
On Sat, May 02, 1998 at 08:12:35AM -0500, [EMAIL PROTECTED] wrote:

> Marcelo E. Magallon writes:
> > As you can see chat breaks the CONNECT line. Is there a way to tell
> > the connection speed?
> 
> 'ATW2' will make the modem (or at least, my modem) emit something like
> 'CONNECT 26400'.

mine is ATX4

> Adding 'REPORT CONNECT' to the chatscript and giving chat the option
> '-r ' will cause chat to write the CONNECT string to
> .

I tried it, but I cann't get it to work. I added -r /var/run/ppp.speed
to the chat line in /etc/ppp/peers/provider and "REPORT CONNECT" as
the first line on /etc/chatscripts/provider (I didn't find anything on
the man page that says it has to go in some particular place).

I made it output to /var/run/ppp.speed. Would that name be ok? I put
it there instead of /var/log/ppp.speed because /var/run gets cleared
on reboot, and I don't see any reason to keep the files between
reboots.

> I can have pppconfig add 'REPORT CONNECT' to the chatscript if there
> is interest in this.

That'd be nice. Sometimes I like to check the connection speed because
the modem did funny noises (funnier than the usual), and a command
like ppp_speed (or plog -s, but that's stretching it a bit) would be
useful.

> BTW has anyone else run across a modem that reports 'CARRIER' instead of
> 'CONNECT'?

My very first modem did that. But we are talking 1988 (whoa! it's been
long) here and that was an El Cheapo 2400


Marcelo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ppp: how to tell the connection speed?

1998-05-02 Thread drow
Most (all?) modems support ATW1, which produces a message of the
form 'CARRIER 14400'.  That's probably the text you want.  Perhaps
you can get chat to save that line for you.

Dan
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]