DOCUMENT ID:  1260-02

SYNOPSIS:     Add/configure a network card after installing Solaris x86

OS RELEASE:   2.1, 2.4

PRODUCT:      Solaris x86

KEYWORDS:     add network card adapter x86 


SYMPTOMS:

This shows how to add a network card later, once you have already
installed x86 without one; in which case x86 is not configured to be
networked - hostname, ip address, ifconfig, etc. 


DESCRIPTION:

This shows the changes you need to make on the Operating System side. 
To set up the network card itself, please refer to the manufacturer's
documentation as usual.  You also need to read related x86 documentation
to see if your card has any x86 specific configuration
requirements/tips. 


SOLUTION:

NOTE: If you already know your network card driver name, you can do step
#3 thru #5 first before shutting down your system to install the new
network card.  This will save you an extra booting process. 


1. Install your network card, and configure it as necessary.

   ex. run ezsetup from DOS if you have SMC Elite16 Series, etc.

2. Boot x86.  From secondary system boot prompt, type:

   "(b)oot or (i)nterpreter?" b -r

   This will run drvconfig during booting to reconfigure your system, and
   recognize any new cards you added. 

3. find out your hostname, ip address, and driver name for the network card.
 
   # edit your /etc/hosts file as necessary.

   ex. let's say you want to use 'orange' as your hostname 
       and 129.160.1.1 as ip address.
       /etc/hosts should show: 
       127.0.0.1   localhost 
       129.160.1.1 orange loghost

  # prtconf 
       will show the network driver name among others 
       ex. smc, instance #0
       then, ls -l /dev/smc* should exist at this time since
       this gets built during booting with -r option (drvconfig, etc.).
 
4. create a file called /etc/hostname.0

   Once this file is created properly, the rest of the networking stuff
   will be configured based on this file during booting from the related
   files in the /etc/rc* directories. 
 
   ex. for smc, create a filed called  /etc/hostname.smc0 
       edit the file, and enter your hostname.
   ex. it should be like: 
       # hostname
         orange 
       # more /etc/hostname.smc0 
         orange

5. reboot

6. run ifconfig 0 to check your configuration.

   ex> # ifconfig smc0


DATE APPROVED: 02/15/95