Difference between revisions of "Mesh/Firmware/Generating"
Jump to navigation
Jump to search
Mesh/Firmware/Generating (view source)
Revision as of 22:06, 24 October 2013
, 22:06, 24 October 2013→freifunk
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
* python SSL socket server for configuring nodes over secure socket. | * python SSL socket server for configuring nodes over secure socket. | ||
* python web server as a UI to the SSL configuration server. | * python web server as a UI to the SSL configuration server. | ||
** SSL libraries on the client (node) are often big. BusyBox wget does not support SSL for example. In wlan slovenija we were thinking of using SSH/SCP instead. [[User:Mitar|Mitar]] ([[User talk:Mitar|talk]]) 06:09, 17 October 2013 (PDT) | |||
Node: | Node: | ||
Line 36: | Line 35: | ||
*Node Op email address | *Node Op email address | ||
*Node Op phone number | *Node Op phone number | ||
= freifunk = | = freifunk = | ||
Line 76: | Line 56: | ||
After looking at the code, I am not inclined to use it. Lots of freifunk-specific stuff. Few comments. In the end, all it does that we really care about is take a few values from the web app, write some config files for openwrt and run "make image" with some parameters. It does have a system for queuing builds, which is nice. Honestly, I think we're going to be better off making our own system | After looking at the code, I am not inclined to use it. Lots of freifunk-specific stuff. Few comments. In the end, all it does that we really care about is take a few values from the web app, write some config files for openwrt and run "make image" with some parameters. It does have a system for queuing builds, which is nice. Honestly, I think we're going to be better off making our own system | ||
= SQLite = | |||
SQL Script for meshnode database: | |||
<pre> | |||
BEGIN TRANSACTION; | |||
CREATE TABLE node (model TEXT, version TEXT, id TEXT, rsakeypair TEXT, dsakeypair TEXT, ecdsakeypair TEXT, rootkeypair TEXT, geoloc TEXT, opname TEXT, opemail TEXT, opphone TEXT); | |||
INSERT INTO node VALUES('Ubiquity','PICO2-H EU','5f80ce728aa2032a55e6f86bb3d0dd7b154c5c39','-----BEGIN PUBLIC KEY----- | |||
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtBqXujQ9kefbhpS2sLgu3G6bw | |||
iwUySFTd10+8X3cVx2OkZnRqqWCRMyjfMhMfRl7duBxcaDb0Q5MhqjsYO7W1y3V+ | |||
Rqu2xn9+HdAYl2EGXD4jwzSiGgMCvtB0vogI+wQVYHVi6X60pu6rfyNWI/4LfVeD | |||
HAMgIU/cBt7SQ1ESUwIDAQAB | |||
-----END PUBLIC KEY-----','cc:50:d4:85:86:56:b8:8a:77:57:61:51:63:89:46:09','045894609CCECF9A92533F630DE713A958E96C97CCB8F5ABB5A688A238DEED6DC2D9D0C94EBFB7D526BA6A61764175B99CB6011E2047F9F067293F57F5','-----BEGIN PUBLIC KEY----- | |||
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANBUpUcWbR5e8EX5BCdz3pz4D7Xbq5cJ | |||
6zY9rq94lXoZ2vOijwkAcwrCFzdXDXWETw9/KdO7m6xJa0Yebu7W9zUCAwEAAQ== | |||
-----END PUBLIC KEY-----','37.810869,-122.267554','Chris Jefferies','operator@gmail.com','510.444.5555'); | |||
CREATE UNIQUE INDEX id ON node(id ASC); | |||
COMMIT; | |||
</pre> | |||
SQLite database definition: | |||
<pre> | |||
SQLite format 3���@ ���� | |||
��:�:ÅC������Çitablenodenode�CREATE TABLE node (model TEXT, version TEXT, id TEXT, rsakeypair TEXT, dsakeypair TEXT, ecdsakeypair TEXT, rootkeypair TEXT, geoloc TEXT, opname TEXT, opemail TEXT, opphone ) | |||
� | |||
</pre> |