That may not be only source of the problem. Also check that you have a
libresolv.* in /lib or /usr/lib.
~/Chris
Jason Stahls wrote:
> Check /etc/resolv.conf and make sure you have a line that says
> namserver <ip address of DNS server>
>
> Jason
>
> xie_jian_hua wrote:
>> I ran the ping command on my TS-7250 board and got the message:
>>
>> $ping www.bankofamerica.com
>> ping: www.bankofamerica.com: Unknown host
>>
>> If I ping an IP address instead of host name, it will work. My TS-7250
>> board is configured to use dhcp and should work fine since the output
>> from ifconfig command is:
>> $ ifconfig
>>
>> eth0 Link encap:Ethernet HWaddr 00:D0:69:40:3D:D7
>>
>> inet addr:10.10.1.113 Bcast:10.255.255.255
>> Mask:255.255.255.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>
>> RX packets:1761 errors:0 dropped:0 overruns:0 frame:0
>>
>> TX packets:2 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
>>
>>
>>
>> I did search the previous messages. One said a similar problem was
>> caused by wrong static IP address used by the SBC. But I don't think
>> it applies to my situation because I have a Linux desktop on the same
>> subnet. It runs dhcp and resolves all host names. Running ifconfig
>> command on the desktop PC gives me the output:
>>
>> eth1 Link encap:Ethernet HWaddr 00:14:6C:C3:73:DE
>> inet addr:10.10.1.115 Bcast:10.10.1.255 Mask:255.255.255.0
>> inet6 addr: fe80::214:6cff:fec3:73de/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:3666226 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:903355 errors:360 dropped:0 overruns:4 carrier:720
>> collisions:5470 txqueuelen:1000
>> RX bytes:1603262774 (1.4 GiB) TX bytes:123856516 (118.1 MiB)
>> Interrupt:16 Base address:0xef00
>>
>> If I put a host name and IP address pair in the /etc/hosts file, it
>> will work for that specific host name. My linux version is 2.4.26-ts9
>> Anybody can give me a pointer? Thank you.
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>
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/
|