LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-03-2007, 11:06 AM   #1
taher84
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 connection...one 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, 12:14 PM   #2
pentode
Member
 
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, 01:05 PM   #3
taher84
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, 01:14 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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, 05:45 PM   #5
javaroast
Member
 
Registered: Apr 2005
Posts: 130

Rep: Reputation: 18
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.

http://www.netadmintools.com/html/mii-tool.man.html. I

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


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration