about ping and Linux system driver

stanliao at globalunichip.com stanliao at globalunichip.com
Fri Nov 18 05:39:39 UTC 2005


Dear All,

"ping" and "ifconfig" command are two of the functions compiled in the
busybox at my computer. The linux kernel I use is v2.4.18 and the cross
compilier is arm-linux-gcc v2.95.3. Whiling configuring Linux, TCP/IP
system driver is also included. The followings are cut from the execution
result:

--------------------------------------------
# ifconfig
eth0      Link encap:Ethernet  HWaddr 12:03:84:05:06:48
          inet addr:172.20.18.2  Bcast:172.20.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2381 (2.3 KiB)  TX bytes:576 (576.0 B)
          Interrupt:23 Base address:0x2000

# ifconfig
eth0      Link encap:Ethernet  HWaddr 12:03:84:05:06:48
          inet addr:172.20.18.2  Bcast:172.20.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:3350 (3.2 KiB)  TX bytes:576 (576.0 B)
          Interrupt:23 Base address:0x2000

# ping 172.20.18.73
No response from 172.20.18.73
# ping localhost
ping: localhost: Resolver Error 0 (no error)
# ping 172.20.18.2
ping: sendto: Invalid argument
# ping 127.0.0.1
ping: sendto: Network is unreachable
#
--------------------------------------------


Excuse me, could anyone tell me what next I shall check? Thank you very
much.

Best Regards,
Stan Liao





More information about the busybox mailing list