Re: Modem connection speed

2004-07-03 Thread Pigeon
On Sat, Jul 03, 2004 at 01:04:35AM +0300, Lior Kaplan wrote:
 Hi,
 
 How can I know my modem's connection speed?
 I checked the /var/log/syslog and found some hex number from the 
 /usr/bin/chat output. I'm guessing that's related (since it should be 
 the handshake between the modems). But I'm not sure if that's true or 
 how can I figure that out.
 
 I also found two dirs in /proc regarding ppp0 but both are related to 
 the ipv4 side of the connection.
 
 Please CC me to answers since I'm not subscribed to this list.

You could try pppstatus.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21C61F7F


signature.asc
Description: Digital signature


Modem connection speed

2004-07-02 Thread Lior Kaplan
Hi,
How can I know my modem's connection speed?
I checked the /var/log/syslog and found some hex number from the 
/usr/bin/chat output. I'm guessing that's related (since it should be 
the handshake between the modems). But I'm not sure if that's true or 
how can I figure that out.

I also found two dirs in /proc regarding ppp0 but both are related to 
the ipv4 side of the connection.

Please CC me to answers since I'm not subscribed to this list.
--
Regards,
Lior Kaplan
[EMAIL PROTECTED]
http://www.Guides.co.il
Debian GNU/Linux unstable (SID)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Modem connection speed

1999-09-10 Thread Brad
-BEGIN PGP SIGNED MESSAGE-

On Thu, 9 Sep 1999, Enrico Zini wrote:

 Opening /var/log/connection_speeds...
 chat:  Sep 09 16:23:04 CONNECT 50666/ARQ/V90/LAPM/V42BIS
 Closing /var/log/connection_speeds.
 Opening /var/log/connection_speeds...
 chat:  Sep 09 10:55:38 CONNECT 50666/ARQ/V90/LAPM/V42BIS
 Closing /var/log/connection_speeds.
 
 Fine.
 
 Now, what if I wanted it to be logged through syslogd, possibly without
 those Opening and Closing lines?

i do something similar, in the end i can just cat a file and get only the 
part of the line after CONNECT for the current session. You could easily
modify this to use logger to log to syslogd.

First, i use /var/log/ppp.connect as the report file. In
/etc/ppp/ip-up.d/, i have this script:

  #!/bin/sh

  CONNECTFILE=/var/log/ppp.connect
  SPEEDFILE=/var/run/ppp-speed.$PPP_IFACE

  cat $CONNECTFILE | perl -ne 'print /CONNECT (.*)/'  $SPEEDFILE
  echo -n  $CONNECTFILE

Now, /var/run contains the info that i want. I've even set up a script in
/usr/local/bin to extract just the speed from that line.

In your case, you could change  $SPEEDFILE at the end of line 6 to
| logger -i -p local2.info to log to syslogd. man logger for more info,
and check /etc/syslog.conf if local2 doesn't log to /var/log/ppp.log.


- -- 
  finger for PGP public key.

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN9g/ir7M/9WKZLW5AQELkwP/W58c4sKOuhT0NHkgeLQawgUVWUg57nMp
lKRowaRWGcx23xQXCypbmg3b8iqrDhtustrB/WMVJ0pkb/xr1D+j7oRzEjMNAK+J
gSTXUkDYRjwh9Ia264YQX9Z64vUdrE0DhzHMTJqJuTa7Y8y0Z7i+NSrsK69r1gjH
UrrYygB29h8=
=NERa
-END PGP SIGNATURE-


Re: Modem connection speed

1999-09-10 Thread shaul
I believe the Modem-HOWTO deals with this as well.

 At 12:41 08.09.99 +0200, Enrico Zini wrote:
 Hello!
 
 I would like to see the modem connection speed after the CONNECT message
 in my
 logs; I use ppp 2.3.5-2 on a slink box.
 
 Depends which modem do you use. Look at your modems manual to see how to
 enable
 connection speed reporting.
 


Re: Modem connection speed

1999-09-09 Thread Enrico Zini

On 8 Sep 1999, John Hasler wrote:

  This is my chatscript (I added ECHO and REPORT to the original pppconfig
  generated script, but nothing changed):
  connect /usr/sbin/chat -v -f /etc/chatscripts/mclink2

 Change that to connect /usr/sbin/chat -v -r report_file -f 
 /etc/chatscripts/mclink2
 where 'report_file' is the file you want the speed written to.

