I am a developer getting started with Solaris 10 configuration.  I recently 
installed Solaris 10 and have run into an issue with network connectivity.

I have done much research on this and I was able to get communiction to the 
internet established once, but the settings were lost on reboot.

Overview - The Solaris box is connected to a router which is acting as a DHCP 
server.
AMD 64 dual 2.6
nForce4+ integrated NIC


1) I am not able to obtain an address from the router.  Nor do I get a respons 
back when I ping it.  I get an IP etc if I boot into Windows so phyicial 
connectivity is fine.
2) Upon reboot the device nfo0 as shown using ifconfig -a has an IP of 0.0.0.0.
3) If I run ifconfig [hostname] my machine gets the ip from the hosts file, but 
I would like to obtain this from the router.

GOAL - reach and obtain a DHCP from the router and have the changes stick upon 
reboot.

/etc/hosts contents
127.0.0.1 localhost loghost
192.168.1.55 solarisX  /*<-- this is what I get when I do ifconfig nfo0 
solarisX */

/etc/hosname.nfo0
netmask + 255.255.255.0
solarisX

/etc/defaultrouter
192.168.1.254

/etc/netmasks
192.168.0.0 255.255.2550

Specific Steps taken:
Using the driver nfo-2.4.5 locate at 
http://homepage2.nifty.com/mrym3/taiyodo/eng/ I did the following.
        % cd /.../nfo-x.x.x
        % rm obj Makefile
        % ln -s Makefile.${KARCH}_${COMPILER} Makefile
        % ln -s ${KARCH} obj

  where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
 "gcc" or "suncc" which you want to use to make the driver.

4. Testing
  Testing before installation is strongly recommended.
        # cd /.../nfo-x.x.x
        # /usr/ccs/bin/make install
        # ./adddrv.sh
        # /usr/ccs/bin/make uninstall  (for solaris7, don't remove the file )
        # modload obj/nfo
        # devfsadm -i nfo  (for solaris7, use drvconfig and reboot with -r )
        # ifconfig nfoN plumb ( where N is an instance number, typcally 0 for 
first card)
        # ifconfig -a        ( you will see an entry for nfoN)
        # ifconfig nfoN YOUR-HOST-NAME
        # ifconfig nfoN      ( ensure IP address is correct)
        # ifconfig nfoN up   ( and then you can test with ping, telnet, ftp ...)

5. Installation
    After you ensure that the nfo driver is fully functional, install it.

(1) copy the nfo driver into the kernel directory
        # cd /.../nfo-x.x.x
        # /usr/ccs/bin/make install

    If you do not test the nfo driver yet, execute the following commands:
            # ./adddrv.sh
            # devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r)

(2) Configure the network interface. Create and/or modify the following file:
        /etc/hostname.nfoN

(3) Reboot the system.
        # init 6
 
 
This message posted from opensolaris.org

Reply via email to