I connect a cross cable from my computer to mini2440. It displayed [root@FriendlyARM /]# eth0: link down eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1 I tried to ping to 8.8.8.8 or 192.168.1.230 from my computer. The result is all loss. here is the mini2440 ifconfig eth0 Link encap:Ethernet HWaddr 08:90:90:90:90:90 inet addr:192.168.1.230 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:252 errors:0 dropped:0 overruns:0 frame:0 TX packets:123 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:86442 (84.4 KiB) TX bytes:5166 (5.0 KiB) Interrupt:51 Base address:0x4300 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:114 errors:0 dropped:0 overruns:0 frame:0 TX packets:114 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11996 (11.7 KiB) TX bytes:11996 (11.7 KiB)
mini2440 can not ping
OK On my computer I can ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=46 time=34.4 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=45 time=34.3 ms 64 bytes from 8.8.8.8: icmp_req=3 ttl=45 time=36.3 ms 64 bytes from 8.8.8.8: icmp_req=4 ttl=46 time=89.4 ms 64 bytes from 8.8.8.8: icmp_req=5 ttl=45 time=37.7 ms 64 bytes from 8.8.8.8: icmp_req=6 ttl=46 time=35.0 ms 64 bytes from 8.8.8.8: icmp_req=7 ttl=45 time=79.3 ms 64 bytes from 8.8.8.8: icmp_req=8 ttl=45 time=35.4 ms ^C --- 8.8.8.8 ping statistics --- 8 packets transmitted, 8 received, 0% packet loss, time 7010ms rtt min/avg/max/mdev = 34.306/47.756/89.404/21.319 ms but not 192.168.230 PING 192.168.1.230 (192.168.1.230) 56(84) bytes of data. From 192.168.1.4 icmp_seq=1 Destination Host Unreachable From 192.168.1.4 icmp_seq=2 Destination Host Unreachable From 192.168.1.4 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.1.230 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms pipe 4 PLEASE HELP!
eth0 Link encap:Ethernet HWaddr 60:eb:69:69:ba:0b inet6 addr: fe80::62eb:69ff:fe69:ba0b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:622 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2904 (2.9 KB) TX bytes:137278 (137.2 KB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2172 errors:0 dropped:0 overruns:0 frame:0 TX packets:2172 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:179578 (179.5 KB) TX bytes:179578 (179.5 KB) wlan0 Link encap:Ethernet HWaddr 00:26:c7:67:27:a8 inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::226:c7ff:fe67:27a8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14326 errors:0 dropped:1 overruns:0 frame:0 TX packets:11813 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12734410 (12.7 MB) TX bytes:1427842 (1.4 MB)
Your computer doesn't look like it has an IP address on eth0. Disable the wireless and see if eth0 now appears.
I usually assign my host to static address, ie 192.168.1.x so they are both on the same subnet. I think you need a namesever on one of them if you want to automatically assign an IP address. Read about DHCP