mzweilin / napt66

Automatically exported from code.google.com/p/napt66
38 stars 12 forks source link

D-Link路由ar71xx平台,能用napt66吗? #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
能自己编译让napt模块支持ar71xx吗?
能的话,怎样编译?谢谢

Original issue reported on code.google.com by happysun...@gmail.com on 23 Jun 2011 at 12:03

GoogleCodeExporter commented 9 years ago
或者说,napt66_bcm63xx.ko对其它的平台也适用??

Original comment by happysun...@gmail.com on 23 Jun 2011 at 12:27

GoogleCodeExporter commented 9 years ago
This issue may help.
http://code.google.com/p/napt66/issues/detail?id=23

Original comment by Mzwei...@gmail.com on 23 Jun 2011 at 1:10

GoogleCodeExporter commented 9 years ago
看不懂,napt66_bcm63xx.ko对其它的平台适用吗??

Original comment by happysun...@gmail.com on 23 Jun 2011 at 1:39

GoogleCodeExporter commented 9 years ago
今天编译了,直接用的napt66_bcm63xx.ko,按照构建集成IPv6 
NAT的OpenWrt固件.pdf编译backfire。第一编译的时候,忘添加了Luci
了,把Lan4口当wan口,没有设置ip(我们学校是ipv4和mac地址绑�
��的),ipv6能用,因为ut里有一个种子正在上传,500KB左右。�
��下来又编译了几个,到最后才编译后一个带Luci的。如果把La
n4口当作wan口,ipv6可以连接,ipv4不能,ping 
192.168.1.1不通,浏览器进192.168.1.1,进不了,把网线插回wan口�
��ipv4能连接,ipv6不能连接。下面是几张截图。
步骤是按照pdf上做的(就在开启wifi那一步,没有make,现在wif
i正常),编译的时候也没有错误。

Original comment by happysun...@gmail.com on 24 Jun 2011 at 7:55

Attachments:

GoogleCodeExporter commented 9 years ago
上面那几张截图是在网线插在wan口的情况下截的。

Original comment by happysun...@gmail.com on 24 Jun 2011 at 7:57

GoogleCodeExporter commented 9 years ago
我在Luci中看到lan口对应是的eth0,wan口对应的是eth1。而在pdf��
�档中,定义了eth1和eth1.1.这冲突吗?

Original comment by happysun...@gmail.com on 24 Jun 2011 at 8:05

GoogleCodeExporter commented 9 years ago
napt66_bcm63xx.ko,很明显是针对bcm63xx平台的,你的ar71xx肯定用��
�了,需要从源码重新编译ar71xx平台的ko。

Original comment by tsl0...@gmail.com on 25 Jun 2011 at 2:57

GoogleCodeExporter commented 9 years ago
编译napt66,错误,跟issue19的情况一样,地址如下:http://code.g
oogle.com/p/napt66/issues/detail?id=19。
不知道怎样编译,官方关于编译napt66的wiki:2. Build the NAPT66 
module and install it.
Download the codes from SourceForge.net or our site napt66.buptcs.cn.

# make

# insmod napt66.ko wan_if=eth0

The 'eth0' is an interface connecting the external IPv6 network (e.g. provided 
by an ISP). Next, set an IPv6 address 'fc00:0101:0101::1' (just like 
'192.168.1.1' in IPv4) on 'eth1', the interface connecting the internal IPv6 
network.

The device can do NAPT66 now but we have to manually edit the IPv6 connection 
on each host. Actually Radvd and Dnsmasq can help us do that.

一make就出错

Original comment by happysun...@gmail.com on 25 Jun 2011 at 11:17