[SunRescue] So I'm a dope - I can't figure out what I'm missing here...

Paul Phillips paul at partitura.com
Sat May 27 09:11:53 CDT 2000


Ken -

Did you edit

/etc/nsswitch.conf

so it will use dns?

If not, you must change the line that reads

hosts:  files

to

hosts:   files  dns

Reboot, then it should work.

Good luck.
Paul Phillips

--On Sunday, May 28, 2000 8:38 AM -0400 Ken Hansen <n2vip at bellatlantic.net> 
wrote:

>
> Hello,
>     I just rebuilt my SPARCBook 3GX with a new larger HD (6.4 Gig) and I
>     am  stuck on a Solaris issue: I can access the internet using IP
> addresses, but  not names.
>
> I installed Solaris 2.6, the 40+ Meg Recommended Patch Cluster, and all
> available  Tadpole-specific tools - the laptop runs fine, cot CDE up and
> running, suspend etc.
>
> I manually adjusted these values:
>
>     Added a host and two name servers to /etc/hosts:
>
>         192.168.1.32    tadpole
>         ###.###.###.###    nameserver
>         ###.###.###.###    nameserver2 (?) from memory
>
>     Created /etc/resolv.conf with the following:
>
>         # /etc/resolv.conf
>         domain bellatlantic.net
>         nameserver ###.###.###.### (as supplied by DSL router - values it
>         got from bellatlantic.net)  nameserver ###.###.###.###
>
>     Then I created a /etc/defaultrouter file
>
>         # /etc/defaultrouter
>         192.168.1.1 (my DSL router IP)
>
> As I said, I can access machine on my local network by IP (DHCP WinPCs,
> names not  available, no local nameserver to resolve them), and I can
> telnet/ping valid IP addresses  at will - but sun.com comes up as an
> unknown host...
>
> Any ideas? I question the domain line in /etc/resolv.conf and wonder if
> there is somewhere  where I need to tell Solaris to use DNS, then files -
> but I can't remember/find it documented.
>
> (BTW, hosts added to /etc/hosts can be found by name, of course)
>
> AFAICT (As Far As I Can Tell) this is a pure Solaris issue, the hardware
> appears to be  functioning fine...
>
> Thanks in advance,
>
> Ken
> n2vip at bellatlantic.net
> (Still eagerly awaiting my Ultra 2... Wish it came for the long weekend
> :^(  Oh well)



___________________________________________________
Paul Phillips
Director of Orchestral Activities, Meadows School of the Arts
Southern Methodist University

"You must sing every note you play, sing even through the rests!"
Arturo Toscanini





More information about the rescue mailing list