当前时区 GMT+8, 现在时间是 2008-7-4 14:53 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: skyeye网络不通,用testsuite的也不行
nbdxkfq
新手上路
Rank: 1



UID 210197
精华 0
积分 12
帖子 8
阅读权限 10
注册 2006-1-22
状态 离线
发表于 2008-4-17 13:06  资料  短消息  加为好友  QQ
skyeye网络不通,用testsuite的也不行

我自己编译的 内核没有成功,想用用testsuite里面的,什么都没改 ,用的是skyeye是1.2版本的,testsuite是2.3的,
没有运行skyeye -e linux时lsmod状态这样:
[root@nbdxkfq net]# lsmod
Module                  Size  Used by    Tainted: PF
tun                     5696   0  (unused)
parport_pc             19076   1  (autoclean)
lp                      8996   0  (autoclean)
运行skyeye -e linux后变成:
[root@nbdxkfq net]# lsmod
Module                  Size  Used by    Tainted: PF
tun                     5696   3
parport_pc             19076   1  (autoclean)
lp                      8996   0  (autoclean)
然后在skyeye里面的uclinux下用ifconfig显示的信息:
Sash command shell (version 1.1.1)
/> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:03:02:01:0F
          inet addr:10.0.0.2  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING 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:16
没有lo扣出现,不过ip好像是对的
在host下用ifconfig出现的信息:
[root@nbdxkfq net]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:36:62:BE
          inet addr:222.194.13.80  Bcast:222.194.13.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1148 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:660375 (644.8 Kb)  TX bytes:183796 (179.4 Kb)
          Interrupt:10 Base address:0x2024

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:17035 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17035 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1166062 (1.1 Mb)  TX bytes:1166062 (1.1 Mb)

tap0      Link encap:Ethernet  HWaddr 00:FF:58:F3:4A:00
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING 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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
看起来也都对,没什么问题
然后从host往skyeye进行ping时如下(在skyeye起动的时候):
[root@nbdxkfq net]# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
From 10.0.0.1 icmp_seq=2 Destination Host Unreachable
From 10.0.0.1 icmp_seq=3 Destination Host Unreachable
从skyeye往host进行ping时是这样的:
Sash command shell (version 1.1.1)
/> ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
当把skyeye关掉 ,在host端ping 10.0.0.2时能 通:
[root@nbdxkfq net]# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=243 time=275 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=243 time=275 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=243 time=275 ms
怎么回事呢 ?其他的我都没变,包括skyeye.conf
高手告诉我一下啊 ,谢谢

顶部
nbdxkfq
新手上路
Rank: 1



UID 210197
精华 0
积分 12
帖子 8
阅读权限 10
注册 2006-1-22
状态 离线
发表于 2008-4-17 13:08  资料  短消息  加为好友  QQ
#skyeye config file sample
cpu: arm7tdmi

mach: at91

mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R,  addr=0x01400000, size=0x00400000, file=./romfs.img
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
net: type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#dbct: state=on


skyeye.conf如上

顶部
duzhig
新手上路
Rank: 1


UID 179908
精华 0
积分 75
帖子 53
阅读权限 10
注册 2005-1-26
状态 离线
发表于 2008-4-24 21:29  资料  短消息  加为好友 
好像都是ping不通吧,我的skyeye也不能ping不知道为什么

顶部
ksh
高级会员
Rank: 4


UID 92875
精华 1
积分 1464
帖子 769
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
发表于 2008-4-24 23:41  资料  短消息  加为好友  添加 ksh 为MSN好友 通过MSN和 ksh 交谈
s3c23410+ cs8900 , at91 + rtl8019 以及 s3c44b0 + rtl8019测试过,应该都没有问题。

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP