It fails when setting up the he-ipv6 interface with:
Code:
# The following commands are straight from HE's website
ip tunnel add he-ipv6 mode sit remote $SERVER_IP4_ADDR local $WANIP ttl 255
ip link set he-ipv6 up
ip addr add $CLIENT_IPV6_ADDR/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
TEMP_ADDR=`echo $ROUTED_64_ADDR'1'`
Quote:
ioctl: No such device
SIOCGIFFLAGS: No such device
Cannot find device "he-ipv6"
RTNETLINK answers: File exists
Cannot find device "he-ipv6"
Not quite sure why, ipv6 module appears to be loaded:
This has been fixed in SVN, its simply the case of the ip_tunnel module not being loaded on boot, which is a dependency of the sit module, as BrainSlayer highlighted to me. The temp fix for now is to manually load these modules, you can put the following in your startup script, before you initalise any IPv6 tunnel script:
Code:
insmod ip_tunnel
insmod sit
The next build will automatically load the ip_tunnel module, which will fix this problem.