PPP connection speed
Hello. I'm using pppconfig and pon/poff to connect to internet using dialup. Is there an easy way to view current connection speed??? Thanks. == Plese, don't send me any attachment in Micro$oft (.DOC, .PPT) format. Read http://www.fsf.org/philosophy/no-word-attachments.html Preferable attachments: .PDF, .HTML, .TXT Please, consider adding this text to Your email signature. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ppp connection speed
On Tue, Aug 19, 2003 at 02:54:24PM +0300, Alphonse Ogulla wrote: Just configured ppp and established a connection using pon. ifconfig ppp0 shows device ppp0 is up and running but with no indication of the negotiated bandwidth. How can I establish the speed in Kbps at which I'm connected? It *might* be a matter of the modem initializing string. Maybe it is already reported in the log file? Have you tried some graphical dialing program? -- Shaul Karl,shaulk @ actcom . net . il -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ppp connection speed
On Wednesday 20 August 2003 11:47, Shaul Karl wrote: On Tue, Aug 19, 2003 at 02:54:24PM +0300, Alphonse Ogulla wrote: Just configured ppp and established a connection using pon. ifconfig ppp0 shows device ppp0 is up and running but with no indication of the negotiated bandwidth. How can I establish the speed in Kbps at which I'm connected? It *might* be a matter of the modem initializing string. Maybe it is already reported in the log file? Have you tried some graphical dialing program? -- Shaul Karl,shaulk @ actcom . net . il Not tried Kppd or any other GUI ppp app. More comfortable on CLI. However, /dev/ttyS1, UART 16550A is set to a baud_base of 115200, the fastest attainable speed between the modem and the serial port. On the other hand, I used minicom to configure my 3Com US Robotics external modem to connect at the highest attainable data rate (ATN0) whilst at the same time enabling auto data compression (ATK1). /var/log/syslog has in it several lines pertaining to the activity of pppd but cannot deduce the connection speed. Thanks anyway. -- Alphonse Ogulla Nairobi, Kenya -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
ppp connection speed
Just configured ppp and established a connection using pon. ifconfig ppp0 shows device ppp0 is up and running but with no indication of the negotiated bandwidth. How can I establish the speed in Kbps at which I'm connected? -- Alphonse Ogulla Nairobi, Kenya -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ppp connection speed
On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote: Hello, I am using Debian slink, and a standard modem/pppd connection to my provider. Everything works well since years (I used the same config with Slakware) But how/where can I see with which speed the modem has been connected ?? thanks, -- - Philippe MICHEL I use the following /etc/chatscripts/provider file: ABORT BUSY ABORT NO CARRIER ABORT VOICE ABORT NO DIALTONE ABORT NO ANSWER ATZ OK ATX4 OK ATW1 OK ATDT947650210 CONNECT \d\c The commands to display connection speed are: ATX4: wait for dialtone, send CONNECT when connected, else send send NO DIALTONE or BUSY as appropiate ATW1: inform about modem-to-pc speed as CONNECT and connection speed as CARRIER Deppending on your modem you could need ATQ0 and ATV1 too. Here you have a connection log as given by syslogd in /var/log/ppp.log : Aug 4 12:09:45 tejeringo pppd[691]: pppd 2.3.11 started by root, uid 0 Aug 4 12:09:46 tejeringo chat[692]: abort on (BUSY) Aug 4 12:09:46 tejeringo chat[692]: abort on (NO CARRIER) Aug 4 12:09:46 tejeringo chat[692]: abort on (VOICE) Aug 4 12:09:46 tejeringo chat[692]: abort on (NO DIALTONE) Aug 4 12:09:46 tejeringo chat[692]: abort on (NO ANSWER) Aug 4 12:09:46 tejeringo chat[692]: send (ATZ^M) Aug 4 12:09:46 tejeringo chat[692]: expect (OK) Aug 4 12:09:46 tejeringo chat[692]: ATZ^M^M Aug 4 12:09:46 tejeringo chat[692]: OK Aug 4 12:09:46 tejeringo chat[692]: -- got it Aug 4 12:09:46 tejeringo chat[692]: send (ATX4^M) Aug 4 12:09:46 tejeringo chat[692]: expect (OK) Aug 4 12:09:46 tejeringo chat[692]: ^M Aug 4 12:09:46 tejeringo chat[692]: ATX4^M^M Aug 4 12:09:46 tejeringo chat[692]: OK Aug 4 12:09:46 tejeringo chat[692]: -- got it Aug 4 12:09:46 tejeringo chat[692]: send (ATW1^M) Aug 4 12:09:46 tejeringo chat[692]: expect (OK) Aug 4 12:09:46 tejeringo chat[692]: ^M Aug 4 12:09:46 tejeringo chat[692]: ATW1^M^M Aug 4 12:09:46 tejeringo chat[692]: OK Aug 4 12:09:46 tejeringo chat[692]: -- got it Aug 4 12:09:46 tejeringo chat[692]: send (ATDT947650210^M) Aug 4 12:09:47 tejeringo chat[692]: expect (CONNECT) Aug 4 12:09:47 tejeringo chat[692]: ^M Aug 4 12:10:14 tejeringo chat[692]: ATDT947650210^M^M Aug 4 12:10:14 tejeringo chat[692]: CARRIER 49333^M your question Aug 4 12:10:15 tejeringo chat[692]: ^M Aug 4 12:10:15 tejeringo chat[692]: PROTOCOL: LAP-M^M Aug 4 12:10:15 tejeringo chat[692]: ^M Aug 4 12:10:15 tejeringo chat[692]: CONNECT Aug 4 12:10:15 tejeringo chat[692]: -- got it Aug 4 12:10:15 tejeringo chat[692]: send (\d) Aug 4 12:10:16 tejeringo pppd[691]: Serial connection established. Aug 4 12:10:16 tejeringo pppd[691]: Using interface ppp0 Aug 4 12:10:16 tejeringo pppd[691]: Connect: ppp0 -- /dev/ttyS1 Aug 4 12:10:21 tejeringo pppd[691]: Cannot determine ethernet address for proxy ARP Aug 4 12:10:21 tejeringo pppd[691]: local IP address 212.7.57.115 Aug 4 12:10:21 tejeringo pppd[691]: remote IP address 62.14.9.104 By the way, what means 'Cannot determine ethernet address for proxy ARP'? -- Jesús Ruiz de Infante Key fingerprint = CA 44 E4 0B 47 DF F7 8F 6F F7 8E 4A 60 19 AA 1A AE 9D D0 31 To add my public key to your keyring: pgpk -a hkp://horowitz.surfnet.nl/[EMAIL PROTECTED] pgpJJAHqNkW8q.pgp Description: PGP signature
Re: ppp connection speed
On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote: Hello, I am using Debian slink, and a standard modem/pppd connection to my provider. Everything works well since years (I used the same config with Slakware) But how/where can I see with which speed the modem has been connected ?? thanks, -- - Philippe MICHEL A very simple solution: - put REPORT CONNECT in your chat script (pppconfig do this for you, at least in potato). Take a look at your modem docs; maybe you need REPORT CARRIER instead. - use the chat -r option to set the chat log file (p.e: /var/log/chat.log). In this file you get something like this: chat: Aug 04 13:12:20 CONNECT 9600 chat: Aug 04 13:14:02 CONNECT 14400/REL-LAPM V.42 BIS chat: Aug 04 18:11:05 CONNECT 33600/ARQ/V34/LAPM/V42BIS ^ HTH, -- David
ppp connection speed
Hello, I am using Debian slink, and a standard modem/pppd connection to my provider. Everything works well since years (I used the same config with Slakware) But how/where can I see with which speed the modem has been connected ?? thanks, -- - Philippe MICHEL - [EMAIL PROTECTED] - [EMAIL PROTECTED] Penser ne suffit pas : il faut penser à quelque chose. Jules Renard = Dispensé de Politesse envers la PUB Sauvage !!! -Pour répondre, supprimer eventuellement no_spam_ de mon adresse. -Wenn Sie antworten, bitte no_spam_ von der Adresse löschen. -If you respond to my mail, please remove the eventual no_spam_.
Re: ppp connection speed
On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote: Hello, I am using Debian slink, and a standard modem/pppd connection to my provider. Everything works well since years (I used the same config with Slakware) But how/where can I see with which speed the modem has been connected ?? Several graphical ppp monitors have speed indicators. wmppp is one such. Not sure of the KDE or Gnome desktops. -- Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself Evangelist, Opensales, Inc.http://www.opensales.org What part of Gestalt don't you understand? Debian GNU/Linux rocks! http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0 pgpNM0k0VcHhU.pgp Description: PGP signature
Re: ppp connection speed
kmself@ix.netcom.com wrote: On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote: Hello, I am using Debian slink, and a standard modem/pppd connection to my provider. Everything works well since years (I used the same config with Slakware) But how/where can I see with which speed the modem has been connected ?? Several graphical ppp monitors have speed indicators. wmppp is one such. Not sure of the KDE or Gnome desktops. Yes but is there no log file to register this ? Independantly from X ? ppp.log register the ip number got dynamicaly, but nothing about the baudrate... Another idee ? -- - Philippe MICHEL - [EMAIL PROTECTED] - [EMAIL PROTECTED] Penser ne suffit pas : il faut penser à quelque chose. Jules Renard = Dispensé de Politesse envers la PUB Sauvage !!! -Pour répondre, supprimer eventuellement no_spam_ de mon adresse. -Wenn Sie antworten, bitte no_spam_ von der Adresse löschen. -If you respond to my mail, please remove the eventual no_spam_.
Re: ppp connection speed
On Thu, Aug 03, 2000 at 01:55:51PM +0200, Philippe MICHEL wrote: kmself@ix.netcom.com wrote: On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote: Hello, I am using Debian slink, and a standard modem/pppd connection to my provider. Everything works well since years (I used the same config with Slakware) But how/where can I see with which speed the modem has been connected ?? Several graphical ppp monitors have speed indicators. wmppp is one such. Not sure of the KDE or Gnome desktops. Yes but is there no log file to register this ? Independantly from X ? ppp.log register the ip number got dynamicaly, but nothing about the baudrate... Another idee ? The raw information is available under /proc/net, and possibly elsewhere. You might be able to pull something together from that. You could also check sites such as Freshmeat for a tool that logs ppp0 buad rates or transfer speed. I'm not aware of one, this doesn't mean it doesn't exist. -- Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself Evangelist, Opensales, Inc.http://www.opensales.org What part of Gestalt don't you understand? Debian GNU/Linux rocks! http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0 pgpUwN5T0WL3Z.pgp Description: PGP signature
Re: ppp connection speed
Karsten M. Self writes: The raw information is available under /proc/net,... That is just the speed of the connection from the computer to the modem. It is generally much higher then the modem bit rate (not baud rate. There is an AT command to tell your modem to report the bit rate and a chat option to tell it to log the modem report. Read your modem manual and man chat. -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin
Re: ppp connection speed
kmself@ix.netcom.com (kmself@ix.netcom.com) wrote: On Thu, Aug 03, 2000 at 01:55:51PM +0200, Philippe MICHEL wrote: kmself@ix.netcom.com wrote: On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote: Hello, I am using Debian slink, and a standard modem/pppd connection to my provider. Everything works well since years (I used the same config with Slakware) But how/where can I see with which speed the modem has been connected ?? Several graphical ppp monitors have speed indicators. wmppp is one such. Not sure of the KDE or Gnome desktops. Yes but is there no log file to register this ? Independantly from X ? ppp.log register the ip number got dynamicaly, but nothing about the baudrate... Another idee ? The raw information is available under /proc/net, and possibly elsewhere. You might be able to pull something together from that. You could also check sites such as Freshmeat for a tool that logs ppp0 buad rates or transfer speed. I'm not aware of one, this doesn't mean it doesn't exist. Excuse the interuption here (I missed the first message) but on every potato install I've done (not sure about slink... been too long!) pppd reports all interesting information to '/var/log/messages' and all ppp data to '/var/log/ppp.log' Here is a quick listing of mine: # grep Aug 3 /var/log/ppp.log | grep chat | grep / Aug 3 08:48:53 mustang chat[9861]: 26400/ARQ/V34/LAPM/V42BIS^M Looking more closely I see this is text my provider sends during connection (along with other info) and not something from pppd or it's friends. This may not be useful to you (probably not) but you may want to try adding ECHO ON to your '/etc/chatscripts/provider' so that any such messages get logged. HTH, Ron -- Email: mailto:[EMAIL PROTECTED] Home: http://www.farrer.net/~rbf/ ICQ: pulsar 26276320 pgpMruSzSObTE.pgp Description: PGP signature
Re: ppp connection speed
On 3 Aug 2000, John Hasler wrote: Karsten M. Self writes: The raw information is available under /proc/net,... That is just the speed of the connection from the computer to the modem. It is generally much higher then the modem bit rate (not baud rate. higher rate useful for on the fly modem compression/decompression of compressible data. Yes, just play with the AT commands manually using just a serial connection to get bit rate - modem protocol. Automate it later. Rule of thumb (thumbs may vary) an ftp transfer of ~4000 chars per second for a well compressed file (zip etc.) for a 28k connection. There is an AT command to tell your modem to report the bit rate and a chat option to tell it to log the modem report. Read your modem manual and man chat. -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
PPP connection speed(again)
Hi all, I tried to use the RedHat /etc/ppp/options file in debian, and it didn't help. The connection speed cannot go up to 800 bytes/sec. The redhat's ppp version is 2.3.3-6. And I am using the newest stable ppp debian pachage. So any ideas?? I really want to fix this problem. Because it gives me the feeling that Redhat performs better than debian, although I know it is not true. I have been working on this for 2 months already. Please help. Thanks! Shao. Shao Zhang \\/ 5/28-30 Victoria AVE OxO PENSHURST 2035 //\ Sydney, NSW ///\\ Australia\\\ / ^ _ \ ( (o) (o) ) * * *===oOOO=(_)=OOOo=* * * *| [EMAIL PROTECTED] | * * | http://shaoz.dyn.ml.org | * *** | http://www.cse.unsw.edu.au/~s2193893| * * *===Oooo.=* * * *.oooO ( | * * * * *( ) ) / * **\ ( (_/ \_)
Re: PPP connection speed(again)
You could: 1. Use wvdial package to finetune your modem. 2. Use irqtune to do the same. I tried it, it doesnt help me much, though my usual speed of download is around 3Kbs on netscape/ftp with 33.6 modem. As far as FAQ for irqtune says, it sounds like you have a problem that requires that package. HTH Andrew Never include a comment that will help | Andrew Ivanov someone else understand your code. | [EMAIL PROTECTED] If they understand it, they don't | ICQ: 12402354 need you. |
Re: PPP connection speed
Is there anything wrong with the script? I use them in Redhat as well, and it didn't cause trouble at all... Shao, I don't think so...but one thing, unless you've altered the /etc/ppp/options file, the default with RedHat has only the statement lock in it. That means the rest of the options will take their defaults as far as pppd goes; whatever they may be, when you use RH. The difference may be there. Paul
PPP connection speed
Hi all, I have three ISPs, let me name them A, B and C. A is very new(technology), B C are relatively old compare to A. In debian, for ISP A, I can have a average download rate 3k/s. But for B C, the download rate is only about 800bytes/s. But for the same matchine, in RedHat 5.1, I can have a download rate at 3k/s for all three ISPs. Some kind debian users advised me to change the line in /etc/rc.boot/0setserial from STD_FLAGS=session_lockout to STD_FLAGS=session_lockout spd_vhi I tried that and it didn't help. Also, someone advised me to use mru/mtu. If you think this will solve the problem, could you please give me more info on mru/mtu? And is bsdcompression vital to speed up the connection?? By the way, I didn't use the debian script pon and poff. Since I have many ISPs, I wrote a shell script for them. It looks as follows: case $1 in A) /usr/sbin/pppd connect 'chat -v ATDT CONNECT \ OK ogin: USERNAME word: PASSWORD election 3' /dev/modem 115200 \ -detach crtscts modem defaultroute ;; Is there anything wrong with the script? I use them in Redhat as well, and it didn't cause trouble at all... Thanks for any help in advance. Regards, Shao. Shao Zhang \\/ 5/28-30 Victoria AVE OxO PENSHURST 2035 //\ Sydney, NSW ///\\ Australia\\\ / ^ _ \ ( (o) (o) ) * * *===oOOO=(_)=OOOo=* * * *| [EMAIL PROTECTED] | * * | http://shaoz.dyn.ml.org | * *** | http://www.cse.unsw.edu.au/~s2193893| * * *===Oooo.=* * * *.oooO ( | * * * * *( ) ) / * **\ ( (_/ \_)
Re: PPP connection speed
Shao Ying Zhang writes: In debian, for ISP A, I can have a average download rate 3k/s. But for B C, the download rate is only about 800bytes/s. But for the same matchine, in RedHat 5.1, I can have a download rate at 3k/s for all three ISPs. What version of pppd are you using with Red Hat? What version with Debian? What options are you giving pppd under Red Hat? What options under Debian? I tried that and it didn't help. I would not expect it to. By the way, I didn't use the debian script pon and poff. Since I have many ISPs, I wrote a shell script for them. You didn't need to do that. You could have run pppconfig once for each ISP, giving each a unique name. You would then have been able chose which to call by entering 'pon isp-name'. -detach crtscts modem defaultroute Is there anything wrong with the script? '-detach' means do not fork and become a background process. '' tells the shell to make pppd a background process. Using both isn't wrong, exactly, but it doesn't do anything either. Leave out both the '-detach' and the ''. I use them in Redhat as well, and it didn't cause trouble at all... The script should work fine. It also does nothing not built into the Debian ppp system. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
PPP connection speed
Hello all. I know this topic has been discussed about a month agoI did not save the messages. How can I display the speed of my ppp connection? TIA, Andrew Never include a comment that will help | Andrew Ivanov someone else understand your code. | [EMAIL PROTECTED] If they understand it, they don't | ICQ: 12402354 need you. |
Re: PPP connection speed
One way to do it is like this: 1) In your /etc/ppp/peers/provider file, modify your connect line to look something like this: connect /usr/sbin/chat -v -r report-file -f /etc/chatscripts/provider where the -r report-file specifies the file to report the speed to. 2) In your /etc/chatscripts/provider file, you need to tell the modem to report the connect speed. Mine looks like this: ABORT BUSY ABORT NO CARRIER ABORT VOICE ABORT NO DIALTONE ABORT NO ANSWER REPORT CONNECT == I added this line ATZ OK ATW2 == and this one also OK ATDT1234567 CONNECT \d\c You may need to take a look at your modem's manual. For mine, the ATW2 command does what I want. The end result is that the connect speed is written to the report file each time I connect. I'm sure there's plenty of variations on how to do this, including displaying it each time, if that's what you want. See the chat man page for more information. Tom Andrew Ivanov wrote: Hello all. I know this topic has been discussed about a month agoI did not save the messages. How can I display the speed of my ppp connection? TIA, Andrew Never include a comment that will help | Andrew Ivanov someone else understand your code. | [EMAIL PROTECTED] If they understand it, they don't | ICQ: 12402354 need you. | -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
PPP Connection Speed
Hi all, Could anyone please help me with this? Somehow, I cannot get a fast ppp connection anymore. In redhat, my ppp connection is normally around 3K/sec. But in debian, my ppp connection is around 800bytes/sec. I had this ppp problem once in RedHat. I initialised my ppp when system redhat booted up. The system will keep calling pppd to check if my modem is available. so when I turn on my modem, it will start dialing. With this configuration, my ppp connection is always below 1K/sec. Once I disabled it, it went up to 3K/sec on average. So, my guess is there is a similar situation in debian. But this time I don't have any idea at all. Could some ppp experts give me some tips to work around. Thank you in advance. Regards, Shao. Shao Zhang \\/ 5/28-30 Victoria AVE OxO PENSHURST 2035 //\ Sydney, NSW ///\\ Australia\\\ / ^ _ \ ( (o) (o) ) * * *===oOOO=(_)=OOOo=* * * *| [EMAIL PROTECTED] | * * | http://shaoz.dyn.ml.org | * *** | http://www.cse.unsw.edu.au/~s2193893| * * *===Oooo.=* * * *.oooO ( | * * * * *( ) ) / * **\ ( (_/ \_)
Re: PPP Connection Speed
On Tue, 29 Sep 1998, Shao Ying Zhang wrote: Somehow, I cannot get a fast ppp connection anymore. In redhat, my ppp connection is normally around 3K/sec. But in debian, my ppp connection is around 800bytes/sec. I had this ppp problem once in RedHat. I initialised my ppp when system redhat booted up. The system will keep calling pppd to check if my modem is available. so when I turn on my modem, it will start dialing. With this configuration, my ppp connection is always below 1K/sec. Once I disabled it, it went up to 3K/sec on average. So, my guess is there is a similar situation in debian. But this time I don't have any idea at all. Could some ppp experts give me some tips to work around. two things you might check: does redhat have bsdcompression turned on, and debian not? does redhat have a mru/mtu set, and debian not? you don't say what speed modem you have. also, don't forget with compression the throughput depends a lot on the type of data being transferred (text compresses more), plus if you're calling during peak times your ISP may not have the bandwidth to support everyone at full speed. - dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / Rocky Road, croaked the toad. | II /
Re: PPP Connection Speed
dave writes: does redhat have bsdcompression turned on, and debian not? Debian does not have either bsdcomp or deflate in the distributed options file. However, I believe that pppd will agree to either if the other end offers it. Perhaps his isp is not offering compression: try putting 'bsdcomp 15,15' in /etc/ppp/peers/provider. does redhat have a mru/mtu set, and debian not? Debian has no mru or mtu in the distributed options file. However, pppd defaults to 1500, which should give maximum throughput. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: PPP Connection Speed
SYZ == Shao Ying Zhang [EMAIL PROTECTED] writes: Geez, why does your mailer fill your line with whitespace until they are 100 chars wide... But back to your question about low connection speed in debian. 1. If yu have a Pentium (- fast serial port) and at least a 28.800 modem, check if setserial is setting it to the highest speed. Edit /etc/rc.boot/0setserial and change STD_FLAGS=session_lockout to STD_FLAGS=session_lockout spd_vhi Check man setserial for more info. You could also try to increase the priorty of your serial port. Install the hwtools package. By default it will make irq4 = com2 top priority. Check /etc/rc.boot/hwtools and man irqtune. Ciao, Martin
Re: ppp connection speed
That fixed it. Many thanks, Patrick On Thu, 6 Aug 1998, Marsh Ray wrote: Try putting the 'REPORT CONNECT' at the beginning? - Marsh /usr/sbin/chat -v -r /home/patricko/speed \ TIMEOUT 60 \ ABORT '\nBUSY\r' \ ABORT '\nNO CARRIER\r'\ ABORT '\nNO DIALTONE\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r'\ '' ATDT$1 \ CONNECT '' \ REPORT CONNECT \ ogin:--ogin:$ACCOUNT\ assword:$PASSWORD -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: ppp connection speed
On 21 Jul 1998 [EMAIL PROTECTED] wrote: Add 'REPORT CONNECT' to your chatscript and call chat with '-r /etc/ppp/report' and the 'CONNECT' string reported by your modem will appear in /etc/ppp/report. Add 'X4' to your modem init string and it will report the connect speed. I tried this and it didn't exactly work. Could you tell me what I've done wrong? The chatscript, report file and part of ppp.log are below. Thanks, Patrick chatscript - /usr/sbin/chat -v -r /home/patricko/speed \ TIMEOUT 60 \ ABORT '\nBUSY\r' \ ABORT '\nNO CARRIER\r'\ ABORT '\nNO DIALTONE\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r'\ '' ATDT$1 \ CONNECT '' \ REPORT CONNECT \ ogin:--ogin:$ACCOUNT\ assword:$PASSWORD # - /home/patricko/speed - Opening /home/patricko/speed... Closing /home/patricko/speed. - /var/log/ppp.log shows that the modem is reporting the connect speed - Aug 6 09:27:40 server2 chat[5567]: send (ATDT316-0123^M) Aug 6 09:27:40 server2 chat[5567]: expect (CONNECT) Aug 6 09:27:40 server2 chat[5567]: ^M Aug 6 09:27:59 server2 chat[5567]: ^M Aug 6 09:27:59 server2 chat[5567]: CONNECT -- got it Aug 6 09:27:59 server2 chat[5567]: send (^M) Aug 6 09:27:59 server2 chat[5567]: report (CONNECT) Aug 6 09:27:59 server2 chat[5567]: expect (ogin:) Aug 6 09:27:59 server2 chat[5567]: 24000^M Aug 6 09:28:01 server2 chat[5567]: Visit the City of Salem and Marion County H Aug 6 09:28:01 server2 chat[5567]: ^M Aug 6 09:28:01 server2 chat[5567]: ^M Aug 6 09:28:01 server2 chat[5567]: Salem-6 (line 137) login: -- got it -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: ppp connection speed
Try putting the 'REPORT CONNECT' at the beginning? - Marsh /usr/sbin/chat -v -r /home/patricko/speed \ TIMEOUT 60 \ ABORT '\nBUSY\r' \ ABORT '\nNO CARRIER\r'\ ABORT '\nNO DIALTONE\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r'\ '' ATDT$1 \ CONNECT '' \ REPORT CONNECT \ ogin:--ogin:$ACCOUNT\ assword:$PASSWORD -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: ppp connection speed
Hi... The local2 syslog facility. Debian normally saves this to /var/log/ppp.log, and /var/log/syslog, besides all the others (/var/log/messages?). Alex On Tue, 21 Jul 1998, the lone gunman wrote: Date: Tue, 21 Jul 1998 20:39:31 -0500 From: the lone gunman [EMAIL PROTECTED] Reply-To: Matt Garman [EMAIL PROTECTED] To: Debian/GNU User's List debian-user@lists.debian.org Subject: ppp connection speed Resent-Date: 22 Jul 1998 01:39:34 - Resent-From: debian-user@lists.debian.org Resent-cc: recipient list not shown: ; Where would I look to find out what speed my modem connects when I use ppp? Thanks! Matt -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
ppp connection speed
Where would I look to find out what speed my modem connects when I use ppp? Thanks! Matt -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: ppp connection speed
On Tue, Jul 21, 1998 at 08:38:44PM -0500, scott hussey wrote: At 08:39 PM 7/21/98 -0500, you wrote: Where would I look to find out what speed my modem connects when I use ppp? Thanks! Matt It should be contained in your connection log. Just type 'plog'. If it is not visible, you can more the log. I think it is under /etc/logs/ I checked plog, and it didn't report any connect speed. I also purused /var/adm/ppp.log -- no luck there, either. shrug Thanks, though! -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: ppp connection speed
the lone gunman writes: I checked plog, and it didn't report any connect speed. I also purused /var/adm/ppp.log -- no luck there, either. shrug Add 'REPORT CONNECT' to your chatscript and call chat with '-r /etc/ppp/report' and the 'CONNECT' string reported by your modem will appear in /etc/ppp/report. Add 'X4' to your modem init string and it will report the connect speed. -- 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. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null