Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Richard Brown <richard.e.brown@dartware.com>
Cc: jow@openwrt.org,
	"<cerowrt-devel@lists.bufferbloat.net>"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] IPv6 doesn't work quite right in 3.3.8-17 as 3.3.8-6
Date: Mon, 20 Aug 2012 10:36:19 -0700	[thread overview]
Message-ID: <CAA93jw5ooOjTVXknOjtfoaaA=Qp_Y_-+_nMqK=xxy7tUepfXsw@mail.gmail.com> (raw)
In-Reply-To: <AC143875-1FEB-44B6-A9FC-26E67F80809A@intermapper.com>

It was my hope that the script would be unnecessary in this release,
that you'd be able to do a "adv_subnet" like in 6to4 and be in
business.

option 'adv_subnet' '1'
list 'adv_interface' 'se00'
list 'adv_interface' 'sw00'
etc

I'm not in a position to test hurricane from where I am right now.


On Mon, Aug 20, 2012 at 4:56 AM, Richard Brown
<richard.e.brown@dartware.com> wrote:
> 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
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel



-- 
Dave Täht
http://www.bufferbloat.net/projects/cerowrt/wiki - "3.3.8-17 is out
with fq_codel!"

  reply	other threads:[~2012-08-20 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 11:56 Richard Brown
2012-08-20 17:36 ` Dave Taht [this message]
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='CAA93jw5ooOjTVXknOjtfoaaA=Qp_Y_-+_nMqK=xxy7tUepfXsw@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=jow@openwrt.org \
    --cc=richard.e.brown@dartware.com \
    /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