* Re: network tools don't work
2000-07-11 11:47 network tools don't work Kwansuk Kim
@ 2000-06-30 16:28 ` john zhan
2000-07-11 12:09 ` Dan A. Dickey
1 sibling, 0 replies; 3+ messages in thread
From: john zhan @ 2000-06-30 16:28 UTC (permalink / raw)
To: Kwansuk Kim; +Cc: linuxppc-embedded
hi, kim
I experienced similar case.
That's your shared objs and your applications are not accordant.
Build apps and kernel with same version of glibc.
also,make sure you have same version libc.so.6 in /lib of your target rootfs .
regards.
john zhan.
----- Original Message -----
From: Kwansuk Kim <kskim@neowave.co.kr>
To: LinuxPPC <linuxppc-embedded@lists.linuxppc.org>
Sent: Tuesday, July 11, 2000 7:47 PM
Subject: network tools don't work
>
> After getting bash prompt, I determined wheather network is working, but it doesn't.
> It tells there is no protocol.
>
> ----------
>
> init-2.00# ./ifconfig lo 127.0.0.1
> 127.0.0.1: Resolver Error 0 (no error)
> Usage: ifconfig [-a] [-i] [-v] interface
> [inet address]
> [hw] [ax25 address]
> [metric NN] [mtu NN]
> [trailers] [-trailers]
> [arp] [-arp]
> [netmask aa.bb.cc.dd]
> [dstaddr aa.bb.cc.dd]
> [mem_start NN] [io_addr NN] [irq NN]
> [[-] broadcast [aa.bb.cc.dd]]
> [[-]pointopoint [aa.bb.cc.dd]]
> [up] [down] ...
> init-2.00# ping 210.105.51.96
> ping: unknown protocol icmp.
> init-2.00#
>
> ----------
>
> But I set configure file to support TCP/IP protocol.
> It's startup message.
>
> ---------------
>
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.2
> Based upon Swansea University Computer Society NET3.039
> NET4: Unix domain sockets 1.0 for Linux NET4.0.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> TCP: Hash tables configured (ehash 32768 bhash 32768)
> Starting kswapd v 1.5
> Serial driver version 4.27 with no serial options enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16450
> ttyS01 at 0x02f8 (irq = 3) is a 16450
> ttyS02 at 0x03e8 (irq = 4) is a 16450
> CPM UART driver version 0.02
>
> ttyS00 at 0x0380 is a SMC
> ttyS01 at 0x0100 is a SCC
> ttyS02 at 0x0200 is a SCC
> pty: 256 Unix98 ptys configured
>
> .....
>
> Is something wrong?
>
> I used ramdisk root file system, and ramdisk image was obtained from linuxppc.org. (about 4Meg, library version is 1.99)
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* network tools don't work
@ 2000-07-11 11:47 Kwansuk Kim
2000-06-30 16:28 ` john zhan
2000-07-11 12:09 ` Dan A. Dickey
0 siblings, 2 replies; 3+ messages in thread
From: Kwansuk Kim @ 2000-07-11 11:47 UTC (permalink / raw)
To: LinuxPPC
After getting bash prompt, I determined wheather network is working, but it doesn't.
It tells there is no protocol.
----------
init-2.00# ./ifconfig lo 127.0.0.1
127.0.0.1: Resolver Error 0 (no error)
Usage: ifconfig [-a] [-i] [-v] interface
[inet address]
[hw] [ax25 address]
[metric NN] [mtu NN]
[trailers] [-trailers]
[arp] [-arp]
[netmask aa.bb.cc.dd]
[dstaddr aa.bb.cc.dd]
[mem_start NN] [io_addr NN] [irq NN]
[[-] broadcast [aa.bb.cc.dd]]
[[-]pointopoint [aa.bb.cc.dd]]
[up] [down] ...
init-2.00# ping 210.105.51.96
ping: unknown protocol icmp.
init-2.00#
----------
But I set configure file to support TCP/IP protocol.
It's startup message.
---------------
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 32768 bhash 32768)
Starting kswapd v 1.5
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16450
ttyS01 at 0x02f8 (irq = 3) is a 16450
ttyS02 at 0x03e8 (irq = 4) is a 16450
CPM UART driver version 0.02
ttyS00 at 0x0380 is a SMC
ttyS01 at 0x0100 is a SCC
ttyS02 at 0x0200 is a SCC
pty: 256 Unix98 ptys configured
.....
Is something wrong?
I used ramdisk root file system, and ramdisk image was obtained from linuxppc.org. (about 4Meg, library version is 1.99)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: network tools don't work
2000-07-11 11:47 network tools don't work Kwansuk Kim
2000-06-30 16:28 ` john zhan
@ 2000-07-11 12:09 ` Dan A. Dickey
1 sibling, 0 replies; 3+ messages in thread
From: Dan A. Dickey @ 2000-07-11 12:09 UTC (permalink / raw)
To: Kwansuk Kim; +Cc: LinuxPPC
Kwansuk Kim wrote:
>
> After getting bash prompt, I determined wheather network is working, but it doesn't.
> It tells there is no protocol.
>
> ----------
>
> init-2.00# ./ifconfig lo 127.0.0.1
> 127.0.0.1: Resolver Error 0 (no error)
...
> init-2.00# ping 210.105.51.96
> ping: unknown protocol icmp.
> init-2.00#
...
> Is something wrong?
>
> I used ramdisk root file system, and ramdisk image was obtained from linuxppc.org. (about 4Meg, library version is 1.99)
What is wrong is that there is no /etc/protocols file.
Try it:
# mv /etc/protocols /etc/protocols.none
# ping 127.0.0.1
ping: unknown protocol icmp.
# mv /etc/protocols.none /etc/protocols
-Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-07-11 12:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-11 11:47 network tools don't work Kwansuk Kim
2000-06-30 16:28 ` john zhan
2000-07-11 12:09 ` Dan A. Dickey
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).