Prashant Poman wrote: > On 3/1/08, James Cornell <sparcdr at sparcdr.com> wrote: > >> Prashant Poman wrote: >> >>> Hi, >>> I have installed Solaris 10 on my PC.MotherBoard is intel D865GSA and On >>> >> board LAN Card of realtek 8139.All drivers are installed. >> >>> I have internet connection of VSNL Broadband with DHCP.They have provided >>> >> me router.I don't know their IP address. >> >>> I executed the sys-unconfig and answered as follwows. >>> >>> select a language -- 0(English) >>> select a locale --0 (English) >>> key board layout --US-English >>> Networked -- yes >>> use DHCP for rtls0-- yes >>> enable IPv6 for rtls0-- no >>> configure kerberos Security --no >>> Name Service -- None >>> NFSv4 Domain Configuration -- use the NFSv4 domain derived by the system >>> >>> and so on.. >>> it further asked my root password, date time settings etc. >>> What went wrong in above mentioned steps? >>> >>> Do I need to contact my ISP to get it's IP address? >>> >>> further I executed ifconfig and netstat.The results were as follows. >>> >>> # ifconfig -a >>> lo0: flags=2001000849 mtu 8232 index 1 >>> inet 127.0.0.1 netmask ff000000 >>> rtls0: flags=1004843 mtu 1500 index 2 >>> inet 192.168.1.100 netmask ffffff00 broadcast 192.168.1.255 >>> ether 0:16:76:84:7b:b0 >>> # netstat -nr >>> >>> Routing Table: IPv4 >>> Destination Gateway Flags Ref Use Interface >>> -------------------- -------------------- ----- ----- ---------- --------- >>> default 192.168.1.254 UG 1 0 rtls0 >>> 192.168.1.0 192.168.1.100 U 1 1 rtls0 >>> 224.0.0.0 192.168.1.100 U 1 0 rtls0 >>> 127.0.0.1 127.0.0.1 UH 12 482 lo0 >>> # >>> >>> Still Ping doesn't work. >>> Do I need to configure DNS? Which values should I use over there? >>> Do I need to make any changes in the configuration? >>> >>> Thanking You! >>> >>> Prashant Poman. >>> >>> >>> This message posted from opensolaris.org >>> _______________________________________________ >>> desktop-discuss mailing list >>> desktop-discuss at opensolaris.org >>> >>> >> Check the /etc/nsswitch.conf file. When the Solaris installer doesn't >> configure the nic initially, it changes the dns lookup order to omit dns >> and use only local host information. The host: files line should also >> have dns on the end. Also, check /etc/resolv.conf to make sure it's >> populated. >> >> James >> >> > -- > Prashant B. Poman. > > Hi, > > on my PC there is no /etc/resolve.conf file.It is missing. > Also /etc/nsswitch.conf is not populated > > I want to know about how to configure DNS. > > What I have tried is as follows.But ,it didn't work. > > Name Service :DNS > domain name :localhost.localdomain > Server address:208.67.222.222 OpenDNS.com's DNS servers > 208.67.220.220 -----------do------------------------ > > DNS search list none(blank) > > It didn't work. > > What should I do?What are the values that I need to enter over there? > > Thanking you. > > Prashant Poman. > /etc/resolv.conf domain mydomain.com nameserver x.x.x.x (e.g 1.2.3.4)
/etc/nsswitch.conf hosts: files dns /etc/hostname.iface mynode.mydomain.com /etc/hosts 127.0.0.1 localhost ::1 localhost x.x.x.x mynode.mydomain.com mynode Check svcs -vx for other errors. Use svcs -a|grep physical to see the status of the network service rtls0 is the hostname.iface name (/etc/hostname.rtls0) populate with matching /etc/hosts nodename. James
