Comments (21)
我已经编译了ar7系列的napt66模块,但是始终无法加载,不知道为什么?提示 invalid module format。使用的是修正后的代码。内核均是2.6.37.6。另外我的trunk版内无法找到radvd的源码,所以无法将其检测抓发的代码进行删除。
我认为其实对于我这种情况可以在构建openwrt固件时仅仅打开linux的转发功能,而不要添加radvd,对radvd和napt66模块可以进行单独交叉编译,然后再加载到内核中,不知这种想法可行否?
我需要你们的帮助。QQ:447491275 contact me!Please!
附:对应linux_2.6.37.6的napt66模块,未进行压缩。
Original comment by [email protected]
on 30 Jun 2011 at 7:52
Attachments:
from napt66.
提示invalid module format可能原因有:
所用内核源码版本号与目前使用的内核不同;
编译目标不同,比如编译的是i686,装好的是i386等。
关于提到linux的转发功能,你可以参考下
http://code.google.com/p/napt66/issues/detail?id=4#c0
Original comment by [email protected]
on 30 Jun 2011 at 9:10
from napt66.
我检查过了,使用的linux源码版本和目前路由器的内核版本是
一致的,均是2.6.37.6
编译目标均是mips架构,但我还是知道为什么会出现invalid
module format.纠结。
Original comment by [email protected]
on 30 Jun 2011 at 2:40
from napt66.
尝试使用过force参数吗?
Original comment by [email protected]
on 30 Jun 2011 at 2:52
from napt66.
尝试过,但依然无法插入到内核。
Original comment by [email protected]
on 30 Jun 2011 at 5:49
from napt66.
我测试了下,新旧内核在x86都能正常插入
所以我觉得提示invalid module
format,问题应该出在编译环节,检查下交叉编译链
Original comment by [email protected]
on 2 Jul 2011 at 8:44
from napt66.
恩。。应该是我交叉编译的时候出了问题,现在我重新编译��
�,就能插入到内核了。
Original comment by [email protected]
on 2 Jul 2011 at 7:44
from napt66.
我试了一下,内核日志中在显示多个get_ipv6_by_name
failed之后可以成功获取到ipv6,显然get_ipv6_by_name failed
succeed.但是我编译的openwrt居然不能再ssh里面ping通ipv6,真是太��
�闷了。。
Original comment by [email protected]
on 3 Jul 2011 at 3:40
from napt66.
问题解决了,是防火墙的问题,但pc不能ping通ipv6,请问能给�
��讲一将napt66的大概工作流程么?谢啦。
Original comment by [email protected]
on 3 Jul 2011 at 7:10
from napt66.
好吧。。我知道大概流程了。。谢了、、
Original comment by [email protected]
on 3 Jul 2011 at 8:51
from napt66.
我的现在还是不能实现ipv6-nat功能,估计是linux内核更新带来�
��其他的变化,我还在调试,估计r18不能应用在linux-2.6.39.2上�
��。具体的数据还在测试。
Original comment by [email protected]
on 3 Jul 2011 at 8:53
from napt66.
检测是否实现NAT,只需要在NAT函数结束前打印数据包中的相��
�地址字段,看是否进行了地址转换。
关于获取IPv6地址的函数,它本身是一个遍历功能,不知道你�
��处的IPv6环境是怎样的?
Original comment by [email protected]
on 4 Jul 2011 at 5:33
from napt66.
ipv4固定,ipv6自动获取,也就是所谓的双栈,本身没有问题,
只是我测试电脑端发出ping6的数据包,路由器可以接到,但模
块显示不能被处理的icmp的,然后就交给下一个hook了。。同样
,ipv6网站也不能上去。。
Original comment by [email protected]
on 4 Jul 2011 at 2:32
from napt66.
已经证实patch是正确的,可以获得正确的ipv6地址,现在可能��
�其他的地方出错,调试中。。
Original comment by [email protected]
on 5 Jul 2011 at 7:04
from napt66.
已经证实nat模块中icmpv6是没有问题的,就是ping6的话丢包太严
重。不知道是为什么。但目前暂时ipv6的网站无法登山。。继�
��调试中。
Original comment by [email protected]
on 5 Jul 2011 at 7:52
from napt66.
已经证实nat模块中可以登录ipv6.google.com,但是暂时无法登录��
�维空间,继续调试中(PS:速度很慢,与CPU没有关系,登录ip
v6的网站速度极其的慢,不知道为什么。。)
Original comment by [email protected]
on 5 Jul 2011 at 7:57
from napt66.
感觉在linux-2.6.39.2中的表现远不如你们发布的固件中的表现,
打开ipv6网站速度极其的慢,(如不使用napt66则本身的速度很�
��),ping6丢包率在50%~~60%左右,不知道如何解决。。请指教��
�
Original comment by [email protected]
on 5 Jul 2011 at 8:24
from napt66.
关于丢包问题,我们以前偶尔也遇到过,具体原因
我在翻一翻以前的文档
Original comment by [email protected]
on 5 Jul 2011 at 5:48
from napt66.
丢包率这么高?!校验和算错了吧!
Original comment by [email protected]
on 5 Jul 2011 at 6:05
from napt66.
原因查明,丢包是校园网络本身的原因,与napt66没有关系,��
�天重新测试了一下,可以正常工作,性能很好。支持六维空�
��的下载。
Original comment by [email protected]
on 6 Jul 2011 at 7:45
from napt66.
为什么在openwrt里的防火墙里经过napt66之后的ipv6数据被被认为
是无效的,默认会被抛弃,这是为什么?
Original comment by [email protected]
on 7 Jul 2011 at 12:18
from napt66.
Related Issues (20)
- 咨询关于web/portal认证 HOT 2
- napt66能不能改用内核自带的连接跟踪表? HOT 1
- 加载napt66.ko,是不是一定要双网卡? HOT 2
- napt66 for tomato.RAF HOT 4
- x86固件做好了,但是很纠结,help! HOT 7
- 编译ar71xx的napt66过程(出错)不知如何解决 HOT 7
- 请问编译出来的模块应该如何缩小体积? HOT 7
- 关于1.1固件访问外网
- 不知道为什么,napt66 1.0没有问题,但是1.1不能连上外网,这是怎么回事 HOT 1
- 300r路由器(ar71xx)下集成napt66的固件,有问题 HOT 4
- can not connect to ipv6 ftp
- redhat as4上编译错误,求解 HOT 1
- centos 6.1 内网无法访问,转发是好的 HOT 1
- 上传一个使用OpenWrt编译环境编译生成napt66安装包文件的Makefile HOT 5
- 路由能ping通ipv6,napt66也在工作,但是下面的电脑还是不行
- 请问关于RG100a的nat66固件外网配置干扰内网主机的问题可以通过修改启动脚本解决吗?
- 请问在 napt66 自动连接ipv6 是否出现 路由能ping ipv6内网电脑ping不通的现象呢? 盼回复 HOT 1
- Errors During Build
- 可以ping通ipv6但是无法上网? HOT 1
- 请问提供的固件中不能使用ipkg? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napt66.