Jim,
Thanks. Here is my test result:
ts7200:~# ping www.google.com
ping: unknown host www.google.com
ts7200:~# ping 192.168.0.10
PING 192.168.0.10 (192.168.0.10): 56 data bytes
64 bytes from 192.168.0.10: icmp_seq=0 ttl=64 time=0.0 ms
64 bytes from 192.168.0.10: icmp_seq=1 ttl=64 time=0.0 ms
64 bytes from 192.168.0.10: icmp_seq=2 ttl=64 time=0.0 ms
--- 192.168.0.10 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.0/0.0/0.0 ms
ts7200:~# ping 194.165.130.227
PING 194.165.130.227 (194.165.130.227): 56 data bytes
--- 194.165.130.227 ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss
ts7200:~# ping 213.186.185.245
PING 213.186.185.245 (213.186.185.245): 56 data bytes
--- 213.186.185.245 ping statistics ---
31 packets transmitted, 0 packets received, 100% packet loss
ts7200:~#
ts7200:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:69:40:1F:01
inet addr:192.168.0.50 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
I can ping local host PC successfully, and send messages to
194.165.130.227, 213.186.185.245 but no reply, totally unable to ping
www.google.com, is DNS not working? or should i use a router instead
of hub that does not do any NAT?
Tom
--- In Jim Jackson <> wrote:
>
>
>
>
> On Tue, 14 Nov 2006, chentom60 wrote:
>
> > Jim,
> > Sorry, I did not notice you asked some questions at the end of your
> > previous reply. It is my mistake. Sorry for that. The following is the
> > result:
> >
> > ts7200:~# ls -l /lib/libresolv-2.2.5.so
> > -rw-r--r-- 1 root root 59828 Apr 9 2003
> > /lib/libresolv-2.2.5.so
> >
> > ts7200:~# cat /etc/nsswitch.conf
> ......
>
> So things look good.
> Can you ping e.g. www.google.com from the board?
>
> Try these....
>
> ping 192.168.0.10
>
> if that succeeds try pinging the IP addresses you are using for
> nameservice.....
>
> ping 194.165.130.227
> ping 213.186.185.245
>
> If those work I'm stumped. If they don't then check that you have the
> correct IP addresses
>
> Jim
>
> >
> >
> >
> > --- In Jim Jackson <jj@> wrote:
> > >
> > >
> > >
> > >
> > > On Tue, 14 Nov 2006, chentom60 wrote:
> > >
> > > > Jim,
> > > >
> > > > My simple hub can not do any fancy NAT, it just makes PC and 7250
> > > > shared the same DSL modem. My PC has only one ethernet card,
> > > > therefore, I can not browse internet while working on the
board. So, I
> > > > use the hub that connects both PC and 7250 and its uplink
connects to
> > > > DSL modem. Then PC can communicate with 7250 and browse
internet no
> > > > problem.
> > >
> > > errr.... that's what I said. Though you don't appear to fully
understand
> > > how these things work - though it may be a language problem.
> > >
> > > I asked some questions that you have ignored! I can't help you
if you
> > > ignore me.
> > >
> > > Jim
> > >
> > >
> > > >
> > > > I use loadUSB.sh to change root to USB with debian, however,
can not
> > > > use apt-get to install anything. It looks like 7250 can not
> > > > communicate with internet. "ping www.yahoo.com" from board
does not
> > > > work. I am not sure whether I should config either board or
PC. I am
> > > > quite new on network, please help me, thanks!
> > > >
> > > >
> > > > Thanks.
> > > >
> > > > Tom
> > > >
> > > > --- In Jim Jackson <jj@> wrote:
> > > > >
> > > > >
> > > > > On Tue, 14 Nov 2006, chentom60 wrote:
> > > > >
> > > > > > Thanks, here is the result:
> > > > > >
> > > > > > $ /sbin/ifconfig
> > > > > > eth0 Link encap:Ethernet HWaddr 00:D0:69:40:1F:01
> > > > > > inet addr:192.168.0.50 Bcast:192.168.0.255
> > > > Mask:255.255.255.0
> > > > > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > > > > > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> > > > > > TX packets:0 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:0 errors:0 dropped:0 overruns:0 frame:0
> > > > > > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> > > > > > collisions:0 txqueuelen:0
> > > > > > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> > > > > >
> > > > > >
> > > > > > $ route -n
> > > > > > Kernel IP routing table
> > > > > > Destination Gateway Genmask Flags Metric Ref Use
> > Iface
> > > > > > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
> > > > > > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
0 lo
> > > > > > 0.0.0.0 192.168.0.10 0.0.0.0 UG 0 0
0 eth0
> > > > > > $
> > > > >
> > > > > looks fine.
> > > > >
> > > > > >
> > > > > > My PC and 7250 all connect to a 10/100 hub whose Uplink
> > connects a DSL
> > > > > > modem output.
> > > > > >
> > > > > > Maybe 7250 should have a public IP address rather than the
default
> > > > > > 192.168.0.50, but how do I config the board to force it get
> > public IP
> > > > > > from DSL modem?
> > > > >
> > > > > why? It will work just like any other computer connected to your
> > 10/100
> > > > > hub. The DSL router will do NAT/Masquerading for you.
> > > > >
> > > > > >
> > > > > > Tom
> > > > > > --- In "Yan Seiner" <yan@> wrote:
> > > > > > >
> > > > > > > --- In "chentom60" <chentom60@>
wrote:
> > > > > > > >
> > > > > > > > Hello Jim
> > > > > > > >
> > > > > > > > I am using debian256-5-6-2005.tar.gz I downloaded from
> > > > Embedded Arm
> > > > > > > > for my 7250 ts8 board.
> > > > > > > >
> > > > > > > > My /etc/resolv.conf is very strange:
> > > > > > > > #nameserver 192.168.0.1
> > > > > > > > but even if I updated (as I find in an old post), still
> > does not
> > > > > > work.
> > > > > > > > nameserver 194.165.130.227
> > > > > > > > nameserver 213.186.185.245
> > > > > > > >
> > > > > > > > After checking old posts, I note that libresolv.so.2
may also
> > > > be an
> > > > > > > > issue, here is mine.
> > > > > > > >
> > > > > > > > #ls -l /lib/libresolv.so.2
> > > > > > > > lrwxrwxrwx 1 root root 18 Oct 19 2006
> > > > > > > > /lib/libresolv.so.2 -> libresolv-2.2.5.so
> > > > >
> > > > > err. that's a link - not a file. What does
> > > > >
> > > > > ls -l libresolv-2.2.5.so
> > > > >
> > > > > give?
> > > > > Also what does /etc/nsswitch.conf contain.
> > > > > It should have a line containing....
> > > > >
> > > > > hosts: files dns
> > > > >
> > > > >
> > > > > > > >
> > > > > > > > Is it too old? others people mentioned libresolv-2.3.2.so
> > and name
> > > > > > > > resolution works.
> > > > > > > >
> > > > > > >
> > > > > > > Your networking is hosed for some reason. Please post the
> > output of
> > > > > > > '/sbin/ifconfig' and '/sbin/route -n'
> > > > > > >
> > > > > > > --Yan
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
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/
|