Kevin wrote: > Hello everyone, > > I'm a new user of Solaris 10 and installed Solaris 10 11/06, but got the > problem of can't accessing to internet.
please note: Solaris 10 is NOT opensolaris. Support for Solaris 10 is delivered by Sun Microsystems' Services organisation, and requires a service contract. a few notes below: > But I can't ping my internet provider's domain name. > ping www.yahoo.com > ping: unknown host www.yahoo.com > > My solaris machine does not have > etc/resolv.conf there's a hint - resolv.conf needs to contain the address of your nameserver (see the man-page). you also need to make sure that in /etc/nsswitch.conf, the lines starting with "hosts:" and "ipnodes:" contain "dns" (and they should also be identical) (if they already contain "files", just add "dns" to the end of the lines) > etc/hostname.hme0 > The machine has the files below: > etc/defaultrouter > 192.168.1.1 > > etc/hostname > k-solaris #my machine host name I don't think that file is used - if you don't use DHCP, that file needs to be called /etc/hostname.<interface> > etc/hosts > 127.0.0.1 localhost > 192.168.1.103 k-solaris localhost replace the second instance of localhost with loghost or remove it. HTH Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' _______________________________________________ networking-discuss mailing list [email protected]
