* network toolsl don't still work...
@ 2000-07-13 3:38 Kwansuk Kim
2000-07-01 3:39 ` john zhan
2000-07-13 3:50 ` Dan A. Dickey
0 siblings, 2 replies; 5+ messages in thread
From: Kwansuk Kim @ 2000-07-13 3:38 UTC (permalink / raw)
To: LinuxPPC
Thanks for you cooperation.
When I make soft link from /lib to /opt/.../lib, bash can read the library files.
But ping program doesn't work yet.
I mounted proc file system 'mount none /proc -t proc' and in /etc directory, there are protocols, services file.
-------
init-2.03# ls -l /etc
total 446
-rw-r--r-- 1 0 0 32 Jul 12 2000 fstab
-rw-r--r-- 1 0 0 2882 Jul 12 2000 inetd.conf
-rw-r--r-- 1 0 0 23 Dec 31 16:37 mtab
-rw-r--r-- 1 0 0 1186 Jul 12 2000 protocols
-rw-r--r-- 1 0 0 11172 Jul 12 2000 services
-rw-r--r-- 1 0 0 434898 Jul 12 2000 termcap
init-2.03#cat /etc/protocols
# /etc/protocols:
# : protocols,v 1.1 1995/02/24 01:09:41 imurdock Exp $
#
# Internet (IP) protocols
#
# from: @(#)protocols 5.1 (Berkeley) 4/17/89
#
#
ip 0 IP # internet protocol, pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # Internet Group Management
ggp 3 GGP # gateway-gateway protocol
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially IP'')
st 5 ST # ST datagram mode
tcp 6 TCP # transmission control protocol
egp 8 EGP # exterior gateway protocol
pup 12 PUP # PARC universal packet protocol
....
and ping, librara, kernel are compiled with same compiler.
But the message still comes out
----------
init-2.03# ping 127.0.0.1
ping: unknown protocol icmp.
init-2.03#
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: network toolsl don't still work...
2000-07-13 3:38 network toolsl don't still work Kwansuk Kim
@ 2000-07-01 3:39 ` john zhan
2000-07-13 3:50 ` Dan A. Dickey
1 sibling, 0 replies; 5+ messages in thread
From: john zhan @ 2000-07-01 3:39 UTC (permalink / raw)
To: Kwansuk Kim; +Cc: linuxppc-embedded
hi,kim
Try put libnss_files.so.2 in your /lib.
b.r.
john zhan.
----- Original Message -----
From: Kwansuk Kim <kskim@neowave.co.kr>
To: LinuxPPC <linuxppc-embedded@lists.linuxppc.org>
Sent: Thursday, July 13, 2000 11:38 AM
Subject: network toolsl don't still work...
>
> Thanks for you cooperation.
>
> When I make soft link from /lib to /opt/.../lib, bash can read the library files.
>
> But ping program doesn't work yet.
>
> I mounted proc file system 'mount none /proc -t proc' and in /etc directory, there are protocols, services file.
>
> -------
> init-2.03# ls -l /etc
> total 446
> -rw-r--r-- 1 0 0 32 Jul 12 2000 fstab
> -rw-r--r-- 1 0 0 2882 Jul 12 2000 inetd.conf
> -rw-r--r-- 1 0 0 23 Dec 31 16:37 mtab
> -rw-r--r-- 1 0 0 1186 Jul 12 2000 protocols
> -rw-r--r-- 1 0 0 11172 Jul 12 2000 services
> -rw-r--r-- 1 0 0 434898 Jul 12 2000 termcap
> init-2.03#cat /etc/protocols
> # /etc/protocols:
> # : protocols,v 1.1 1995/02/24 01:09:41 imurdock Exp $
> #
> # Internet (IP) protocols
> #
> # from: @(#)protocols 5.1 (Berkeley) 4/17/89
> #
> #
>
> ip 0 IP # internet protocol, pseudo protocol number
> icmp 1 ICMP # internet control message protocol
> igmp 2 IGMP # Internet Group Management
> ggp 3 GGP # gateway-gateway protocol
> ipencap 4 IP-ENCAP # IP encapsulated in IP (officially IP'')
> st 5 ST # ST datagram mode
> tcp 6 TCP # transmission control protocol
> egp 8 EGP # exterior gateway protocol
> pup 12 PUP # PARC universal packet protocol
> ....
>
> and ping, librara, kernel are compiled with same compiler.
>
> But the message still comes out
>
> ----------
>
> init-2.03# ping 127.0.0.1
> ping: unknown protocol icmp.
> init-2.03#
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: network toolsl don't still work...
2000-07-13 3:38 network toolsl don't still work Kwansuk Kim
2000-07-01 3:39 ` john zhan
@ 2000-07-13 3:50 ` Dan A. Dickey
2000-07-13 14:30 ` Steven Tarr
1 sibling, 1 reply; 5+ messages in thread
From: Dan A. Dickey @ 2000-07-13 3:50 UTC (permalink / raw)
To: Kwansuk Kim; +Cc: LinuxPPC
Kwansuk Kim wrote:
>
> Thanks for you cooperation.
>
> When I make soft link from /lib to /opt/.../lib, bash can read the library files.
>
> But ping program doesn't work yet.
Check /etc/nsswitch.conf
-Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: network toolsl don't still work...
2000-07-13 3:50 ` Dan A. Dickey
@ 2000-07-13 14:30 ` Steven Tarr
2000-07-13 17:42 ` Jim Lewis
0 siblings, 1 reply; 5+ messages in thread
From: Steven Tarr @ 2000-07-13 14:30 UTC (permalink / raw)
To: Dan A. Dickey; +Cc: Kwansuk Kim, LinuxPPC
Mr. Dickey ---
Please have an ice cream cone on me! I thank you.
cheers --
tarr
NOTE - libnss_files.so-2.1.3 and its various links need to be included in the
libraries....
NOTE2 - So, I have to add a library of >240K so that I can get a simple network
(ping)
application to function! The original function
getprotobyname() was 10 lines of C code.
"Dan A. Dickey" wrote:
> Kwansuk Kim wrote:
> >
> > Thanks for you cooperation.
> >
> > When I make soft link from /lib to /opt/.../lib, bash can read the library files.
> >
> > But ping program doesn't work yet.
>
> Check /etc/nsswitch.conf
> -Dan
>
--
Steve Tarr
tarr@lucent.com
303-538-4056
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: network toolsl don't still work...
2000-07-13 14:30 ` Steven Tarr
@ 2000-07-13 17:42 ` Jim Lewis
0 siblings, 0 replies; 5+ messages in thread
From: Jim Lewis @ 2000-07-13 17:42 UTC (permalink / raw)
To: Steven Tarr; +Cc: Dan A. Dickey, Kwansuk Kim, LinuxPPC
Steven,
If you strip libnss_files.so-2.1.3, it is about 40K. That is still more than 10 lines of
code, but it is lots better than 240K!
-Jim
Steven Tarr wrote:
> Mr. Dickey ---
>
> Please have an ice cream cone on me! I thank you.
>
> cheers --
> tarr
>
> NOTE - libnss_files.so-2.1.3 and its various links need to be included in the
> libraries....
>
> NOTE2 - So, I have to add a library of >240K so that I can get a simple network
> (ping)
> application to function! The original function
> getprotobyname() was 10 lines of C code.
>
> "Dan A. Dickey" wrote:
>
> > Kwansuk Kim wrote:
> > >
> > > Thanks for you cooperation.
> > >
> > > When I make soft link from /lib to /opt/.../lib, bash can read the library files.
> > >
> > > But ping program doesn't work yet.
> >
> > Check /etc/nsswitch.conf
> > -Dan
> >
>
> --
> Steve Tarr
> tarr@lucent.com
> 303-538-4056
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-07-13 17:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-13 3:38 network toolsl don't still work Kwansuk Kim
2000-07-01 3:39 ` john zhan
2000-07-13 3:50 ` Dan A. Dickey
2000-07-13 14:30 ` Steven Tarr
2000-07-13 17:42 ` Jim Lewis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).