ymind 发表于 2013-1-8 08:26 
也就是说,主机(192.168.1.100)能ping通开发板(192.168.1.6),但反之则不通,对吗?
1. 在开发板侧能使用te ...
非常感谢大侠》
我来说一下我这边的情况:我主机的linux是装在虚拟机上的,目标板是一个2410的开发板。现在主机很目标板的连接是一根串口线和一根网线。串口线通过minicom来操作目标板。
主机端现象:IP:192.168.1.100.我再虚拟机上和windows上都是配置的一致的。然后在主机端现在是可以把/home/xxw 挂载到/mnt的
下面是一些现象:
[root@localhost root]# ping 192.168.1.6
PING 192.168.1.6 (192.168.1.6) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
From 192.168.1.100 icmp_seq=4 Destination Host Unreachable
From 192.168.1.100 icmp_seq=5 Destination Host Unreachable
From 192.168.1.100 icmp_seq=6 Destination Host Unreachable
From 192.168.1.100 icmp_seq=7 Destination Host Unreachable
From 192.168.1.100 icmp_seq=8 Destination Host Unreachable
From 192.168.1.100 icmp_seq=9 Destination Host Unreachable
--- 192.168.1.6 ping statistics ---
10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9104ms
, pipe 3
[root@localhost root]# cat /proc/interrupts
CPU0
0: 859675 XT-PIC timer
1: 393 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 345 XT-PIC serial
5: 25 XT-PIC vmxnet ether
8: 1 XT-PIC rtc
9: 0 XT-PIC vmci
10: 32 XT-PIC usb-uhci
11: 32937 XT-PIC ioc0, ehci-hcd
12: 6246 XT-PIC PS/2 Mouse
15: 66777 XT-PIC ide1
NMI: 0
ERR: 0
[root@localhost root]# ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.205 ms
64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=0.050 ms
64 bytes from 192.168.1.100: icmp_seq=3 ttl=64 time=0.024 ms
64 bytes from 192.168.1.100: icmp_seq=4 ttl=64 time=0.023 ms
64 bytes from 192.168.1.100: icmp_seq=5 ttl=64 time=0.028 ms
--- 192.168.1.100 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 0.023/0.066/0.205/0.070 ms
[root@localhost root]# ping 192.168.1.6
PING 192.168.1.6 (192.168.1.6) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
From 192.168.1.100 icmp_seq=4 Destination Host Unreachable
From 192.168.1.100 icmp_seq=5 Destination Host Unreachable
From 192.168.1.100 icmp_seq=6 Destination Host Unreachable
--- 192.168.1.6 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7076ms
, pipe 3
目标板上的一些现象:
[root@EmbedSky /]# ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100): 56 data bytes
64 bytes from 192.168.1.100: seq=0 ttl=64 time=5.923 ms
64 bytes from 192.168.1.100: seq=1 ttl=64 time=0.952 ms
64 bytes from 192.168.1.100: seq=2 ttl=64 time=0.952 ms
64 bytes from 192.168.1.100: seq=3 ttl=64 time=0.950 ms
64 bytes from 192.168.1.100: seq=4 ttl=64 time=0.817 ms
^C
--- 192.168.1.100 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.817/1.918/5.923 ms
[1]+ Done(127) AT S7=45 S0=0 L1 V1 X4
[root@EmbedSky /]# ifconfig
eth0 Link encap:Ethernet HWaddr 10:23:45:67:89:AB
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:733 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:102754 (100.3 KiB) TX bytes:532 (532.0 B)
Interrupt:51 Base address:0x4000
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@EmbedSky /]# cat /proc/interrupts
CPU0
30: 1728917 s3c S3C2410 Timer Tick
32: 0 s3c s3c2410-lcd
33: 0 s3c s3c-mci
37: 21 s3c s3c-mci
41: 1 s3c s3c2410_udc
42: 0 s3c ohci_hcd:usb1
43: 0 s3c s3c2440-i2c
51: 782 s3c-ext eth0
60: 0 s3c-ext s3c-mci
70: 112 s3c-uart0 s3c2440-uart
71: 241 s3c-uart0 s3c2440-uart
79: 0 s3c-adc TQ2440 TouchScreen
80: 0 s3c-adc adc, TQ2440 TouchScreen
83: 0 - s3c2410-wdt
Err: 0
[root@EmbedSky /]# ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100): 56 data bytes
64 bytes from 192.168.1.100: seq=0 ttl=64 time=7.068 ms
64 bytes from 192.168.1.100: seq=1 ttl=64 time=0.949 ms
64 bytes from 192.168.1.100: seq=2 ttl=64 time=0.808 ms
64 bytes from 192.168.1.100: seq=3 ttl=64 time=0.954 ms
64 bytes from 192.168.1.100: seq=4 ttl=64 time=0.955 ms
64 bytes from 192.168.1.100: seq=5 ttl=64 time=0.952 ms
64 bytes from 192.168.1.100: seq=6 ttl=64 time=0.950 ms
^C
--- 192.168.1.100 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 0.808/1.805/7.068 ms
忘大神能解答一下
|