潘多拉固件设置ipv6_(转)pandorabox固件+PPPOE拨号+IPV6

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

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值