network toolsl don't still work...

5 messages, 5 authors, 2000-07-13 · open the first message on its own page

network toolsl don't still work...

From: Kwansuk Kim <hidden>
Date: 2000-07-13 03:38:08

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/

Re: network toolsl don't still work...

From: john zhan <hidden>
Date: 2000-07-01 03:39:34

hi,kim
Try put libnss_files.so.2 in your /lib.

b.r.
john zhan.

----- Original Message -----
From: Kwansuk Kim <redacted>
To: LinuxPPC <redacted>
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/

Re: network toolsl don't still work...

From: Dan A. Dickey <hidden>
Date: 2000-07-13 03:50:17

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/

Re: network toolsl don't still work...

From: Steven Tarr <hidden>
Date: 2000-07-13 14:30:31

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:
quoted
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/

Re: network toolsl don't still work...

From: Jim Lewis <hidden>
Date: 2000-07-13 17:42:22

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:
quoted
Kwansuk Kim wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help