From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.etorok.net (mail.etorok.net [IPv6:2a01:4f8:160:1223::beef:2]) by huchra.bufferbloat.net (Postfix) with ESMTP id 8F10221F190 for ; Sun, 27 Jan 2013 00:46:31 -0800 (PST) Received: from [IPv6:2a02:2f02:1022:a2eb:192a:a377:7a78:4cc7] (unknown [IPv6:2a02:2f02:1022:a2eb:192a:a377:7a78:4cc7]) by mail.etorok.net (Postfix) with ESMTPSA id DCCF446B5; Sun, 27 Jan 2013 09:46:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=etorok.net; s=MAILOUT; t=1359276390; bh=DD3g5BktBAMxQl1T7a6eRcCzL/WcbqHHglTd8mp4oDU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=sdWbViZPRjHeII02prONzoeZK1mh49/Us604hO1Vh+msqKyGMWNSv6N79TjPwsMcO AyTqheJLX9jH52PxOlChjLmb48PEKMmmEw6ZGpJywGY/W3wzPDQPODVGVJnl2YreMv 1ydUVn53K6aOyAwmV0yEBD2HX5mlLwRTcyFc0nok= Message-ID: <5104E965.8030003@etorok.net> Date: Sun, 27 Jan 2013 10:46:29 +0200 From: =?windows-1252?Q?T=F6r=F6k_Edwin?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: "Richard E. Brown" References: <54532012A5393D4E8F57704A4D55237E42B20614@CH1PRD0510MB381.namprd05.prod.outlook.com> <510471bf.4a63b40a.4aa1.67a7@mx.google.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.97.6 at mail X-Virus-Status: Clean Cc: 'Richard Brown' , cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] Got DHCPv6 working in CeroWrt 3.7.x over HE.net tunnel X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 08:46:31 -0000 On 01/27/2013 06:17 AM, Richard E. Brown wrote: > Thanks to Dave Täht and Robert Bradley for the pointers to making CeroWrt 3.7.x hand out IPv6 addresses to LAN devices. (This has been tested with 3.7.4-2.) The process is indeed a few simple steps: > > 1) remove dnsmasq & dnsmasq-dhcpv6, then install again (see Dave Täht's note below) > 2) Add config to /etc/dnsmasq.conf to hand out DHCPv6 addresses (as suggested by Robert Bradley) Yep, that sounds like what I've done too. > 3) Tweak the firewall to put henet 6in4 tunnel into WAN zone > 3) Bring up henet and restart network, firewall, dnsmasq Not related to ipv6, but if you want a ntp server for your LAN you have to do this: # opkg remove luci-app-ntpc # opkg remove ntpclient # killall ntpclient # uci set system.ntp.enable_server 1 # uci commit system # /etc/init.d/sysntpd restart Otherwise sysntpd will fail to start because ntpclient has already bound the ntp port. According to http://wiki.openwrt.org/doc/uci/system busybox ntpd can act both as a client&server so I think that ntpclient is unnecessary. > > There's a fully-functional script at: http://www.bufferbloat.net/attachments/download/165/tunnelbroker.sh that does this. (You'll have to substitute your own credentials there…) Save the script as a > file in /tmp and execute it - it does all the configuration for you. Just one note regarding this comment in your script: # Append proper configuration commands to /etc/dnsmasq.conf # This is the proper configuration file: you can ignore both # /etc/config/dhcp and /var/etc/dnsmasq.conf as they seem not to have any effect /var/etc/dnsmasq.conf is overwritten when you '/etc/init.d/dnsmasq restart', thats why it seems to not have an effect. BTW initially I was doing this: # /etc/init.d/dnsmasq stop # vi /var/etc/dnsmasq.conf # /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -d .... ^C # vi /var/etc/dnsmasq.conf # /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -d .... But after reinstalling dnsmasq-dhcpv6 I realized that just modifying /etc/dnsmasq.conf and restarting dnsmasq worked too (presumably due to this entry in /var/etc/dnsmasq.conf: conf-file=/etc/dnsmasq.conf). Best regards, --Edwin