Go Back   The UNIX and Linux Forums > Operating Systems > Solaris


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-28-2012
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #2  
Old 07-28-2012
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Location: Paris
Posts: 4,140
Thanks: 14
Thanked 399 Times in 367 Posts
ifconfig -a plumb will plumb all of yours interfaces.
Sponsored Links
    #3  
Old 07-30-2012
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 974
Thanks: 6
Thanked 15 Times in 15 Posts
Quote:
Originally Posted by mike_au View Post
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.
Sponsored Links
    #5  
Old 08-04-2012
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, that sounds very straightforward. Thanks for your help.
Sponsored Links
Closed Thread

Tags
auto detecting nics, installing multiple device drivers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed sankasu Solaris 7 07-30-2010 02:50 AM
network driver not detecting in solaris 10 X86 on HPDL380G5 Server raj.chinnu Solaris 1 03-24-2009 06:31 AM
Detecting hard or soft disk errors in Solaris sunsysadm2003 Shell Programming and Scripting 1 07-09-2008 02:45 PM
solaris 10 isnt detecting my internet connection stride6 Solaris 5 06-22-2006 05:08 AM
trouble auto connecting ssh 3.6.1 (Solaris 8) to ssh 3.0.1 (Solaris 6) falklandtim Solaris 6 03-01-2005 07:45 AM



All times are GMT -4. The time now is 10:33 PM.