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