Auto Detecting Which NIC is installed in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Auto Detecting Which NIC is installed in Solaris
# 1  
Old 07-28-2012
Question Auto Detecting Which NIC is installed in Solaris

Hi

I want to install Solaris 9 on a disk that may be installed in a number of V240 SPARC workstations. Each of the computers is the same except that they may contain one of two NICs in them (the two NICs are both PCI cards). I would like to configure the machines so that Solaris can work out which NIC is installed and plumb the correct ethernet devices. I am thinking I need to have the drivers for each NIC installed on the hard disk and then somehow sense the NIC that is present and plumb the right device. The NICs will have different PCI vendor IDs so maybe I can use this information. Does anyone know how this could be done?

Thanks,
Mike.
# 2  
Old 07-28-2012
ifconfig -a plumb will plumb all of yours interfaces.
# 3  
Old 07-31-2012
Ok, thanks. So does it matter if I configure an Ethernet device using ifconfig if the device is not present, because in my problem, I will not have all Ethernet ports present - I don't want things to crash if I configure a device
# 4  
Old 08-04-2012
Quote:
Originally Posted by mike_au
Ok, thanks. So does it matter if I configure an Ethernet device using ifconfig if the device is not present, because in my problem, I will not have all Ethernet ports present - I don't want things to crash if I configure a device
If you are just talking about plumbing a non-existant interface; it'll error, but not fatally. I'd imagine you should be able to just create /etc/hostname.<nic> entries for both possible ones and you'll get whatever one works automagically.
# 5  
Old 08-04-2012
Ok, that sounds very straightforward. Thanks for your help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

x86 Solaris 10 nic driver added but not attached. NIC is not detected.

I couldn't install my nic in solaris 10. I compiled and added the driver but failed to attach the driver and ifconfig output shows only loopback dev. Please see the following output and tell me whether my nic has been detected and why the driver failed to attach? My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies

2. Red Hat

How to verify the current NIC driver version installed in RHEL5.3??

Guys, Can you help me how to verify the current installed NIC driver version in RHEL5.3? Thanks.:D (1 Reply)
Discussion started by: shtobias
1 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

4. Solaris

NIC drivers+solaris 10

Installed solaris 10 and now i want to connect to internet,to make work this i need to NIC drivers can some body tell me is it possible to get drivers and how to install. I am dying to get rid of this problem..please help me (1 Reply)
Discussion started by: srinivas2828
1 Replies

5. Solaris

network driver not detecting in solaris 10 X86 on HPDL380G5 Server

I have installed solaris10 x86 on HP DL380 G5 Server, but network card is not getting detected. i have installed the network driver, downloaded from the following link HP ProLiant DL380 G5 Server series- Download drivers and software - HP Business Support Center Can any one suggest me how to... (1 Reply)
Discussion started by: raj.chinnu
1 Replies

6. Shell Programming and Scripting

Detecting hard or soft disk errors in Solaris

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

7. Solaris

solaris 10 isnt detecting my internet connection

I installed solaris 10 on my desktop pc, however it does not detect my internet connection. IM also running redhad and that detects it automatically, so i guess i have to go in manually and change something. Im new to all this however and i have no idea how to proceed. (5 Replies)
Discussion started by: stride6
5 Replies

8. IP Networking

Detecting NIC in Solaris10

I have an E420 server that has a TPE Slot / NIC installed. However there is no interface file installed eg /etc/hostname.hme0 or equivalent. I have placed a private ip entry int the hosts file to accompany the loop back entry i.e. 127.0.0.1 localhost 172.16.0.10 loghost se420 ... (1 Reply)
Discussion started by: jimthompson
1 Replies

9. UNIX for Advanced & Expert Users

Detecting NIC in Solaris10

I have an E420 server that has a TPE Slot / NIC installed. However there is no interface file installed eg /etc/hostname.hme0 or equivalent. I have placed a private ip entry int the hosts file to accompany the loop back entry i.e. 127.0.0.1 localhost 172.16.0.10 loghost se420 ... (1 Reply)
Discussion started by: jimthompson
1 Replies

10. IP Networking

not able to add nic in solaris 8

Hi Folks, I've just installed solaris 8, but i cannot add my network card. i've reboot the box, got into the configmode, and try'd to add a network card. but it doesn't work. I can't add a ip address to the card, an error occurs. Who do i add it. Kind Regards (3 Replies)
Discussion started by: noripsni
3 Replies
Login or Register to Ask a Question