The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can we spoof ethernet by ARP cache poisoning on unix through a program ud4u IP Networking 1 02-11-2008 06:06 AM
Setup 2 NIC cards in one UNIX system texaspanama IP Networking 2 07-01-2006 07:42 AM
PCI Ethernet Cards for IBM RISC 6000 - B50's rahe AIX 0 06-18-2004 08:37 AM
SCO Unix and Two Network Cards potter UNIX for Dummies Questions & Answers 1 09-12-2002 01:42 PM
Adding new Ethernet cards jskillet UNIX for Dummies Questions & Answers 3 07-30-2001 03:44 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-27-2007
Registered User
 

Join Date: Dec 2006
Location: dallas tx
Posts: 43
UNIX command for ethernet cards?

Hi Gang.. Anybody know the unix (SUN) command to determine how many network cards are installed in a system??

Thx
Reply With Quote
Forum Sponsor
  #2  
Old 12-27-2007
Registered User
 

Join Date: Dec 2005
Posts: 11
ipconfig -a
Reply With Quote
  #3  
Old 12-27-2007
Registered User
 

Join Date: Dec 2007
Posts: 260
ipconfig will not a valid Solaris command.


This will show you all configured interfaces.
Code:
ifconfig -a
This will show you the count of all Ethernet interfaces.
Code:
prtconf|grep -c ethernet
Reply With Quote
  #4  
Old 12-27-2007
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,484
only for solaris 10:
Code:
dladm show-dev
Reply With Quote
  #5  
Old 01-03-2008
Registered User
 

Join Date: Dec 2005
Posts: 11
Quote:
Originally Posted by frank_rizzo View Post
ipconfig will not a valid Solaris command.


This will show you all configured interfaces.
Code:
ifconfig -a
This will show you the count of all Ethernet interfaces.
Code:
prtconf|grep -c ethernet

Good show, sir! - You are right!
It would appear I had my OS's backwards!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0