Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上传一个使用OpenWrt编译环境编译生成napt66安装包文件的Makefile #46

Open
GoogleCodeExporter opened this issue May 28, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

上传一个使用OpenWrt编译环境编译生成napt66安装包文件的Makefil
e
使用方法:
将附件中的文件解压到OpenWrt源码目录/package/下,make 
menuconfig到NetWork-Netfilter 
Extensions下找到napt66并选择(M),编译OpenWrt就可以生成kmod-napt66�
��ipk安装包文件了,或者选择(*),直接编译到固件中。

因在此下载的napt66-0.2.tar.gz不是最新的,故做了一个svn最新版
本的patch在patchs目录下,还有napt66的Makefile,也被修改以适应O
penWrt编译,见110-Makefile.patch。

files目录下有个napt66的初始化脚本(隧道方式),会被安装到
/etc/init.d/napt66,请安装后参考里面的注释自行修改以适应自��
�的IPv6网络。
使用方法:
   启动napt66:/etc/init.d/napt66 start
   停止napt66:/etc/init.d/napt66 stop
还可以使用的参数有restart(重启),enable(开机自启动),disab
le(取消开机自启动)

Original issue reported on code.google.com by tsl0...@gmail.com on 14 Mar 2012 at 11:11

Attachments:

@GoogleCodeExporter
Copy link
Author

注意:此Makefile仅仅只是生成安装包文件,方便移植编译napt66
到OpenWrt上。
要想制作可用的napt66固件,还得照着这里给的《构建集成IPv6 
NAT的OpenWrt固件》修改其它的地方。

Original comment by tsl0...@gmail.com on 14 Mar 2012 at 11:19

@GoogleCodeExporter
Copy link
Author

上面有个地方写错了,应该是到Kernel modules-Netfilter 
Extensions下找napt66

Original comment by tsl0...@gmail.com on 14 Mar 2012 at 12:19

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

《构建集成IPv6 NAT的OpenWrt固件》里面说的:
#加载NAPT66 模块,在参数中指明WAN 接口
insmod /root/napt66_bcm63xx.ko wan_if=eth1.1
但是为什么你的脚本里面
insmod /lib/modules/$(uname -r)/napt66.ko wan_if=$dev
后面加的是isatap那个interface的名字?

Original comment by vicharew...@gmail.com on 2 Mar 2013 at 9:36

@GoogleCodeExporter
Copy link
Author

如果你是isatap就是sit1啊什么的,如果你是原生的ipv6就eth0啊��
�么的

Original comment by qq403489...@gmail.com on 2 May 2013 at 5:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant