UNIX command for ethernet cards?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UNIX command for ethernet cards?
# 1  
Old 12-27-2007
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
# 2  
Old 12-27-2007
ipconfig -a
# 3  
Old 12-27-2007
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

# 4  
Old 12-27-2007
only for solaris 10:
Code:
dladm show-dev

# 5  
Old 01-04-2008
Quote:
Originally Posted by frank_rizzo
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

Smilie
Good show, sir! - You are right!
It would appear I had my OS's backwards!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Command for viewing hba cards on rhel7

hi all, I am trying to view the hba cards on a rhel7 server (storage says they are there, but I am not seeing them. I tried lspci -nn | grep -i hba lspci |grep qla I tried looking in /sys/class/fc_host.. but it is empty. I am not sure if I am looking in the right spot... (0 Replies)
Discussion started by: gartie
0 Replies

2. UNIX for Dummies Questions & Answers

1 Server with 2 ethernet cards IP on seperate network. Possible?

Hi All, I have just setup a webserver running on a linux box. This server has 2 ethernet cards and only 1 is in used now. eg. 192.168.10.1 is my server IP. All users from 192.168.10.X can access my webserver. However, users from another LAN 10.10.10.X are not able to access my webserver. They... (0 Replies)
Discussion started by: jackma
0 Replies

3. AIX

Idenity no of ethernet cards on the server

How can I identify how many ethernet adapter cards I have on the server from the below ouput ? $>lsdev -Cc adapter | grep ent ent0 Available 06-08 10/100/1000 Base-TX PCI-X Adapter (14106902) ent1 Available 07-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902) ent2 ... (5 Replies)
Discussion started by: mk8570
5 Replies

4. Solaris

Command to get the details and number of HBA cards

Hiii... Every one.... I want to know the command to get the details and number of HBA cards attached to a server. I know that we can use "powermt display", but nither my cards are connected to the storage nor powerpath is active. I am using SUN server with Solaris -9. Thanks in... (4 Replies)
Discussion started by: Reboot
4 Replies

5. IP Networking

Setup 2 NIC cards in one UNIX system

Hi; I have a UNIX box (SCO 5.0.2) with two (2) NIC cards. One card (NIC1) talks to a network 57.14.65.x/27. The other card NIC2) talks to users on 57.14.103.x and 57.14.105.x with subnet mask of 255.255.0.0. If I set NIC2 to this subnet mask (255.255.0.0) it seems like the NIC traffic is now... (2 Replies)
Discussion started by: texaspanama
2 Replies

6. AIX

PCI Ethernet Cards for IBM RISC 6000 - B50's

I am trying to find PCI Ethernet cards that are compatible with the IBM RISC 6000 - B50 Power PC. None of the regular NIC's seem to have AIX drivers. Does anyone know of AIX drivers for standard PCI Ethernet NIC's or a non IBM NIC that works with the Model B50 at 10/100 MB ? (0 Replies)
Discussion started by: rahe
0 Replies

7. UNIX for Dummies Questions & Answers

SCO Unix and Two Network Cards

Our shops server runs SCO Openserver 5 release 5. It has two network cards in it (one on 10.0.0.6 and one on 90.0.0.99). When I run scoadmin and look at the network settings it show both my 3com network cards and a loop back driver http://theentertainer.com/james/untitled.jpg Can anyone tell... (1 Reply)
Discussion started by: potter
1 Replies

8. UNIX for Dummies Questions & Answers

Adding new Ethernet cards

Hi there, I just installed a Sparc 4-port Ethernet adapter on my sparc 10 and was wondering how on earth I find out what the names of the ports are. It looks like on startup that on SBus1 there is something called qec qe qe qe qe. So I tried to do an IFCONFIG qe0...but had no success. Can anyone... (3 Replies)
Discussion started by: jskillet
3 Replies
Login or Register to Ask a Question