Opening /var/log/connection_speeds...
chat:  Sep 09 16:23:04 CONNECT 50666/ARQ/V90/LAPM/V42BIS
Closing /var/log/connection_speeds.
Opening /var/log/connection_speeds...
chat:  Sep 09 10:55:38 CONNECT 50666/ARQ/V90/LAPM/V42BIS
Closing /var/log/connection_speeds.

Fine.

Now, what if I wanted it to be logged through syslogd, possibly without
those Opening and Closing lines?

(and, BTW, another thing I would like to know is why doesn't it CONNECT
56000 :( )


TYA! Enrico



Re: Modem connection speed

1999-09-09 Thread Brian Servis
*- On  9 Sep, Enrico Zini wrote about Re: Modem connection speed
 
 (and, BTW, another thing I would like to know is why doesn't it CONNECT
 56000 :( )
 

Here is a little article describing all the reasons.  Actually you are
lucky to get 50666.

http://www.computers.com/reviews/comparative/substory/0,29,0-1104-257672-257713-1,00.html

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


Modem connection speed

1999-09-08 Thread Enrico Zini
Hello!

I would like to see the modem connection speed after the CONNECT message in my
logs; I use ppp 2.3.5-2 on a slink box.

* This is my chatscript (I added ECHO and REPORT to the original pppconfig
generated script, but nothing changed):

ABORT BUSY
ABORT NO CARRIER
ABORT VOICE
ABORT NO DIAL TONE
ABORT NO ANSWER
 ATZ
OK ATP1M1X4
OK ATDP0,T147580001
ECHO ON
REPORT CONNECT CONNECT \d\c

* This is the chat invocation line (generated by pppconfig):

connect /usr/sbin/chat -v -f /etc/chatscripts/mclink2  #pppconfig_connect

* This is the log:

Sep  8 19:13:42 eddie pppd[259]: pppd 2.3.5 started by root, uid 0
Sep  8 19:13:43 eddie chat[260]: abort on (BUSY)
Sep  8 19:13:43 eddie chat[260]: abort on (NO CARRIER)
Sep  8 19:13:43 eddie chat[260]: abort on (VOICE)
Sep  8 19:13:43 eddie chat[260]: abort on (NO DIAL TONE)
Sep  8 19:13:43 eddie chat[260]: abort on (NO ANSWER)
Sep  8 19:13:43 eddie chat[260]: send (ATZ^M)
Sep  8 19:13:43 eddie chat[260]: expect (OK)
Sep  8 19:13:43 eddie chat[260]: ATZ^M^M
Sep  8 19:13:43 eddie chat[260]: OK
Sep  8 19:13:43 eddie chat[260]:  -- got it
Sep  8 19:13:43 eddie chat[260]: send (ATP1M1X4^M)
Sep  8 19:13:44 eddie chat[260]: expect (OK)
Sep  8 19:13:44 eddie chat[260]: ^M
Sep  8 19:13:44 eddie chat[260]: ATP1M1X4^M^M
Sep  8 19:13:44 eddie chat[260]: OK
Sep  8 19:13:44 eddie chat[260]:  -- got it
Sep  8 19:13:44 eddie chat[260]: send (ATDP0,T147580001^M)
Sep  8 19:13:44 eddie chat[260]: report (CONNECT)
Sep  8 19:13:44 eddie chat[260]: expect (CONNECT)
Sep  8 19:13:44 eddie chat[260]: ^M
Sep  8 19:14:19 eddie chat[260]: ATDP0,T147580001^M^M
Sep  8 19:14:19 eddie chat[260]: CONNECT
Sep  8 19:14:19 eddie chat[260]:  -- got it
Sep  8 19:14:19 eddie chat[260]: send (\d)
Sep  8 19:14:20 eddie pppd[259]: Serial connection established.

What's wrong?

TYA! Enrico

--
GPG public key available on finger -l [EMAIL PROTECTED]


Re: Modem connection speed

1999-09-08 Thread Hasso Tepper
At 12:41 08.09.99 +0200, Enrico Zini wrote:
Hello!

I would like to see the modem connection speed after the CONNECT message
in my
logs; I use ppp 2.3.5-2 on a slink box.

Depends which modem do you use. Look at your modems manual to see how to
enable
connection speed reporting.

Hasso


Re: Modem connection speed

1999-09-08 Thread Enrico Zini

On Wed, 8 Sep 1999, Hasso Tepper wrote:

 I would like to see the modem connection speed after the CONNECT message
 in my
 logs; I use ppp 2.3.5-2 on a slink box.
 Depends which modem do you use. Look at your modems manual to see how to
 enable
 connection speed reporting.

ATX4, and as you can see I added it to the modem init string in the
chatscript.

To be even more pedantic, I tried the same commands via minicom, and the
connection speed _does_ appear after CONNECT.

TIA, Enrico


Re: Modem connection speed

1999-09-08 Thread John Hasler
Enrico Zini writes:
 This is my chatscript (I added ECHO and REPORT to the original pppconfig
 generated script, but nothing changed):

 connect /usr/sbin/chat -v -f /etc/chatscripts/mclink2

Change that to connect /usr/sbin/chat -v -r report_file -f 
/etc/chatscripts/mclink2

where 'report_file' is the file you want the speed written to.

-- 
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


How to find out what my modem connection speed is?

1998-12-17 Thread Tey, Chui CG
Hi,

I finally worked out how to pon to specific providers using
pon provider name

How do I find out what my connection speed is?

I had deleted /var/log/ppp.log earlier assuming that it will be recreated by
what ever program but that didn't happen.  Will creating a blank file do the
trick.

Sincerely,

Chui Tey


Re: How to find out what my modem connection speed is?

1998-12-17 Thread Joe Emenaker
I finally worked out how to pon to specific providers using
 pon provider name

How do I find out what my connection speed is?


Well, for *starters*, you need to make sure that your modem is reporting the
DCE speed (the speed it's talking to the other modem at) and not the DTE
speed (the speed it's talking to your computer at). Some modems only do the
DCE speed, while others have an AT command that you can use to switch.

If the modem returns the DTE speed, it will always say CONNECT 115200 or
whatever...  even if you have a 14.4k modem... which is amusing... the first
few times, anyway.

I had deleted /var/log/ppp.log earlier assuming that it will be recreated
by
what ever program but that didn't happen.  Will creating a blank file do
the
trick.


If the pppd is running as a user that does not have privledges to write to
/var/log, then you'll need to create an empty ppp.log file that they do have
permissions to write to.

Also, you probably need to put the debug directive in your options file.

Even then, it might not work. On a couple of my systems, nothing ever seems
to get written to the ppp.log file. They get rotated every now and then, but
pppd never uses them. The logs end up going into syslog.

- Joe


Re: How to find out what my modem connection speed is?

1998-12-17 Thread frleg
You can try the pppload utility. I am sorry, I don't remeber where I found it.
I think it does exist as a deb package

Franck





Re: Modem connection speed

1998-11-19 Thread Kent West
At 04:14 PM 10/30/98 -0500, Raymond A. Ingles wrote:
On Thu, 29 Oct 1998, Kenneth Scharf wrote:

 Just recently there was a posting here that said they got better
 connection speed in Win95 than in Linux. A couple of days ago I heard
 another Linux say the same thing. And so far, on a hamm box, I can only
 get 19200 out of my 28800 pc card modem. Is this typical of Linux, or is
 it just an improper init string or etc?

 Try man setserial. It looks like your serial port is not getting
configured properly. I think serial ports in Linux default to pretty
conservative values. Try setting the rate to at least 38400. I'll bet that
this is the main source of the problem.

 After that, start looking at init strings for the modem and such. The
factory default settings ought to be okay, but there may be some things
you can play with.

 Finally, there are a few options for pppd that can result in improved
performance. Make sure that your asynchmap is 0 if at all possible. See if
Van Jacobsen header compression is allowed. (The man page explains this
stuff...)

 Sincerely,

 Ray Ingles (248) 377-7735  [EMAIL PROTECTED]

My problem turned out to be some bad default settings in the modem. It's a
hand-me-down modem, and the power-on/reset defaults had been set to use
19200 as the max speed. I could have changed the defaults, but I opted to
just add the correction in my init string. Now I'm getting 26400 out of
this 28800 modem, much better than the 19200 I was getting.


Re: Modem connection speed

1998-11-02 Thread Patrick L. McGillan
Hi all,

After running into this same problem, and asking on this list for
answers, I think I may be able to give others some help now.

First, what speed are you connecting at? As reported in another post or
two, it is easy to make your system save the modem connect speed in its
own file. Mine saves each connection speed to a file called
/etc/ppp/speed. To do this, using a debian 2.0 system, go to your
/etc/chatscripts directory and modify the file for your provider. It
will be named, what ever you named it when you ran the pppconfig
program. In this example, mine is called cp1. Add REPORT CONNECT,
without the quotes, as the first line in the file. Change the ATZ line
to ATW2. While this is not the best, because it needs a reset somewhere,
it will do for now. Later we will change the line again. My cp1 file now
looks like this;
REPORT CONNECT
ABORT BUSY
ABORT NO CARRIER
ABORT VOICE
ABORT NO DIALTONE
ABORT NO ANSWER
 ATW2
OK ATDT1234567
CONNECT \d\c


Now change to the /etc/ppp/peers directory and edit the file, again
named as above when you created it. In this file, find the line starting
with connect and to the end, but inside the quote mark, add -r
/etc/ppp/speed. My new line looks like this;
connect /usr/sbin/chat -v -f /etc/chatscript/cp1 -r /etc/ppp/speed
#pppconfig_connect

Now each time you connect to your ISP with the pon program, i.e. pon
xxx, you will be able to check your speed by reading the end of the
/etc/ppp/speed file.

Next, lets fine tune our modem init strings. I asked, on this list and
recv'd one reply, which suggested that I use a program called wvdial.
This program can be gotten in deb format from
http://www.worldvisions.ca/wvdial. When installed it will run the
wvdialconf program. This program will query your modem for the best
settings. Not sure how it does it, but it came up with a long string of
parameters to be passed to my modem after init.

I didn't write down that long string, but it is also written to a file
called /etc/wvdial.conf. What you need is the Init2 string. In order to
use it, you will need to modify your init file which is stored in the
/etc/chatscripts/cp1. My new one now looks like this;
REPORT CONNECT
ABORT BUSY
ABORT NO CARRIER
ABORT VOICE
ABORT NO DIALTONE
ABORT NO ANSWER
 ATZ
OK ATQ0
OK ATV1
OK ATE1
OK ATS0=0
OK ATC1
OK ATD2
OK ATS11=55
OK AT+FCLASS=0
OK ATW2
OK ATDT1234567
CONNECT \d\c

This much longer file resets the modem and then sends each string to the
modem, waiting for an OK each time. 

Now my modem connects and reports a connect speed much faster than I
ever got before. I can also see an improvement in download speed when
using netscape. Hopefully, this will help many of you tune up your
system for a better connection. Any questions, feel free to contact me.

Patrick
[EMAIL PROTECTED]


Re: Modem connection speed

1998-11-01 Thread Michele Bini
On Thu, Oct 29, 1998 at 05:23:31AM -0800, Kenneth Scharf wrote:
 Just recently there was a posting here that said they got better
 connection speed in Win95 than in Linux. A couple of days ago I heard

sorry, what posting do you refer to?

 another Linux say the same thing. And so far, on a hamm box, I can only
 get 19200 out of my 28800 pc card modem. Is this typical of Linux, or is
 it just an improper init string or etc?

 From my (short) experience many people (including me)
experiencing slower connection speed under Linux were giving
pppd the wrong connection speed.

pppd only accepts a limited set of speeds (19200 38400 ... 115200),
^^^
and if you type a wrong one (e.g. 115000) your connection will
work anyway, but pppd will output an error message 'speed X not
supported' on the log file, and will actually choose a much slower
   ^^^
one.

After realizing this, my connection speed increased a lot (more
than two-three times) :-))), now I can reach 5-6 Kb/s (on
Netscape :

It seems that there isn't a place (manpages, howtos, readmes)
where these speeds are listed :(, and even worse, my posting
about this problem via the debian bug tracking system had no
replies :(

Please disseminate this info.

If this is not your case try to tune your packet size:
choose a small one if your phone connection is noisy,
also consider enabling or disabling compression.

-Michele


Re: Modem connection speed

1998-11-01 Thread john
Michele writes:
 It seems that there isn't a place (manpages, howtos, readmes) where these
 speeds are listed :(, and even worse, my posting about this problem via
 the debian bug tracking system had no replies

What package did you file the bug against?  You should at least have gotten
an automated reply from the system.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: Modem connection speed

1998-11-01 Thread Michele Bini
On Sun, Nov 01, 1998 at 02:01:55AM +0100, Michele Bini wrote:
 On Thu, Oct 29, 1998 at 05:23:31AM -0800, Kenneth Scharf wrote:
  another Linux say the same thing. And so far, on a hamm box, I can only
  get 19200 out of my 28800 pc card modem. Is this typical of Linux, or is
  it just an improper init string or etc?
 
  From my (short) experience many people (including me)
 experiencing slower connection speed under Linux were giving
 pppd the wrong connection speed.
 
 pppd only accepts a limited set of speeds (19200 38400 ... 115200),
 [...]^^^
 Please disseminate this info.
 
 If this is not your case try to tune your packet size:
 choose a small one if your phone connection is noisy,
 also consider enabling or disabling compression.
 

Also please remember to edit your /etc/rc.boot/0setserial
file to have spd_vhi (or spd_hi) in the STD_FLAGS:

STD_FLAGS=session_lockout spd_vhi

-Michele


Re: Modem connection speed

1998-11-01 Thread john
Michele Bini writes:

 Also please remember to edit your /etc/rc.boot/0setserial
 file to have spd_vhi (or spd_hi) in the STD_FLAGS:

   STD_FLAGS=session_lockout spd_vhi

Please don't. pppd will work just fine at 115200 without this.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: Modem connection speed

1998-11-01 Thread Michele Bini
On Sat, Oct 31, 1998 at 08:23:47PM -0600, [EMAIL PROTECTED] wrote:
 Michele writes:
  It seems that there isn't a place (manpages, howtos, readmes) where these
  speeds are listed :(, and even worse, my posting about this problem via
  the debian bug tracking system had no replies
 
 What package did you file the bug against?  You should at least have gotten
 an automated reply from the system.

The bug was filed against pppd, and I got only an automated reply.

-Michele


Re: Modem connection speed

1998-10-31 Thread Raymond A. Ingles
On Thu, 29 Oct 1998, Kenneth Scharf wrote:

 Just recently there was a posting here that said they got better
 connection speed in Win95 than in Linux. A couple of days ago I heard
 another Linux say the same thing. And so far, on a hamm box, I can only
 get 19200 out of my 28800 pc card modem. Is this typical of Linux, or is
 it just an improper init string or etc?

 Try man setserial. It looks like your serial port is not getting
configured properly. I think serial ports in Linux default to pretty
conservative values. Try setting the rate to at least 38400. I'll bet that
this is the main source of the problem.

 After that, start looking at init strings for the modem and such. The
factory default settings ought to be okay, but there may be some things
you can play with.

 Finally, there are a few options for pppd that can result in improved
performance. Make sure that your asynchmap is 0 if at all possible. See if
Van Jacobsen header compression is allowed. (The man page explains this
stuff...)

 Sincerely,

 Ray Ingles (248) 377-7735  [EMAIL PROTECTED]

  Modern deductive method: 1) Devise hypothesis. 2) Apply for grant.
  3) Perform experiments. 4) Revise hypothesis. 5) Backdate revised
  hypothesis. 6) Publish.


