Difference between revisions of "Mesh/Firmware/Generating"

From Sudo Room
Jump to navigation Jump to search
(Created page with "= wlan slovenija = wlan slovenija has a firmware generator tool. Here are some links: *[https://github.com/wlanslovenija/nodewatcher/blob/master/generator/config_generator.p...")
 
Line 5: Line 5:
*[https://github.com/wlanslovenija/nodewatcher/blob/master/generator/config_generator.py config_generator.py: the core code for the generator]
*[https://github.com/wlanslovenija/nodewatcher/blob/master/generator/config_generator.py config_generator.py: the core code for the generator]
*[https://github.com/wlanslovenija/nodewatcher/blob/master/generator/build_image.py build_image.py: the command line tool that uses config_generator.py]
*[https://github.com/wlanslovenija/nodewatcher/blob/master/generator/build_image.py build_image.py: the command line tool that uses config_generator.py]
Some relevant code from config_generator.py:
<pre>
      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)
      os.chdir(path)
      os.system(buildString)
</pre>

Revision as of 09:11, 13 August 2013

wlan slovenija

wlan slovenija has a firmware generator tool. Here are some links:

Some relevant code from config_generator.py:

      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)
      os.chdir(path)
      os.system(buildString)