Problem connecting to the internet using Sun desktop on Solaris 10

I am new to Sun Solaris and just installed 10 on an x86 machine. During the install, I manually configured the NIC using IP:192.168.1.5 and mask:255.255.255.0 and defined a router (an external broadband router) as 192.168.1.1. I also chose none for system name services.

Installation went fine and I am able to login on the Sun desktop and operate the system. When I open the web browser, I get the message "www.sun.com could not be found" and I cannot navigate to any other web site. If I connect to the machine using an Xmanager on another computer, I get the Sun login screen and other machines on the network see the x86 machine fine.

How do I correct the internet connection problem? Any help would be greatly appreciated. Thanks.

[754 byte] By [d5ga] at [2007-11-27 5:25:56]
# 1

If you did not setup a DNS server to use for sure it will not find www.sun.com.

Why didn't you set a DNS server ?

Go in the /etc/resolv.conf and setup a DNS server to use. Add a line like "nameserver 208.164.186.2". Where 208.164.186.2 is the dns server. Use the one you have on your PC.

Can you ping an external server by Ip address ?

sboffina at 2007-7-12 14:46:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
My network is small and I do not have a DNS or NAME server on the network. If that's required I will have to set one up. Any other ways around that?Also, I can ping other computers on the network without any problem.
d5ga at 2007-7-12 14:46:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
I presume your router gets an IP from your ISP ?Log into the router's configuration interface and find the DNS server that is given to the router. Use that IPaddress in the configuration file.That's what your M$ Winboxes on your LAN would be using.
rukbata at 2007-7-12 14:46:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
did you manage to make it work ?
sboffina at 2007-7-12 14:46:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5
Yes, I was able to get things working by using the DNS server my ISP is using. Thanks to both of you for your help.
d5ga at 2007-7-12 14:46:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...