How to List all Network cards


 
Thread Tools Search this Thread
Operating Systems Solaris How to List all Network cards
# 1  
Old 06-27-2005
How to List all Network cards

Hi,

I'm looking for a command to be able to list all my network cards available on my server.

With the command "ifconfig - a", I can only see to configured network card(s)

Any idea ? Smilie

Thanks a lot for your help,

Fabien
# 2  
Old 06-27-2005
You can try this:

root@sun # cat /etc/path_to_inst | grep -i network
"/pci@1f,0/pci@1,1/network@1,1" 0 "hme"
"/pci@1f,0/pci@1,1/network@3,1" 1 "hme"

this is a server having two hme interfaces...

If it donīt work for you , you can try to enter each possible name:

cat /etc/path_to_inst | grep -i hme

cat /etc/path_to_inst | grep -i qfe

cat /etc/path_to_inst | grep -i eri

cat /etc/path_to_inst | grep -i bge

cat /etc/path_to_inst | grep -i ce
# 3  
Old 06-27-2005
been awhile since I've done this so could be wrong. But a probe_all (?) from the OBP would also should what is connected.
# 4  
Old 06-27-2005
Quote:
Originally Posted by woofie
been awhile since I've done this so could be wrong. But a probe_all (?) from the OBP would also should what is connected.
I think show_nets is what you are thinking of.
# 5  
Old 06-27-2005
/usr/platform/`uname -i`/sbin/prtdiag | grep network
# 6  
Old 06-27-2005
prtdiag will show all of the I/O cards. However the precise format varies from system to system. On an Enterprise 420R, an hme card shows up with "network-SUNW,hme" on the line. No so with an Ultra 2. There we just get "SUNW,hme". This issue also prevents "grep network /etc/path_to_inst" which might otherwise look promising. It might be that this works with PCI bus systems and fails with Sbus systems, but I'm not sure. But then again, Sun has other buses.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Get list of running network processes

Hello All I am trying to get a list of process or applications runninging on the network only. I should emphasize that im not interested in the application or process if its not using the network. I tried the good old netstat comand, but im not able to figure out how to list the running... (8 Replies)
Discussion started by: busi386
8 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. Hardware

Slackware 13.1 can't configure two network cards

Hello everybody, I'm having troubles with Slackware 13.1 and network cards. I have one on-board Ethernet card (which is recognized and works okay) and a PCI Ethernet card (which is also recognized, but doesn't appear in 'ifconfig -a'). If i run a 'lspci', i can see the kernel recognized the... (5 Replies)
Discussion started by: semash!
5 Replies

4. Programming

retrieving network interface list

Hello I have a problem with retreiving network interface list using IOCTLs. I have 4 interfaces: $ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope... (1 Reply)
Discussion started by: xyzt
1 Replies

5. Solaris

Network cards - Routing

Hi all I hate networking, I hate everything to do with it. Its something I do in anger in one contract, then forget. This is more of a question / than a problem. So, on a solaris 10 server, using older qfe cards, Ive got a sun truck with 4 nics (qfe0,3,4,7), and a ipmp pair (hemo0,qfe1).... (2 Replies)
Discussion started by: sbk1972
2 Replies

6. Solaris

qfe errors and network cards

Hi All, Hope you are all doing good. In MY unix box i have 2 network cards. I want to know what if one network card fails. Does the second one will automatically take all the traffic or how it is supposed to work. Also in my logs i am seeing below errors . Can you throw some light of this qfe... (3 Replies)
Discussion started by: Krrishv
3 Replies

7. Solaris

How to find network cards available ...

Hi all, I have a server running with Solaris and I have 2 Pci cards installed on this server (since a while), 1 with 4 coppers connections output and one with a Fiber network connection output. Today, this server is using the on board network connection (Ce0). How can I find the other... (7 Replies)
Discussion started by: unclefab
7 Replies

8. AIX

Load balancing across network cards

The title speaks for itself. I have never attempted this but understand there is a way to use two network cards (en0 and en1) with the same IP address so as to load balance the traffic flow through both cards. Anyone know the answer? (4 Replies)
Discussion started by: johnf
4 Replies

9. Solaris

Disable Network cards under boot Prom

Hi, I'm looking for a command to be able to disable a network card under the boot PROM. I need it to force my Jumpstart to use the Ethernet card of my server (V880) instead of my fiber card (gem0). Thanks, Fabien (6 Replies)
Discussion started by: unclefab
6 Replies

10. 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
Login or Register to Ask a Question