Difference between revisions of "Mesh/Firmware/Generating"

Line 15: Line 15:
*node-conf-client: lua client for accepting configs and answering config queries from a configuraion server.
*node-conf-client: lua client for accepting configs and answering config queries from a configuraion server.


= wlan slovenija =
= Node Attributes =


wlan slovenija has a firmware generator tool. Here are some links:
The following attributes are required of the Build Server at image build time:


*[https://github.com/wlanslovenija/nodewatcher/blob/master/generator/config_generator.py config_generator.py: the core code for the generator]
*Hardware model
*[https://github.com/wlanslovenija/nodewatcher/blob/master/generator/build_image.py build_image.py: the command line tool that uses config_generator.py]
*Firmware version


Some relevant code from config_generator.py:
The following attributes are required of the Configuration Server for initial configuration:


<pre>
*SSH host RSA keypair
      buildString = 'make image FILES="../files" PROFILE="%s" PACKAGES="policy-routing olsrd uhttpd tc nodewatcher-core nodewatcher-clients ntpclient hostapd -ppp -ppp-mod-pppoe -wpad-mini kmod-l2tp kmod-l2tp-ip kmod-l2tp-eth tunneldigger wireless-tools qos-scripts %s"' % (profile_map[self.portLayout], pkgs)
*SSH host DSA keypair (optional?)
      os.chdir(path)
*SSH host ECDSA keypair (optional?)
      os.system(buildString)
*SSH keys allowed root access for debugging
</pre>


The whole ''nodewatcher'' system is in fact a web interface to the image generator (this is how it all started, historically, as a web interface + IP allocation, and then we added network monitoring, node telemetry and so on).
The following attributes are required of the Node Op for initial configuration through the Configuration Server:


*[http://nodes.wlan-si.net/ live version]
*Geographic address
*Node Op name
*Node Op email address
*Node Op phone number


= freifunk =
= freifunk =
Anonymous user