Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi, I'm trying connect internet on my solaris 8 and failed. My resolv.conf is:
68.82.0.5
68.82.0.6Both are DNS ip from my cable company. From DOS on my w2k pc, I type ipconfig /all and the output is
C:\>ipconfig /all
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : venus
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : malvrn01.pa.comcast.netEthernet adapter Local Area Connection:
Connection-specific DNS Suffix . : malvrn01.pa.comcast.net
Description . . . . . . . . . . . : 3Com EtherLink XL 10/100 PCI For Com
plete PC Management NIC (3C905C-TX)
Physical Address. . . . . . . . . : 00-01-02-71-97-D2
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 68.82.0.5
68.82.0.6
Lease Obtained. . . . . . . . . . : Sunday, January 19, 2003 5:34:30 PM
Lease Expires . . . . . . . . . . : Wednesday, January 22, 2003 5:34:30
PMDid I miss something?

Your /etc/resolv.conf file should look like
---------------8<-----cut here----8<----
domain pa.comcast.net
nameserver 68.82.0.5
nameserver 68.82.0.6

David, Thanks for your reply. I edit the resolv.conf and the internet access still failed. Following are the defaultrouter, resolv.conf and netstat -r
# more /etc/defaultrouter
192.168.1.1
# more /etc/resolv.conf
domain pa.comcast.net
nameserver 68.82.0.5
nameserver 68.82.0.6# netstat -r
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-- ---------
192.168.1.0 aw90s U 1 1 elxl0
224.0.0.0 aw90s U 1 0 elxl0
default 192.168.1.1 UG 1 0
localhost localhost UH 2 6 lo0
#192.168.1.1 is the linksys router ip. Please let me know if there are some problems in above setting. Thanks.

Hello,
Have you determined the nature of the problem? It can be a physical network problem, a network configuration problem, a routing problem, a naming service configuration problem,...
Can you ping your router using IP? If you can your local network seems to be OK.
Can you ping the dns servers using IPs? If you can the routing to these servers seems to be ok.
Can you ping any internet host using IP? If you can the default routing is OK.
Can you find IPs using nslookup? If you can but you cannot ping any internet url, looks like you did not "instruct" solaris to use the apropiate dns naming service (CONSIDER THAT MANY INTERNET URLs FILTER ICMP TRAFFIC LIKE PING, SO IF YOU CANNOT PING TRY WITH SOME OTHER URLs). This is done with the file /etc/nsswitch.conf. You must edit it and modify the hosts entry to include dns too, and not only files. There is a templete called /etc/nsswitch.dns you can look at.
Try to determine the cause of the error and weŽll try to help you.
Bye,
jmiturbe

check that /etc/nsswitch is also with a line
hosts: files dns
otherwise it will not check to your dns server

Excellent answers, I edit /etc/nsswitch.conf by adding dns after 'osts: files'. The problem solved. Thanks all.

![]() |
unable to eject cdrom in ...
|
Skipping system DUMP, No ...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |