2009-05-14 01:57:47     DM9000A & ping ?

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-14 01:57:47     DM9000A & ping ?

Tony Liu (CHINA)

Message: 74028   

 

Hardware platform: BF531 + DM9000A

 

Start message:

 

 

 

dm9000 Ethernet Driver, V1.31

 

eth0: dm9000e at 20200000,20200004 IRQ 33 MAC: a0:a1:a2:a3:a4:a5 (chip)

 

Then type the fellow commands:

 

 

root: /> ifconfig

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)

 

root: /> ifconfig eth0 192.168.0.122 up

eth0: link down

root: /> ifconfig eth0 192.168.0.122

root: /> ifconfig

eth0      Link encap:Ethernet  HWaddr A0:A1:A2:A3:A4:A5

          inet addr:192.168.0.122  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST 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:33

 

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)

 

root: /> ping 192.168.0.122 -c 3

PING 192.168.0.122 (192.168.0.122): 56 data bytes

64 bytes from 192.168.0.122: seq=0 ttl=64 time=0.000 ms

64 bytes from 192.168.0.122: seq=1 ttl=64 time=0.000 ms

64 bytes from 192.168.0.122: seq=2 ttl=64 time=0.000 ms

 

--- 192.168.0.122 ping statistics ---

3 packets transmitted, 3 packets received, 0% packet loss

round-trip min/avg/max = 0.000/0.000/0.000 ms

root: /> ping 192.168.0.144

PING 192.168.0.144 (192.168.0.144): 56 data bytes

 

ping other ip, no response.

 

Why & How to do?

Thanks!

 

 

QuoteReplyEditDelete

 

 

2009-05-14 04:14:46     Re: DM9000A & ping ?

Mike Frysinger (UNITED STATES)

Message: 74032   

 

utilizing local IP addresses is not a valid test of the hardware as the Linux network stack will automatically route things internally.  nothing ever goes to the hardware in that case.

 

you should enable debugging in the DM9000 driver to try and locate an issue.

QuoteReplyEditDelete

 

 

2009-07-12 09:03:37     Re: DM9000A & ping ?

Qi Qiu (CHINA)

Message: 77082   

 

你看看是否配置好路由

 

route add default gw 192.168.0.1

Attachments

    Outcomes