#!/bin/sh export DATE="16.10.2010";SCRIPT=${0#/rom} export TITLE="Admin: IPv6" . ${SCRIPT%/*}/cgi-bin-pre.sh cat<Admin: IPv6 EOF case $REQUEST_METHOD in POST) read QUERY_STRING ;;esac case $QUERY_STRING in "");;*) IFS=\&;set $QUERY_STRING;unset IFS;eval $* ;;esac case $QUERY_STRING in "") #Speedups ff_wan6to4="$(nvram get ff_wan6to4)" ff_ip6_6to4="$(nvram get ff_ip6_6to4)" ff_ip6lan66="$(nvram get ff_ip6lan66)" cat<
IPv6 Prefix:
IPv6 DNS:
IPv6 MACs:
6to4 via WAN: Enable  Disable
6to4 WAN Input: Enable  Disable
MAP66 on LAN: Enable  Disable
 
   

Note1: If you have your own IPv4 Interet access (e.g. via a PPPoE modem), you can use IPv6 yourself and also offer IPv6 for the OLSR network. Currently, this is supported only if the WAN interface uses a globally unique IPv4 address. Configuring a 6to4 tunnel with a private IPv4 address behind a NAT router is not supported currently.

Note2: A PC connected via the LAN interface can also communicate with the IPv6 Internet. For this, you need to add the MAC address of the PC to the IPv6 MACs setting. By using the MAC address, the IPv6 address of the PC is deviated which is then announced with HNA6 in the OLSR network. The IPv6 address is also communicated to the PC by using the "Neighbour Discovery Protocol" (radvd).

Warning: With this, the PC can be contacted via IPv6 from the outside. An IPv6 firewall is (currently) not implemented on this router.

The following list has some configuration tips for connected PCs.

Linux
The IPv6 protocol is normally already installed. Using random IPv6 addresses is typically inactive. Otherwise, deactivate the IPv6 privacy extensions with sudo sysctl -w net.ipv6.conf.all.use_tempaddr=0. Also, a program for configuring the DNS server via RDNSS is missing. You can activate this with sudo apt-get install rdnssd.
Windows XP
The IPv6 protocol is normally not installed. Depending on the service pack version, you can add the protocol via the interface configuration. In all cases, the installation should be possible with an administrative command shell: netsh interface ipv6 install. Installing IPv6 fails in many cases. The following command may fix this: esentutl /r %windir%\security\Database\secedit.sdb. Using random IPv6 addresses is typically activated. You need to disable the IPv6 privacy extensions with netsh int ipv6 set privacy state=disabled.
Windows Vista/7
The IPv6 protocol is normally installed and using random IPv6 addresses is also active. You need to disable the IPv6 privacy extensions with netsh int ipv6 set privacy state=disabled and netsh interface ipv6 set global randomizeidentifiers=disabled.
EOF ;;*) IFS=\&;set $QUERY_STRING;unset IFS;eval $* DIRTY= case $post_ipv6 in "");;*) ff_ip6macs=$(echo $ff_ip6macs|sed 's/%0[aA]/;/g;s/%0[dD]//g') for V in ff_ip6dns ff_ip6pfix ff_ip6macs ff_wan6to4 ff_ip6_6to4 ff_ip6lan66; do eval "C=\$$V" C=$(unescape $C) case $(nvram get $V) in $C);;*) DIRTY=1 nvram set $V="$C" ;;esac done ;;esac case $DIRTY in "") cat< No settings are changed. EOF ;;*) nvram commit>/dev/null 2>&1 cat< The changed settings are committed. The settings are active after the next Restart. EOF ;;esac ;;esac . ${SCRIPT%/*}/cgi-bin-post.sh