Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-26-2008, 02:03 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 21

Rep: Reputation: 15
Ethernet Link

How can i identify whether my Ethernet card Link is Up or Down without ping...

Thanks in advance....
Old 06-26-2008, 06:59 PM   #2
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Use the command "ifconfig".
Old 06-26-2008, 07:00 PM   #3
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You can tell if the local card is active or not simply by looking at the output of the "ifconfig" command (if the interface isn't listed, it isn't up).

If you want to check a remote device, then your only choice is to ping it since you need to make some contact to determine if the other device is listening or not. However, you can check if you are connected to an active network passively by using tcpdump. If you are connected to a live network, tcpdump will show any packets that drift by your machine. Though, due to the nature of switched networks, it might appear that very little is going on.


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
ethernet bridge, no link between first and second pc slackster Linux - Networking 4 11-30-2008 05:34 AM
New D-link Ethernet card viksd2kin Linux - Networking 4 09-17-2006 02:45 AM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 01:33 AM
I need help for my D-Link Ethernet Card stonesino Linux - Newbie 2 03-14-2004 09:00 PM
D-Link ethernet card Rutnut Linux - Networking 10 08-16-2001 05:05 PM > Forums > Linux Forums > Linux - Newbie

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