OpenWRT on Netgear WNDR3700, IPv6 edition!
Happy IPv6 day everyone!
Here’s how I went about it:
-
Triple-30 reset your router: with router on, press reset and hold; after 30 secs, pull the plug but keep reset; after 30 secs put back the plug, keep reset; after 30 secs release reset and power cycle.
-
Confirm triple-30 reset: router management page should ask for factory password. If not, retry triple-30 reset.
-
With router off, hold reset and turn on router. Keep reset until power led blinks green (After ~35 secs.)
-
tftp -i 192.168.1.1 PUT openwrt-ar71xx-wndr3700-squashfs-factory.img
-
Do nothing! Wait until the firmware is completely initialized. Check with ping -t 192.168.1.1
-
Access http://192.168.1.1/ (Luci) and change root password under Administration. There’s no default password.
-
Still in Luci, configure your wan interface. Apply & save. Reboot.
-
SSH to root@192.168.1.1
-
sysupgrade http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-wndr3700-squashfs-sysupgrade.bin
-
opkg install kmod-ipv6 radvd ip kmod-ip6tables ip6tables 6to4 kmod-sit
-
vim /etc/config/network
-
Add to end:
-
vim /etc/config/radvd
-
Change interface option ‘ignore’ to 0
-
/etc/init.d/network restart
-
In Luci, add the ‘6rd’ interface to the wan zone
-
In Luci, add the following firewall rule: name 6to4, source wan, protocol 41, target accept. Save.
-
In Luci, make sure radvd starts at startup. Apply & Save. Reboot.