Re: [homenet] How many people have installed the homenet code?

Tim Coote <tim+ietf.org@coote.org> Thu, 21 April 2016 12:24 UTC

Return-Path: <tim+ietf.org@coote.org>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8053012DD9D for <homenet@ietfa.amsl.com>; Thu, 21 Apr 2016 05:24:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, URIBL_DBL_ABUSE_REDIR=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24EfCFG61Gt8 for <homenet@ietfa.amsl.com>; Thu, 21 Apr 2016 05:24:36 -0700 (PDT)
Received: from mercury.coote.org (575185b4.skybroadband.com [87.81.133.180]) by ietfa.amsl.com (Postfix) with ESMTP id 64CB212DAA7 for <homenet@ietf.org>; Thu, 21 Apr 2016 05:24:36 -0700 (PDT)
Received: by mercury.coote.org (Postfix, from userid 1000) id 5A81016C1297; Thu, 21 Apr 2016 13:24:34 +0100 (BST)
X-Original-To: homenet@ietf.org
Received: from [127.0.0.1] (localhost [IPv6:::1]) by mercury.coote.org (Postfix) with ESMTP id C581916C1228 for <homenet@ietf.org>; Thu, 21 Apr 2016 13:24:33 +0100 (BST)
From: Tim Coote <tim+ietf.org@coote.org>
Content-Type: multipart/alternative; boundary="Apple-Mail=_1B66EA19-41A6-4769-BAA7-A43266636D94"
Message-Id: <6E709688-414A-4AFB-AEAE-56BAE0469583@coote.org>
Date: Thu, 21 Apr 2016 13:24:33 +0100
To: homenet@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
X-Mailer: Apple Mail (2.2104)
X-Spambayes-Classification: ham; 0.00
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/2-MEbHJ7ePOKwk3WwlpaTVoCbWc>
Subject: Re: [homenet] How many people have installed the homenet code?
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 12:24:38 -0000

Hullo

Sorry, this is a bit of a granular question, and this may not be the right place for it - I’m relying on the value of running code to the group ;-) . My background is s/w engineering, rather than networking, so I could well have made some fundamentally poor assumptions.

There was a discussion back in Oct 2015 about running hnetd (I presume) on mainstream linux distros (http://bit.ly/1XKc3Oi <http://bit.ly/1XKc3Oi>). Henning Rogge raised the question and Markus Stenberg responded that it had been tried on Debian 7. The discussion also referred to building hnetd on OpenWRT (http://bit.ly/1VDSg5P <http://bit.ly/1VDSg5P>) and (http://bit.ly/1VDSs4Q <http://bit.ly/1VDSs4Q>) based on using a larger distro and shncpd for a subset of the homenet protocols. The hnetd repo implies that it can be made to work with generic linux router firmware, which I took to mean any linux distro.

I think that this is an important issue, based on my experience of trying to build home automation products in the IoT space. Environments without carefully engineered networks can behave in unexpected ways, even with small numbers of end devices and realistic deployments will require significant software instrumentation and the ability to change the instrumentation to understand what is going. So, I believe, you need a full fat distro for such environments that’s responsible, say, for handling 6LowPAN devices, abstraction of such devices for use by other services, and managing their lifecycles.

So I tried to spin hnetd up on a fedora vm, and found it fighting the distro set-up. Maybe the implementation isn’t supposed to co-exist with other network controlling software on the same computer. What’s my best approach to getting the homenet protocols running as a proof of concept? I cannot find a ‘top down’ view of how the different components fit together - the descriptions seem to assume a depth of knowledge of openwrt that I don’t have.

tia
Tim