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
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
ts7200:~#
--- In Jim Jackson <> 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/
|