I can't make IPv6 work in 3.3.8-17 using the same procedure as worked in
3.3.8-6. I am using the procedure and script listed in:
http://www.bufferbloat.net/projects/cerowrt/wiki/IPv6_Tunnel
With 3.3.8-6, IPv6 starts right up and my MacBook can get an IPv6 address right
away. Using 3.3.8-17, there is an error when running the script (see below),
and after the restart, my MacBook won't get an IPv6 address. Notes:
a) the router itself has a v6 address, and can connect to v6-only
resources (e.g., ping ipv6.google.com works)
b) Immediately after running the script (and before rebooting
3.3.8-17), the MacBook may have received an IPv6 address
What other information could I provide to debug this? Thanks.
Rich Brown
Hanover, NH USA
================================
LISTING #1 - using 3.3.8-6
root@OpenWrt:/tmp# sh tunnel.sh
Downloading
http://huchra.bufferbloat.net/~cero1/3.3/3.3.8-6/packages/Packages.gz.
Inflating http://huchra.bufferbloat.net/~cero1/3.3/3.3.8-6/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/snapshots.
Package 6in4 (11-1) installed in root is up to date.
Setting up HE.net tunnel
Setting IPv6 addresses on local interfaces
Restarting network...
Configuration file: /var/run/hostapd-phy0.conf
Using interface sw00 with hwaddr c4:3d:c7:9d:e3:9a and ssid 'CEROwrt'
Using interface gw00 with hwaddr c6:3d:c7:9d:e3:9b and ssid 'CEROwrt-guest'
Configuration file: /var/run/hostapd-phy1.conf
Using interface sw10 with hwaddr c4:3d:c7:9d:e3:9c and ssid 'CEROwrt5'
Using interface gw10 with hwaddr c6:3d:c7:9d:e3:9d and ssid 'CEROwrt-guest5'
Restarting firewall...
Loading defaults
Loading synflood protection
Adding custom chains
Loading zones
Loading forwardings
Loading rules
Loading redirects
Loading includes
Loading interfaces
Done. You should restart the router now to make these take effect.
================================
LISTING #2 - Using 3.3.8-17.
The same script gives an error message in 3.3.8-17. I ran the steps manually to
see if I got the same behavior, and I do. The error happens after restarting
the network, and the message is: command failed: Device or resource busy (-16)
See below transcript.
root@OpenWrt:/tmp# opkg update
Downloading
http://huchra.bufferbloat.net/~cero1/3.3/3.3.8-17/packages/Packages.gz.
Inflating
http://huchra.bufferbloat.net/~cero1/3.3/3.3.8-17/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/snapshots.
root@OpenWrt:/tmp# opkg install 6in4
Package 6in4 (11-1) installed in root is up to date.
root@OpenWrt:/tmp# uci set network.henet=interface
root@OpenWrt:/tmp# uci set network.henet.proto=6in4
root@OpenWrt:/tmp# uci set network.henet.peeraddr=209.51.161.14
root@OpenWrt:/tmp# uci set network.henet.ip6addr='2001:470:1f06:64::2/64'
root@OpenWrt:/tmp# uci set network.henet.tunnelid=xxxxxx
root@OpenWrt:/tmp# uci set network.henet.username=xxxxxx
root@OpenWrt:/tmp# uci set network.henet.password='xxxxxx'
root@OpenWrt:/tmp# uci set network.se00.ip6addr='2001:470:8a63:100::1/64' #
secure wired
root@OpenWrt:/tmp# uci set network.sw10.ip6addr='2001:470:8a63:200::1/64' #
secure wireless 5GHz
root@OpenWrt:/tmp# uci set network.sw00.ip6addr='2001:470:8a63:300::1/64' #
secure wireless 2.4GHz
root@OpenWrt:/tmp# uci set network.gw00.ip6addr='2001:470:8a63:400::1/64' #
guest wireless 2.4GHz
root@OpenWrt:/tmp# uci set network.gw10.ip6addr='2001:470:8a63:500::1/64' #
guest wireless 5GHz
root@OpenWrt:/tmp# uci commit network
root@OpenWrt:/tmp# /etc/init.d/network restart
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
Using interface sw00 with hwaddr c4:3d:c7:9d:e3:9a and ssid 'CEROwrt'
Using interface gw00 with hwaddr c6:3d:c7:9d:e3:9b and ssid 'CEROwrt-guest'
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy1.conf
Using interface sw10 with hwaddr c4:3d:c7:9d:e3:9c and ssid 'CEROwrt5'
Using interface gw10 with hwaddr c6:3d:c7:9d:e3:9d and ssid 'CEROwrt-guest5'
root@OpenWrt:/tmp# /etc/init.d/network restart
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
Using interface sw00 with hwaddr c4:3d:c7:9d:e3:9a and ssid 'CEROwrt'
Using interface gw00 with hwaddr c6:3d:c7:9d:e3:9b and ssid 'CEROwrt-guest'
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy1.conf
Using interface sw10 with hwaddr c4:3d:c7:9d:e3:9c and ssid 'CEROwrt5'
Using interface gw10 with hwaddr c6:3d:c7:9d:e3:9d and ssid 'CEROwrt-guest5'
root@OpenWrt:/tmp# uci set firewall.@zone[0].network='ge00 henet'
root@OpenWrt:/tmp# uci commit firewall
root@OpenWrt:/tmp# ifup henet
root@OpenWrt:/tmp# /etc/init.d/firewall restart
Loading defaults
Loading synflood protection
Adding custom chains
Loading zones
Loading forwardings
Loading rules
Loading redirects
Loading includes
Loading interfaces
root@OpenWrt:/tmp#
_______________________________________________
Cerowrt-devel mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cerowrt-devel