ts-7000
[Top] [All Lists]

Re: [ts-7000] Name resolution not working on 7400

To:
Subject: Re: [ts-7000] Name resolution not working on 7400
From: Jeremy Freeman <>
Date: Tue, 4 Aug 2009 13:59:51 -0700 (PDT)


Does your /etc/nsswitch.conf have the following line in it:

hosts:    files dns

?

--
Jeremy


From: sh_hallmark <>
To:
Sent: Tuesday, August 4, 2009 10:50:34 AM
Subject: [ts-7000] Name resolution not working on 7400

 

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
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3201599 errors:0 dropped:0 overruns:0 frame:0
TX packets:162403 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:39

lo Link encap:Local Loopback
inet addr:127.0.0. 1 Mask:255.0.0. 0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1363 errors:0 dropped:0 overruns:0 frame:0
TX packets:1363 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:272891 (266.4 KiB) TX bytes:272891 (266.4 KiB)

$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.104.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.104.2.1 0.0.0.0 UG 0 0 0 eth0

$ 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

$ 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??




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU