LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-01-2005, 07:58 AM   #1
marri
Member
 
Registered: May 2004
Posts: 38

Rep: Reputation: 15
Ethernet interface - checking the status


hi
I have a question about how actually check if somebody plugged additional computer to a second interface on a PC.

My setup is like this: I have one PC with 2 eth interfaces, the first is serving as the connection to the internet and the second is to be used by the second computer. When the second computer is connected to the second interface it will be able to reach the internet., but that is not the main issue here.

On my PC I would like to check if somebody connected a computer to the second interface.
Is there any way to probe the kernel or something to see if something is connected to this interface or not?

regards
Marri
 
Old 03-01-2005, 12:15 PM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
You might try a program called "ethereal," which may be on your distro disks. It gives you more information than you will ever be able to deal with about Ethernet interfaces. Very useful for helping solve Internet connection mysteries, too. Highly recommended...
 
  


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
Checking RAID status on Dell / MegaRAID MadRabbit Slackware 9 10-08-2009 05:01 PM
Checking network card status BNI Linux - Networking 1 06-15-2005 05:55 AM
Checking device status neerukamra Linux - General 1 09-06-2004 01:12 AM
command(s) for checking ip status stupidloser Linux - Wireless Networking 5 08-10-2004 10:21 AM
checking the status of PPP0 pudhiyavan Linux - Networking 6 01-14-2004 02:47 AM


All times are GMT -5. The time now is 09:06 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