Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Richard Brown <richard.e.brown@dartware.com>
Cc: "<cerowrt-devel@lists.bufferbloat.net>"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: [Cerowrt-devel] IPv6 doesn't work quite right in 3.3.8-17 as 3.3.8-6
Date: Mon, 20 Aug 2012 11:56:01 +0000	[thread overview]
Message-ID: <AC143875-1FEB-44B6-A9FC-26E67F80809A@intermapper.com> (raw)

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# 



             reply	other threads:[~2012-08-20 11:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 11:56 Richard Brown [this message]
2012-08-20 17:36 ` Dave Taht
2012-08-20 18:01   ` Richard Brown
2012-09-15  0:21   ` [Cerowrt-devel] UPDATE: IPv6 & 3.3.8-21 - working fine Richard Brown
2012-09-15 11:27     ` Sébastien Gaggini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AC143875-1FEB-44B6-A9FC-26E67F80809A@intermapper.com \
    --to=richard.e.brown@dartware.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox