Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 8 Networking Problem

Status
Not open for further replies.

wvufreelancer

Programmer
Jun 8, 2004
11
US
I just recently was given a Sun Ultra Sparc 2 with 2 296MhZ Processors and 1 GB of Ram and Solaris 8 installed. I have never used Solaris but have a brief knowledge of Unix. The box is freshly setup and I am having some networking problems. I did a sys-unconfig and "re-did" the network setup. This box is plugged into a switch which is intern pluged into a router. From the Sun box I am able to ping and talk to the router (Linksys router, I can bring up the GUI Admin interface on it and the router is connected to a cable modem) and from my other computers behind the router I can connect to the Sun system. The problem is I can NOT connect to any external websites. What do I need to do to do this??
Also how can I set up this system so I can remotely connect to it from Windows machines (with a GUI interface) from within the network and I want to get this set up so it can be a network (internal only) file server.
And finally in the future I would like to set this up so I can connect to it from outside the internal network I have. And security is VERY IMPORTANT to me.

Thanks!
Stephen
 
For starters, setting a machine up on a network involves configuring a number of things:
- hostname & IP address
- Netmask
- Default gateway
- Naming services (i.e. DNS)

Are you sure of which ones of these you have and have not done?

For a brief overview of the Solaris way:
system hostname goes in "/etc/hostname.int#"
(likely called "/etc/hostname.hme0" on your machine)

Then, the hostname-to-IP mapping goes in "/etc/hosts".

For the netmask, you put your network address and corresponding netmask in "/etc/netmasks"

For the default gateway, put the IP of your router in "/etc/defaultrouter"

Finally, if using DNS, put your DNS configuration info in "/etc/resolv.conf", and check in "/etc/nsswitch.conf" to make sure that DNS is being used for host lookups.

These pointers should get you started. For the actual "keys to push" details, I recommend reading man pages and Googling for documentation/info.
 
I am not sure if I am using a DNS or not. The rest of the computers on the network are all Windows machines...and the outside internet connection is a Cable modem.
Is it likely that those machines are using a DNS? Or is this DNS coming from the internet provider itself and not form within my network.
 
The DNS addresses will come from your provider. You can view these addresses by going to your Linksys Management Web Interface.

Once you have these addresses add them to /etc/resolv.conf. This file does not exist by default so you will have to add it using the following:

domain <your domain> (can be anything)
nameserver <DNS Server Address>
nameserver <DNS Server Address>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top