On Tue, 4 Aug 2009, sh_hallmark wrote:
> I'm not able to get name resolution to work on my 7400 board. I've
> searched the internet and the archives of this group, but can't find
> what's missing.
>
> My board is using DHCP. Here's the configuration:
> $ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:D0:69:40:7B:48
> inet addr:10.104.102.81 Bcast:10.255.255.255 Mask:255.255.0.0
looks a funny broadcast address to have - should be 10.104.255.25
But suspect that is nothing to do with your problem.
....snip...
> $ cat /etc/hosts
> 127.0.0.1 localhost juliet.mycorp.com juliet
> $ hostname
> juliet
> $ cat /etc/resolv.conf
> search mycorp.com.
> nameserver 10.104.20.2
> nameserver 10.86.20.10
And what's in you /etc/nsswitch.conf file? Make sure your hosts line
is..
hosts: files dns
>
> $ ls -l /lib/libresolv*
> lrwxrwxrwx 1 0 0 18 Feb 16 2007 /lib/libresolv.so.2 ->
> libresolv-2.3.2.so
> -rwxrwxrwx 1 0 0 60628 Aug 4 09:07 /lib/libresolv-2.3.2.so
>
> So given all that, I get the following results to a "ping":
> $ ping juliet
> ping: juliet: Host name lookup failure
> $ ping juliet.mycorp.com
> ping: juliet.mycorp.com: Unknown host
>
> Interestingly, if I remove libresolv-2.3.2.so, I get the following results:
> $ ping juliet
> localhost is alive!
> $ ping juliet.mycorp.com
> localhost is alive!
>
> But I still get "Unknown host" when I try to ping a known entity outside this
> box.
>
> Any ideas??
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|