abshir writes:
> The solaris version I installed is an opensolaris. My router is attached to 
> DSL modem to the internet.

Solaris 10 isn't OpenSolaris, but it's what you're mentioning in your
'subject' line.  I think many of us are confused.

> All that I am asking is what  kind of configurations  do I have implement in 
> order to surf the internet.?

The simplest answer is to set the system up for DHCP when you install
it, or do "sys-unconfig", reboot, and configure for DHCP.  I don't
know why you want to have a static configuration here.

If you insist on a static configuration, you'll need to do all of this
to make it permanent on reboot:

        - copy /etc/nsswitch.dns onto /etc/nsswitch.conf to enable DNS
          (yes, you need DNS for the Internet!)

        - add in the location of your name servers to
          /etc/resolv.conf.

        - add your default router to /etc/defaultrouter

        - add your IP address to /etc/hostname.$INTF, where "$INTF" is
          the name of your Ethernet interface.  (For example, it might
          be /etc/hostname.bge0 -- but we don't know.)  Include the
          subnet mask; as in:

                # echo 192.168.1.5/24 > /etc/hostname.bge0

The first two steps can be done without rebooting.  The second two can
be done on a running system (without rebooting) by using the "route"
and "ifconfig" commands.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org

Reply via email to