<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 02/26/2013 12:48 PM, Andrew Reynolds
      wrote:<br>
    </div>
    <blockquote cite="mid:512CF581.7040308@opentechinstitute.org"
      type="cite">
      <pre wrap="">For the most part, yes. Last I looked, I think the service sharing
screen was the only screen that was pure mockup.

</pre>
    </blockquote>
    <br>
    Sadly not any-more. Beyond setting a password the current version
    modifies the quickstart uci file which will be integrated into the
    commotionDaemon config files. As such, yea they work, but working
    means they only modify a config file that is only used by the
    daemon.<br>
    <br>
    s2e <br>
    <br>
    <br>
    <blockquote cite="mid:512CF581.7040308@opentechinstitute.org"
      type="cite">
      <pre wrap="">
On 02/26/2013 12:36 PM, Ben West wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Andrew,

Thanks for following up, and yes, I've been playing around with the
Version02 branch.

I guess I didn't yet get a firm answer on this question, although naturally
I understand everything here is still a moving target:

- In the absence of a working commotiond, can you configure a node fully
via Quickstart, if you simply paste all needed config values into the www
UI?

On Tue, Feb 26, 2013 at 10:06 AM, Andrew Reynolds <
<a class="moz-txt-link-abbreviated" href="mailto:andrew@opentechinstitute.org">andrew@opentechinstitute.org</a>> wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">Ben,

Did you ever get an answer to this?

Both master and Version02 should work for now, since Seamus has not yet
begun hooking it up to commotiond. Use Version02 if you can. It's a
whole different beast than master.

I'm about to redo the quickstart template to improve the language and
take advantage of the new OpenWRT theme.

-andrew

On 02/21/2013 07:43 PM, Ben West wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi Saemus,

Thank you for the detailed response.

I do see the commotionDaemon() function here, and it looks like it is
indeed piping hot (i.e. last changes committed w/in hours).

</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-quick-start/repository/entry/usr/lib/lua/luci/controller/QS/QS.lua?rev=Version02">https://code.commotionwireless.net/projects/commotion-quick-start/repository/entry/usr/lib/lua/luci/controller/QS/QS.lua?rev=Version02</a>
</pre>
          <blockquote type="cite">
            <pre wrap="">
Indeed, I'm glad to see Josh has managed to get himself incorporeally
ported into luci.  That's pretty awesome. ;)

   elseif request == 'I NEED A CONFIG JOSH' then
      return nil
   elseif request == 'engage' then
      --TODO incorporate the final ubus add/select sections here
...

Is the Quickstart presently in either the master or Version02 branch OK
</pre>
          </blockquote>
          <pre wrap="">to
</pre>
          <blockquote type="cite">
            <pre wrap="">run w/o the commotionDaemon component?  I.e. could one just manually
</pre>
          </blockquote>
          <pre wrap="">enter
</pre>
          <blockquote type="cite">
            <pre wrap="">all config via www UI?

Also, do please respond if there is anything I could do to help.

On Thu, Feb 21, 2013 at 4:26 PM, Seamus Tuohy <<a class="moz-txt-link-abbreviated" href="mailto:s2e@opentechinstitute.org">s2e@opentechinstitute.org</a>

wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">Hey Ben,

See in-line comments below.


On 02/21/13 17:02, Ben West wrote:
</pre>
              <blockquote type="cite">
                <pre wrap="">
Hi Seamus,

Thank you for writing such a thorough introduction on Quickstart, and
thanks for all your hard work!

</pre>
              </blockquote>
              <pre wrap="">
Happy to do it. Excited you read it.


</pre>
              <blockquote type="cite">
                <pre wrap="">I'm working to get compile, working versions of Commotion DR1 /
Quickstart on my end for ar71xx, atheros, and x86.  The latter
platform is to permit simulation of nodes under VirtualBox/VMware.

I see these repository URLs for the Quickstart tool:


</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-quick-start/repository">https://code.commotionwireless.net/projects/commotion-quick-start/repository</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">

</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-quick-start/repository/show?rev=Version02">https://code.commotionwireless.net/projects/commotion-quick-start/repository/show?rev=Version02</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">
Likewise this wiki page:
<a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion/wiki/QuickStart">https://code.commotionwireless.net/projects/commotion/wiki/QuickStart</a>

May I pepper you with assorted questions to help started quicker?

1. Does Quickstart depend on a specific revision of OpenWRT 12.09, or
is whatever current revision of Attitude Adjustment so far OK?

</pre>
              </blockquote>
              <pre wrap="">
Quickstart does not depend on a specific revision of OpenWRT. In fact
</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">all
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">development and testing so far has been on a Attitude Adjustment node
</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">that
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">does not run commotion at all. That being said, the current development
version is almost entirely Dependant upon a testing function
"commotionDaemon" for network information and setting configs on the
</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">node,
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">which will eventually rely on the commotion daemon.



</pre>
              <blockquote type="cite">
                <pre wrap="">2. Does Quickstart still have any lingering dependencies on the
commotionbase, luci-commotion, and luci-theme-commotion packages from
the previous iteration of Commotion-OpenWRT?


</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/show/commotionfeed/commotionbase">https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/show/commotionfeed/commotionbase</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">

</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/show/commotionfeed/luci-commotion">https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/show/commotionfeed/luci-commotion</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">

</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/show/commotionfeed/luci-theme-commotion">https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/show/commotionfeed/luci-theme-commotion</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">
</pre>
              </blockquote>
              <pre wrap="">
Not at the moment. We are currently removing its custom css and html in
order to integrate it with the existing openwrt/luci html/css, and we
</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">are
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">encountering a few problems. By the DR1 release we will be including a
Quickstart specific set of css that will hopfully fix those problems and
allow it to be used with any theme.


</pre>
              <blockquote type="cite">
                <pre wrap="">3. Likewise, is this collectd patch still needed?


</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/changes/patches/910-fix-out-of-bounds-index.patch">https://code.commotionwireless.net/projects/commotion-openwrt/repository/revisions/master/changes/patches/910-fix-out-of-bounds-index.patch</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">
</pre>
              </blockquote>
              <pre wrap="">
That is a whole other bag of worms that I don't know much about. Does
</pre>
            </blockquote>
            <pre wrap="">anyone
</pre>
            <blockquote type="cite">
              <pre wrap="">at Commotion HQ have any info on where collectD sits these days?


</pre>
              <blockquote type="cite">
                <pre wrap="">4. Is Quickstart intended to completely replace the meshconfig tool
from the commotionbase package?
</pre>
              </blockquote>
              <pre wrap="">

Quickstart is going to act as a new-user front end for the commotion
</pre>
            </blockquote>
            <pre wrap="">daemon.
</pre>
            <blockquote type="cite">
              <pre wrap="">So, I will contort this question for Josh, even though I beleive the
</pre>
            </blockquote>
            <pre wrap="">answer
</pre>
            <blockquote type="cite">
              <pre wrap="">will be yes. Josh, is "the commotion daemon" intended to completely
</pre>
            </blockquote>
            <pre wrap="">replace
</pre>
            <blockquote type="cite">
              <pre wrap="">the meshconfig tool from the commotionbase package?


</pre>
              <blockquote type="cite">
                <pre wrap="">
5. Does Quickstart have any integration with the luci-splash package,
</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">yet?
</pre>
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">
</pre>
              </blockquote>
              <pre wrap="">
I have a patch that I have yet to push to the repository which alters
luci-splash to check for if quickstart has been set to "complete" and
</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">send
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">the user to quickstart instead of the splash page on first boot. I have
</pre>
            </blockquote>
            <pre wrap="">yet
</pre>
            <blockquote type="cite">
              <pre wrap="">to make a patch that can be integrated into the package yet.


</pre>
              <blockquote type="cite">
                <pre wrap="">6. Finally, is the Version02 branch of Quickstart missing a Makefile?


</pre>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://code.commotionwireless.net/projects/commotion-quick-start/repository/show?rev=Version02">https://code.commotionwireless.net/projects/commotion-quick-start/repository/show?rev=Version02</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">
</pre>
              </blockquote>
              <pre wrap="">
It is missing a makefile. The makefile we were using in main should be
</pre>
            </blockquote>
            <pre wrap="">able
</pre>
            <blockquote type="cite">
              <pre wrap="">to be ported over since it merely copies all the files to the root
</pre>
            </blockquote>
            <pre wrap="">directory
</pre>
            <blockquote type="cite">
              <pre wrap="">and follows the path to their destinations. Andrew, I know you were
</pre>
            </blockquote>
            <pre wrap="">working
</pre>
            <blockquote type="cite">
              <pre wrap="">on that makefile. Is the current version in the main branch?

Finally,

The quickstart path is just finishing up review with our field team and
</pre>
            </blockquote>
            <pre wrap="">will
</pre>
            <blockquote type="cite">
              <pre wrap="">be redone based off of their critique and testing next week. At the end
</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">of
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">that week, and the following week I will be working on documenting how
communities and developers can make their own custom quickstart paths
</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">and
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">functions.


s2e


</pre>
              <blockquote type="cite">
                <pre wrap="">On Wed, Jan 23, 2013 at 10:24 AM, Seamus Tuohy
<a class="moz-txt-link-rfc2396E" href="mailto:s2e@opentechinstitute.org"><s2e@opentechinstitute.org></a> wrote:
</pre>
                <blockquote type="cite">
                  <pre wrap="">
Hello All,

A quick update on the quickstart interface I am putting together for
developer-release one. The quickstart is a "on first boot" interface
that walks a user through customizing a node. This is intended to make
the initial setup of a node trivial for a new user. The current
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">version
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">is missing the "one-button" setup. This should be added by the start
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">of
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">next week.

Version 001 of this quickstart was a "mostly" functional luci
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">interface
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">which set the various configuration files on the node. Version 002
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">(the
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">current branch) only configures a nodeConf uci file which the upcoming
commotion daemon will use to configure the node at the conclusion of
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">the
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">quickstart. As such, the current version will spend of its time
customizing uci files and making ubus calls to the commotion daemon to
fetch data.

You can find the controlling code at

</pre>
                </blockquote>
              </blockquote>
            </blockquote>
            <pre wrap="">
</pre>
          </blockquote>
          <pre wrap=""><a class="moz-txt-link-freetext" href="https://github.com/opentechinstitute/commotion-quick-start/tree/Version02">https://github.com/opentechinstitute/commotion-quick-start/tree/Version02</a>
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">.
If you want to run it you will have to also grab the www directory
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">from
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">the main branch at
<a class="moz-txt-link-freetext" href="https://github.com/opentechinstitute/commotion-quick-start">https://github.com/opentechinstitute/commotion-quick-start</a> which
contains the icons, etc.

To put it on a router you simply copy the www folder into the main
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">repo
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">directory (I will update the repo later today to include this) and
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">then
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">scp it over to the routers root directory recursively. Once you have
done this you can go to IPADDRESS/cgi-bin/luci/QuickStart to start the
quickstart.

The whole quickstart configuration can be found in
/etc/config/quickstart. This contains one "quickstart" section titled
"options" and multiple "page" sections. "options" holds the current
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">and
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">last pages as well as a variable that controls weather the Quickstart
page is accessible. We disable it after completion because it allows
non-admin users to manipulate root level controls. A "page" contains
title that is either a number (this is how the controller iterates
through the quickstart) or a title that represents a side page.

Each page has set of title information for its display. The page also
contains a "buttonText" item that specifies the text to be placed on
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">any
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">button that links to it in the quickstart. A "page" can contain up to
two lists. The first list is modules. This list pulls content to
populate the main section. In our quickstart I have separated most
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">pages
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">to include only one content section. There is nothing to stop someone
from customizing a page that holds multiple content items. Modules
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">call
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">a <modulename>Renderer function in the controller when the page is
initially rendered, and a <modulename>Parser function when data from a
page is submitted. This means that if you want your own module you
simple add it to a page and create a renderer and a parser function.
Renderer's send initial variables to the page and parsers process user
input and send back errors that possible occur in the page.They stack
quite well. Lastly a "page" can contain a button list. Buttons call
<buttonname>Button functions when pressed that load up side pages.
noBack and noNext buttons remove the auto-generated last and next
buttons to allow for specialized pages.

Lastly, when you get to the "this node will reset page" on version two
you will have to refresh your browser, as I have removed the actual
reset functionality from the quickstart to give more control to the
daemon. Refreshing the router here will take you to the next page.

We still have a ways to go on "prettifying" the quickstart and
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">updating
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">the language, and I have yet to implement the ubus calls or to upload
the patches I have made to take over the captive portal. But, please
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">let
</pre>
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">me know any feedback you may have. I will send the updated ux map and
language when it finishes our current round of feedback.


Thanks
s2e



_______________________________________________
Commotion-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a>
<a class="moz-txt-link-freetext" href="https://lists.chambana.net/mailman/listinfo/commotion-dev">https://lists.chambana.net/mailman/listinfo/commotion-dev</a>

</pre>
                </blockquote>
                <pre wrap="">


</pre>
              </blockquote>
              <pre wrap="">
</pre>
            </blockquote>
            <pre wrap="">


_______________________________________________
Commotion-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a>
<a class="moz-txt-link-freetext" href="https://lists.chambana.net/mailman/listinfo/commotion-dev">https://lists.chambana.net/mailman/listinfo/commotion-dev</a>

</pre>
          </blockquote>
          <pre wrap="">


_______________________________________________
Commotion-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a>
<a class="moz-txt-link-freetext" href="https://lists.chambana.net/mailman/listinfo/commotion-dev">https://lists.chambana.net/mailman/listinfo/commotion-dev</a>


</pre>
        </blockquote>
        <pre wrap="">

</pre>
      </blockquote>
      <pre wrap="">

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Commotion-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a>
<a class="moz-txt-link-freetext" href="https://lists.chambana.net/mailman/listinfo/commotion-dev">https://lists.chambana.net/mailman/listinfo/commotion-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>