LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-05-2009, 08:29 AM   #1
senrooy
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Rep: Reputation: 0
Arrow Internet connection type on Linux


Hi,

How can we find out the internet connection type (i.e whether dial up or broadband ) on linux?
Is there any command to get this information? If not how can we find it?
 
Old 05-05-2009, 09:07 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by senrooy View Post
Hi,

How can we find out the internet connection type (i.e whether dial up or broadband ) on linux?
Is there any command to get this information? If not how can we find it?
Almost all Linux distros support dial and broad band .
So it comes down to what you have .
And what you have configured
Do you have somewhere on youŕe desktop a internet icon
If click on it it gives you some information about the connection
Or do mean something else
Which distro are you using ?

Last edited by ronlau9; 05-05-2009 at 09:09 AM.
 
Old 05-05-2009, 09:13 AM   #3
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,419

Rep: Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617
Quote:
How can we find out the internet connection type
This is determined by what you are paying for from your ISP. Dial-up implies you have a modem, either internal or external connected to a phone line you place voice calls on.

Broadband is a rather general term. The two most common kinds are DSL ( Digital Subscriber Line ) and cable modem. DSL is supplied by a variety of phone companies, and runs on your voice phone line. You need filters on each phone connection to filter out the DSL signal, so voice can be heard. These filters are supplied by the phone company when you subscribe.

Cable runs on the TV cable. This can be copper wire co-axial cable, or fiber optic cable in some areas.

The type of connection has little to do with the operating system. Linux can work with them all, as can windoze, Mac etc.

Speeds will vary, dial-up usually not exceeding 56K bps. Some fiber services are very fast. Don't want to quote speeds, I'd probably be low. DSL varies, usually slower than cable, and can be up to 5 meg bps. or so.
 
Old 05-05-2009, 11:37 PM   #4
senrooy
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
I want to know is there any command which gives this information?
If not then how can I find out internet connection type.
I need this info to fill up one of the fields of a file from a script.
 
Old 05-06-2009, 08:45 AM   #5
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,419

Rep: Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617
Quote:
I want to know is there any command which gives this information?
No command I know of will tell you about the network external connection. There are commands for ethernet cards, but that will not tell you if it is cable, DSL etc.

Quote:
If not then how can I find out internet connection type.
Look and see, that is about it.
 
Old 05-06-2009, 09:14 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hardly creative replies there are they??

There's no definite way to do this, but I'd probably first look at the network adapters running on the system. You could assume that ppp0 would suggest dialup, eth0 a LAN / Cable broadband... a little dubious in all honesty, but a start at least. Obviously if you had a dial internet link on a router, your node on an internal network would be none the wiser but would still suck... maybe an attempt at a quick bandwidth monitor might be a better option - as long as you assume you could directly pull down a small file and time it.

Last edited by acid_kewpie; 05-06-2009 at 09:15 AM.
 
Old 05-12-2009, 10:37 PM   #7
senrooy
LQ Newbie
 
Registered: Feb 2009
Posts: 20

Original Poster
Rep: Reputation: 0
thanks to all of you for your replies
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux and no internet connection fettouhi Linux - Networking 10 12-19-2008 01:35 AM
internet connection to newly installed linux, i have a dual up connection babu.knl Linux - Newbie 1 05-22-2008 10:36 PM
Linux internet connection kite10linux Linux - Software 0 07-27-2005 02:43 AM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 07:02 PM
internet connection on linux ridha Linux - Networking 7 12-13-2002 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration