Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-03-2007, 12:06 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 21

Rep: Reputation: 0
which is the protocol for polling of lan wire for detection of network connection

hey i would like to know that which protocol is being used for constant polling of network would see in windows that as sson as you remove your lan cable the OS would display a message that the network is not connected even without a manual request n similarily it confirms bak wen u put ur lan wire back....same is the case with Linux(i suppose)
What is the basic protocol governing it
Old 12-03-2007, 01:14 PM   #2
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
It would really help if you told what Linux distribution you are using. You might start with man ifconfig.
Old 12-03-2007, 02:05 PM   #3
LQ Newbie
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 0
i m talkin of a general case
i m sure that there must be a general protocol for polling of lan port to detect whetehr it is connected to the network
Old 12-03-2007, 02:14 PM   #4
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
there's no "protocol" in a networking sense. it's just going to be existence of electrical signals being translated by the hardware and handled by the operating system (or not). under linux services like NetworkManager make use of this automatic detection, but they are just joining dots together, there is no "protocol" outside of coding conventions.
Old 12-03-2007, 06:45 PM   #5
Registered: Apr 2005
Posts: 131

Rep: Reputation: 19
Actually I believe that NetworkManager uses MII (Media Independent Interface)link status detection. Here's a link about mii-tool. It can be ran with a -w to watch the interface for changes. I

Last edited by javaroast; 12-03-2007 at 06:50 PM.


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
Polling one client from several multicast clients connected through LAN dhara Linux - Networking 0 02-06-2007 01:35 PM
SNIPS (System & Network Integrated Polling Software) Installation jakecoul Linux - Networking 0 06-05-2006 10:01 PM
Internet connection via LAN network. nhydra Linux - Networking 4 05-08-2006 03:22 PM
Setting Up Hard-wire network rakeyry Linux - General 3 04-25-2006 03:48 AM
How to connect to a network using Windows and use a internet(LAN) connection JulianS Slackware 5 03-06-2004 02:51 PM

All times are GMT -5. The time now is 11:37 PM.

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