Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 03-01-2005, 08:58 AM   #1
Registered: May 2004
Posts: 38

Rep: Reputation: 15
Ethernet interface - checking the status

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?

Old 03-01-2005, 01:15 PM   #2
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...


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 06:01 PM
Checking network card status BNI Linux - Networking 1 06-15-2005 06:55 AM
Checking device status neerukamra Linux - General 1 09-06-2004 02:12 AM
command(s) for checking ip status stupidloser Linux - Wireless Networking 5 08-10-2004 11:21 AM
checking the status of PPP0 pudhiyavan Linux - Networking 6 01-14-2004 03:47 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:03 AM.

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