LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-26-2008, 01:03 AM   #1
siva19185
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, 05:59 PM   #2
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

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

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


Reply



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 04:34 AM
New D-link Ethernet card viksd2kin Linux - Networking 4 09-17-2006 01: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 12:33 AM
I need help for my D-Link Ethernet Card stonesino Linux - Newbie 2 03-14-2004 08:00 PM
D-Link ethernet card Rutnut Linux - Networking 10 08-16-2001 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration