LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Ethernet interface - checking the status (https://www.linuxquestions.org/questions/programming-9/ethernet-interface-checking-the-status-296244/)

marri 03-01-2005 07:58 AM

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

jonr 03-01-2005 12:15 PM

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...


All times are GMT -5. The time now is 05:47 AM.