I'm confused. I have two TS-7250s that don't seem to
be acting the same. As far as I know, they both have
original
firmware. The first one acts as I expect:
50:/root # ifconfig | head -2
eth0 Link encap:Ethernet HWaddr 00:D0:69:40:3D:DF
inet addr:192.168.1.50 Bcast:192.168.255.0
Mask:255.255.255.0
50:/root # cat /etc/resolv.conf
search ts-local.net
nameserver 4.2.2.1
50:/root # cat /etc/hosts
127.0.0.1 localhost localhost
192.168.1.50 ts0
192.168.1.51 ts1
50:/root # ping ts1
PING ts1 (192.168.1.51): 56 data bytes
64 bytes from 192.168.1.51: icmp_seq=0 ttl=64 time=0.0 ms
64 bytes from 192.168.1.51: icmp_seq=1 ttl=64 time=0.0 ms
...
The second seems to have a resolver problem:
51:/root # ifconfig | head -2
eth0 Link encap:Ethernet HWaddr 00:D0:69:44:34:B0
inet addr:192.168.1.51 Bcast:192.168.255.0
Mask:255.255.255.0
51:/root # cat /etc/resolv.conf
search ts-local.net
nameserver 4.2.2.1
51:/root # cat /etc/hosts
127.0.0.1 localhost localhost
192.168.1.50 ts0
192.168.1.51 ts1
51:/root # ping ts0
ping: ts0: Unknown host
51:/root #
but of course
51:/root # ping 192.168.1.50
PING 192.168.1.50 (192.168.1.50): 56 data bytes
64 bytes from 192.168.1.50: icmp_seq=0 ttl=64 time=0.0 ms
64 bytes from 192.168.1.50: icmp_seq=1 ttl=64 time=0.0 ms
...
What else do I need to look at to figure out why the
second unit can't resolve names from /etc/hosts?
Ah, here is a difference: They have different
kernels:
50:/root # uname -a
Linux ts7200 2.4.26-ts9 #151 Mon Feb 13 16:01:46 MST 2006
armv4l unknown
51:/root # uname -a
Linux ts7200 2.4.26-ts11 #22 Tue Jun 6 12:23:09 MST 2006
armv4l unknown
but that shouldn't have anything to do with it?