Re: Modem connection speed

1998-10-31 Thread john
Raymond A. Ingles writes:
 I think serial ports in Linux default to pretty conservative values. Try
 setting the rate to at least 38400. I'll bet that this is the main source
 of the problem.

pppconfig sets the rate to 115200.  38400 isn't fast enough to keep up with
a modem running 28800.

 Make sure that your asynchmap is 0 if at all possible. See if Van
 Jacobsen header compression is allowed.

These are the defaults.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Modem connection speed

1998-10-29 Thread Kent West
Just recently there was a posting here that said they got better
connection speed in Win95 than in Linux. A couple of days ago I heard
another Linux say the same thing. And so far, on a hamm box, I can only
get 19200 out of my 28800 pc card modem. Is this typical of Linux, or is
it just an improper init string or etc?

Thanks.

= 
Kent West   
[EMAIL PROTECTED]    
KC5ENO  
= 

A day without sunshine is like... night.
-Steve Martin


Re: Modem connection speed

1998-10-29 Thread Nikolai Andreyevich Luzan
On Wed, 28 Oct 1998, Kent West wrote:

 Just recently there was a posting here that said they got better
 connection speed in Win95 than in Linux. A couple of days ago I heard
 another Linux say the same thing. And so far, on a hamm box, I can only
 get 19200 out of my 28800 pc card modem. Is this typical of Linux, or is
 it just an improper init string or etc?
