Step1:刷Pandorabox固件。
Step2:使路由器连接上网络,用putty登陆路由器
Step3:在putty里面输入
opkg update && opkg install kmod-ipt-nat6
opkg install iputils-tracepath6
uci set network.globals.ula_prefix="$(uci get network.globals.ula_prefix | sed 's/^./d/')"
uci commit network
uci set dhcp.lan.ra_default='1'
uci commit dhcp
touch /etc/init.d/nat6
vi /etc/init.d/nat6
注:nat6中的内容如下
#!/bin/sh /etc/rc.common
# NAT6 init script for OpenWrt // Depends on package: kmod-ipt-nat6
START=55
# Options
# -------
# Use temporary addresses (IPv6 privacy extensions) for outgoing connections? Yes: 1 / No: 0
PRIVACY=1
# Maximum number of attempts before this script will stop in case no IPv6 route is available
# This limits the execution ti