SUMMARY: Configuring networking for a standalone Solaris 2.1 on a NIS network

From: Don Jackson (dcj@Clark-Comm.COM)
Date: Thu Sep 09 1993 - 14:59:19 CDT


I inquired:

   I have a 486 box running Solaris 2.1. When I installed the OS, I
   didn't have a network card, so I configured the machine standalone.
   Now that I've got my ethernet card, how can I get to the network
   configuration screen in the install process, to get all the various
   configration files set up correctly?

I was unable to add a network device using "devconfig".

"sys-unconfig" unconfigured some things, but never asked me about
networking stuff on the way back up.

"boot -r" didn't find the networking card either.

SunSoft Solaris/x86 installation support never returned my telephone call....

I finally re-installed the whole OS from the CD.

(BTW, compare this to asking NT to install networking after a
standalone install, it was easy!, just enter networking on the control
panel, insert the CD when asked, reboot, and it's done!)

The (edited) responses appear below.

Thanks to all the nice people who replied to my question!!!

From: bill@hobbes.access.com ( Bill Hunter [Instructor / Tech Support])

        /usr/sbin/sys-unconfig

        bill hunter

From: tkevans@eplrx7.es.duPont.com (Tim Evans)

        Hmm. sys-unconfig (for unconfiguring a machine's network setup) is
        in /usr/sbin, but sys-config apparently didn't make it in from
        SunOS 4.1.x. Try /usr/sbin/devconfig, although I think this just
        does hardware configuration.

From: wjdg@nexos.com (John D. Garberson)

    We did the same thing on our 486 and finally gave up trying to get the
    devconfig program to recognize it in retrospect. You can probably
    do it if you make the right entry in /kernel/drv, but unless you know
    in advance how the entry's supposed to look that's going to be a bit tough.
    
    We ended up just re-installing from scratch, since we were short of time
    to play with the problem.
    
From: shandelm@jpmorgan.com (Joel Shandelman FIMS Information Systems)

    Try boot -r which checks for any new hardware at startup and configures
    the system appropriately. This works on Sparcs but I can't vouch for x86.

From: Dan Stromberg - OAC-DCS <strombrg@hydra.acs.uci.edu>

   This works on solaris 2.x, on a sparc:

   edit /etc/defaultrouter for the current subnet
   edit /etc/hosts to contain current host
   edit /etc/nodename to get FQDN, eg "solar.acs.uci.edu"
   edit /etc/hostname.le0 to contain (first part of... up to the ".") the
          hostname, eg "solar"
   edit /etc/defaultdomain for yp domain (esp if changing subnets)
   edit /etc/resolv.conf, especially if changing subnets. Locally:
      domain eng.uci.edu
      nameserver 128.200.16.3 # hydra, pr'y on dcs, not ece...
      nameserver 128.200.1.201 # campus wide, nts
      nameserver 128.200.192.202 # campus wide, nts
      nameserver 128.200.9.5 # campus wide, dcs (vmsa)
   make sure filesystems are exported to the machine in question
          (esp netgroup on balboa, for ece)
   check /var/yp/binding to be certain subdirectory is named for yp domain
   reboot: "boot -r", to reconfigure the device files

   You'll probably want to "touch /reconfigure; /etc/reboot", since I
   doubt you have a "boot -r" in the "prom" on a 486.

   I'd be interested in hearing how this works, if you try it.

From: anderson@neon.mitre.org (Mark S. Anderson)

        I had to do the same thing on my LX. If you have the Solaris 2.1 hard
        copy docs, see chapter 3 of "SunOS 5.1 Administering TCP/IP and UUCP".
        I just followed the steps therein.

        Sorry I don't have more time to explain right now. If you need more
        info, just ask me again. ;-)



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:10 CDT