My guess is that the init string is flunky. I have never got anything
less than the modems limit out of my modems, 14.4 out of the 14.4 28.8
out of the 28.8 33.6 out of the 33.6 and 44 out of the 56 (this has to
do with the modem banks at the ISP being set to 44kbs to ensure
minimum dropouts...on the recomendations of the comms carrier).

Nikolai


Re: modem connection speed

1998-10-29 Thread Michael Beattie
On 28 Oct 1998, Manoj Srivastava wrote:

 Hi,
 Michael == Michael Beattie [EMAIL PROTECTED] writes:
 
  Michael If you are using chat, pass it the '-v' option.
 
   I am passing the -v option to chat, and indeed, I am also
  using W2S95=47 (I have a rockwell chip modem). plog does not have
  that, but /var/log/ppp.log does indeed have the strings from chat.


Weird.. I could have sworn the plog script did a tail on
/var/log/ppp.log..

hmmm:

---/usr/bin/plog
#!/bin/sh
tail $* /var/log/ppp.log
---

yep..

   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with pgpkey as subject.
 -
  If NT is the answer, you didn't understand the question. (NOTE: Stolen sig)
 -
Debian GNU/Linux  Ooohh You are missing out!



Modem connection speed

1998-10-29 Thread Kenneth Scharf
Windows is doing something extra with modems.  I upgraded from a
motorola 28.8 to a hayes 56k v.90 (externals).  Now I would expect
that any two external modems would look about the same to the
computer.  Infact I had to do NOTHING to get linux to dial out and
connect to my ISP with the new modem.  But my windows machine (two
computers sharing a modem with a switch box.  But when linux uses the
modem, the windows machine has access via the lan) detected that there
was a new modem attached (had the modem powered up before the
computer), and asked to install the new drivers.  Then when I tried to
dial out to my ISP it gave the error message (can't find the modem). 
H, I found the dialup network properties for my ISP connection and
changed the setting from motorola modemsurfer to hayes and then it
worked.  So windows must query the modem first to find out what it is,
and then do some special stuff.  Maybe I should borrow a line montitor
from work and see what the two of them are talking about!


==
Just recently there was a posting here that said they got better
connection speed in Win95 than in Linux. A couple of days ago I heard
another Linux say the same thing. And so far, on a hamm box, I can only
get 19200 out of my 28800 pc card modem. Is this typical of Linux, or is
it just an improper init string or etc?

Th




_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: modem connection speed

1998-10-27 Thread Manoj Srivastava
Hi,
Ed == Ed Cogburn [EMAIL PROTECTED] writes:


 Ed'plog -f' will show the connect speed in its output.  Use ctl-c to exit
 Ed when done.

__ plog -f
Oct 26 17:45:17 tiamat diald[2284]: Running pppd (pid = 3742).
Oct 26 17:45:17 tiamat diald[3742]: Running pppd: /usr/sbin/pppd -detach modem 
crtscts mtu 1500 mru 1500 
Oct 26 17:45:17 tiamat pppd[3742]: pppd 2.3.5 started by root, uid 0
Oct 26 17:45:17 tiamat pppd[3742]: Using interface ppp0
Oct 26 17:45:17 tiamat pppd[3742]: Connect: ppp0 -- /dev/ttyS0
Oct 26 17:45:26 tiamat pppd[3742]: Remote message: Login Succeeded
Oct 26 17:45:26 tiamat pppd[3742]: local  IP address 206.96.246.252
Oct 26 17:45:26 tiamat pppd[3742]: remote IP address 206.96.246.241
Oct 26 17:45:27 tiamat diald[2284]: New addresses: local 206.96.246.252, remote 
206.96.246.241.
Oct 26 17:54:00 tiamat diald[2284]: FIFO: Unblock request received.


I can't determine cnnect speed from that, though. ;-(

manoj

-- 
 To be loved is very demoralizing. Katharine Hepburn
Manoj Srivastava  [EMAIL PROTECTED] http://www.datasync.com/%7Esrivasta/
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


Re: modem connection speed

1998-10-27 Thread Ed Cogburn
Manoj Srivastava wrote:
 
 Hi,
 Ed == Ed Cogburn [EMAIL PROTECTED] writes:
 
  Ed'plog -f' will show the connect speed in its output.  Use ctl-c to 
 exit
  Ed when done.
 
 __ plog -f
 Oct 26 17:45:17 tiamat diald[2284]: Running pppd (pid = 3742).
 Oct 26 17:45:17 tiamat diald[3742]: Running pppd: /usr/sbin/pppd -detach 
 modem crtscts mtu 1500 mru 1500
 Oct 26 17:45:17 tiamat pppd[3742]: pppd 2.3.5 started by root, uid 0
 Oct 26 17:45:17 tiamat pppd[3742]: Using interface ppp0
 Oct 26 17:45:17 tiamat pppd[3742]: Connect: ppp0 -- /dev/ttyS0
 Oct 26 17:45:26 tiamat pppd[3742]: Remote message: Login Succeeded
 Oct 26 17:45:26 tiamat pppd[3742]: local  IP address 206.96.246.252
 Oct 26 17:45:26 tiamat pppd[3742]: remote IP address 206.96.246.241
 Oct 26 17:45:27 tiamat diald[2284]: New addresses: local 206.96.246.252, 
 remote 206.96.246.241.
 Oct 26 17:54:00 tiamat diald[2284]: FIFO: Unblock request received.
 
 I can't determine cnnect speed from that, though. ;-(
 
 manoj
 


Maybe your modem isn't echoing the speed?!?  Here's what I get:

[snip]
Oct 26 21:15:12 HermitsCave chat[249]: send (^M)
Oct 26 21:15:12 HermitsCave chat[249]: expect (ogin:)
Oct 26 21:15:12 HermitsCave chat[249]:  28800/V42BIS^M  -- from the
modem
Oct 26 21:15:18 HermitsCave chat[249]: ^M
[snip]


-- 
Ed C.


Re: modem connection speed

1998-10-27 Thread Michael Beattie
On 26 Oct 1998, Manoj Srivastava wrote:

 Hi,
 Ed == Ed Cogburn [EMAIL PROTECTED] writes:
 
 
  Ed  'plog -f' will show the connect speed in its output.  Use ctl-c to exit
  Ed when done.
 
 __ plog -f
 Oct 26 17:45:17 tiamat diald[2284]: Running pppd (pid = 3742).
 Oct 26 17:45:17 tiamat diald[3742]: Running pppd: /usr/sbin/pppd -detach 
 modem crtscts mtu 1500 mru 1500 
 Oct 26 17:45:17 tiamat pppd[3742]: pppd 2.3.5 started by root, uid 0
 Oct 26 17:45:17 tiamat pppd[3742]: Using interface ppp0
 Oct 26 17:45:17 tiamat pppd[3742]: Connect: ppp0 -- /dev/ttyS0
 Oct 26 17:45:26 tiamat pppd[3742]: Remote message: Login Succeeded
 Oct 26 17:45:26 tiamat pppd[3742]: local  IP address 206.96.246.252
 Oct 26 17:45:26 tiamat pppd[3742]: remote IP address 206.96.246.241
 Oct 26 17:45:27 tiamat diald[2284]: New addresses: local 206.96.246.252, 
 remote 206.96.246.241.
 Oct 26 17:54:00 tiamat diald[2284]: FIFO: Unblock request received.
 
 
   I can't determine cnnect speed from that, though. ;-(


If you are using chat, pass it the '-v' option.

   Michael Beattie ([EMAIL PROTECTED])

   PGP Key available, reply with pgpkey as subject.
 -
   Bother, said Pooh, as he fell into the liquid iron ore crucible
 -
Debian GNU/Linux  Ooohh You are missing out!



Re: modem connection speed

1998-10-27 Thread Hamish Moffatt
On Sun, Oct 25, 1998 at 01:00:33PM -0500, Ed Cogburn wrote:
 richard wrote:
  
  How can I tell at what speed I am connecting to my ISP under linux?
  
 
 
   'plog -f' will show the connect speed in its output.  Use ctl-c to exit
 when done.

Only if your modem is configured to report it; most Rockwells aren't
by default. Something like ATW2S95=47 suits me; it also reports
the compression and error correction protocols negotiated.


Hamish
-- 
Hamish Moffatt VK3TYD  [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Re: modem connection speed

1998-10-27 Thread Hamish Moffatt
On Sun, Oct 25, 1998 at 01:33:12PM -0600, [EMAIL PROTECTED] wrote:
 wb2oyc writes:
  I'm not sure how to tell the ppp daemon or chatscript to tell you that
 
 Replace the 'ATZ' in your chatscript with 'ATW2'.  Add '-r /etc/ppp/speed'

Not really the same thing; you really need ATZ then ATW2 as a separate
command. Or do ATW2 and write the options to NVRAM with W.


Hamish
-- 
Hamish Moffatt VK3TYD  [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Re: modem connection speed

1998-10-27 Thread john
Hamish Moffatt writes:
 Not really the same thing; you really need ATZ then ATW2 as a separate
 command. Or do ATW2 and write the options to NVRAM with W.

You're right: 'ATZ OK ATW2' for belt  suspenders.  But most modems don't
need the ATZ at all.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: modem connection speed

1998-10-25 Thread Ed Cogburn
richard wrote:
 
 How can I tell at what speed I am connecting to my ISP under linux?
 


'plog -f' will show the connect speed in its output.  Use ctl-c to exit
when done.


-- 
Ed C.


Re: modem connection speed

1998-10-25 Thread wb4mle
On Sun, 25 Oct 1998 16:28:05 + (GMT), you wrote:

How can I tell at what speed I am connecting to my ISP under linux?



Put REPORT CONNECT at the beginning of your chatscript.
-- 
Eddie Seymour, WB4MLE
E-Mail [EMAIL PROTECTED]   
PGP KEYS D/H 0xB65DC61A   RSA 0x935801A9


Re: modem connection speed

1998-10-25 Thread wb2oyc
How can I tell at what speed I am connecting to my ISP under linux?

Check your modem manual.  There is an AT command that will tell your
modem to report not the DTE port speed (the speed of the interface 
between your serial port and the modem itself), but the actual carrier
speed--the speed of the modem to modem connection.

I'm not sure how to tell the ppp daemon or chatscript to tell you that
but if you call them using minicom, it will report the speed when the
connection occurs...or, it will report whichever the modem has been
commanded to report, I should say.  Here, if you've told it to report
the actual carrier speed, thats what you'll see.

Paul


Re: modem connection speed

1998-10-25 Thread Leon Breedt
On Sun, Oct 25 1998, wb2oyc spake thus:

 Check your modem manual.  There is an AT command that will tell your
 modem to report not the DTE port speed (the speed of the interface 
 between your serial port and the modem itself), but the actual carrier
 speed--the speed of the modem to modem connection.

afaik, this command is ATW2...is what works on my 33.6 rockwell.

leon

-- 
__   _
Leon Breedt-o) / /  (_)__  __   __
System Administrator   /\\/ /__/ / _ \/ // /\ \/ /
[EMAIL PROTECTED]_\_v/_/_//_/\_,_/ /_/\_\

Linux:  Oh no, I think my 64-bit uptime variable just overflowed


Re: modem connection speed

1998-10-25 Thread john
wb2oyc writes:
 I'm not sure how to tell the ppp daemon or chatscript to tell you that

Replace the 'ATZ' in your chatscript with 'ATW2'.  Add '-r /etc/ppp/speed'
to the options given to chat and add 'REPORT CONNECT' to the top of your
chatscript.  The speed will appear in /etc/ppp/speed.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI