Mesh/Firmware/Web Admin Development

From Sudo Room
Revision as of 20:06, 10 October 2013 by Maxb (talk | contribs) (→‎Web Admin Development: note to add restart button to web admin)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Web Admin Development

See Firmware Wants for a description of what we're hoping to be able to implement with our web admin page.

The code for the web admin is hosted here:

https://github.com/sudomesh/luci-app-peopleswifi

Luci

Luci is the web admin framework that OpenWrt ships with and seems to be a popular choice among other projects. It is written in Lua, which is a sort of procedural language that's kind of a mix between javascript and ruby (??).

All of the Luci code is contained on the router in /usr/lib/lua/luci

Documentation related to the Luci project can be found at:

Luci Documentation

Its a MVC framework, and files are separated into controller/ model/ and view/

There's a fairly similar package that we can probably take some cues from:

bmx6 Luci Package

-Note: Need to add "restart node" button!


We'll likely need every AP to serve a private WPA encrypted AP even if users have their own home router so that they can config the routers securely.