LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-24-2006, 01:07 PM   #1
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
How can I see my dial-up modem connection speed?


Hello.

I am using Ubuntu Dapper with the pon/poff connection scripts (from pppconfig) to connect to the internet with my integrated Conexant modem (using Linuxant drivers). It seems to connect at a decent speed most of the time (I'm using the full license), but I would like to see exactly how fast the modem connection is each time I connect.

I tried using the gnome modem applet, but it had a couple of annoying bugs that I didn't feel like dealing with (and I couldn't get it to display connection speed anyway).

Is there a command or GUI tool that I can use to see how fast (or slow) I'm connected to the Internet?

Thanks!

--Dane
 
Old 10-01-2006, 12:10 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
How about a speed test?

http://www.bandwidthplace.com/speedtest/
http://www.speakeasy.net/speedtest/
 
Old 10-01-2006, 05:07 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Take a look at gkrellm It's an excellent overall system monitor, and includes a network monitor feature
 
Old 10-01-2006, 05:14 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
Take a look at gkrellm It's an excellent overall system monitor, and includes a network monitor feature
Do you need a plugin for that? I am using gkrellm here, but I cannot see any connection speed stats, just data transfer stats...

To tell the truth, I am having difficulty seeing how any local app can figure out the connection speed without actually down/uploading some data, hence why I linked to the speed test websites.
 
Old 10-01-2006, 08:22 PM   #5
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
I seem to recall I my dial-up days that I had to grep for "CONNECT" in the syslog to find my connection speed. I know that's not very polished, but it should get you the number.
 
Old 10-01-2006, 08:51 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Quote:
Originally Posted by bulliver
I cannot see any connection speed stats, just data transfer stats...
You are correct, and what I should have said was that uf you're using gkrellm and start a download of a reasonably large file, you can keep an eye on your connection speed while the file downloads. Functionally it's no different than a speed test (which also measures things by timing how long it takes to move a certain amount of data) but the reason I recommend gkrellm is because it also has a great deal of other useful features, plus once it's installed it'll always be available. Sorry about my previous incomplete response
 
Old 10-06-2006, 12:39 AM   #7
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Original Poster
Rep: Reputation: 130Reputation: 130
Sorry for the late reply; I haven't used this computer for a few days.

I found a way to see the connection speed! Here's what I did:

1) I went on Linuxant's web site and read the FAQ where it said what to put in the modem's init string (in pppconfig, or in /etc/chatscripts/<myispname>), and edited my init string accordingly.

2) I edited /etc/chatscripts/<myispname> to change this line:

Code:
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
...to this:

Code:
REPORT CONNECT ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
Note that "REPORT CONNECT" must be inserted at the BEGINNING of the string.

3) Look in /var/log/ppp-connect-errors (using the "cat" or "less" command) for the very last line that looks something like this:

Code:
chat:  Oct 05 22:28:41 CONNECT 57600
VOILA! :-D

The only problem I had was figuring out how to put the connect speed in its own file. I tried putting the "-r /var/log/ppp-speed" option in the chat command in /etc/ppp/peers/<myispname> , but that only made it add this to /var/log/ppp-connect-errors :

Code:
Closing "/var/log/ppp-speed".
...not very helpful :-p

Thanks for the pointers that eventually led to the solution! Any ideas on how to put this message in its own file?

Thanks!

--Dane
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dial-up modem speed rayburn Ubuntu 7 11-12-2005 03:56 PM
How to get the dial up connection speed through system-control-network in FC4 TruongAn Fedora 1 10-25-2005 08:53 AM
Modem to Modem connection to test dial-up webcam server dazz Linux - Newbie 2 06-01-2005 04:43 AM
How to see Dial Up Connection Speed stelmed Slackware 3 01-20-2005 03:22 PM
Application to know my dial-up connection speed? asklepios Linux - General 3 03-07-2004 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration