Skip to content
Snippets Groups Projects
  1. Mar 02, 2015
  2. Feb 21, 2015
    • Stefan Laudemann's avatar
      Makes Makefile use the $(CP) makro instead of $(INSTALL_BIN) for "library"-functions shell scripts. · d849dd8d
      Stefan Laudemann authored
      
      As '/lib/netifd/hostapd.sh' and '/lib/wifi/mac80211.sh' should never be
      called directly (but only be included from other files like '/lib/netifd/
      wireless/mac80211.sh', these files do not need to have an execute bit
      set, which on the other hand would be ensured by using the
      $(INSTALL_BIN) macro in the make file. The $(CP) macro would simply copy
      the files from the package into the image and preserve their
      permissions.
      
      Signed-off-by: default avatarStefan Laudemann <thisco@webcake.de>
      d849dd8d
    • Stefan Laudemann's avatar
      Adds security quick-fix to avoid an open 'OpenWrt' WLAN after an update. · 81eaf78a
      Stefan Laudemann authored
      
      For an so far unknown reason one of the nodes in the testing stream had
      an additional open WLAN called 'OpenWrt' after updating from v0.5.3 to
      v0.6.0~rc2. It has to be mentioned, though, that this node used a
      heavily customized network configuration prior to the update to fullfil
      some very specific needs.
      
      It should however be avoided that a new network suddenly appears after
      applying an update in any case. As a cause for this, the mac80211.sh
      located in '/lib/wifi/' has been identified, which scans for unknown
      PHYs when executed and adds them along with such an example network to
      '/etc/config/wireless'. For a pure OpenWRT router this behaviour is not
      that much a problem, as the radio itself gets deactivated by adding an
      "option disabled '1'" that must be removed manually by a user. In comb-
      ination with Gluon this becomes critical, as the gluon-mesh-batman-adv-
      core package would enable the radio automatically, such that a node can
      connect to other Freifunk nodes over WiFi. Generally, a network
      'OpenWrt' should not exist anymore in '/etc/config/wireless' by that
      time. The reason for which in the case mentioned above there was such
      an entry is still unknown.
      
      In order to exclude such a security risk, for now we provide a modified
      copy of '/lib/wifi/mac802111.sh' with this packages, in which the
      corresponding lines to add a default/example network 'OpenWrt' have been
      removed compeletely. This modified version of the script replaces the
      original script at build-time.
      
      Signed-off-by: default avatarStefan Laudemann <thisco@webcake.de>
      81eaf78a
  3. Feb 20, 2015
  4. Feb 12, 2015
  5. Feb 03, 2015
    • Stefan Laudemann's avatar
      Renames wr1043ndv2-2-stable package for a broader use. · 2850a783
      Stefan Laudemann authored
      The package by now was rather aimed to target on the migration of
      TP-Link TL-WR1043NDv2 devices from a pseudo-stable firmware to the
      officially stable version 0.6.0.
      
      However, as it might become necessary to change other configuration
      values from AA to be compliant with their corresponding values in BB
      independent from the particular hardware-type, the package got renamed
      to reflect this use. Moreover, as there only is the need to migrate
      TP-Link TL-WR1043NDv2 devices once, with the new name the package can be
      reused for the migration to Chaos Calmer by adapting the included
      scripts.
      2850a783
    • Stefan Laudemann's avatar
      Adds "is already larger" value-checks for the ARP table resizing. · 4d9e4f36
      Stefan Laudemann authored
      Closes issue #2 by adding appropriate tests to the script as requested
      by @hej, such that values that have already been set to a higher value
      to not get changed.
      4d9e4f36
  6. Jan 28, 2015
  7. Jan 27, 2015
  8. Jan 10, 2015
  9. Nov 24, 2014
  10. Nov 19, 2014
  11. Nov 17, 2014
    • Stefan Laudemann's avatar
      Adds check for A.L.F.R.E.D major version > 2013 and sends · a86893e2
      Stefan Laudemann authored
      ffpb-debug-report on crash.
      
      As it is only assumed that the bug, which causes A.L.F.R.E.D. 2013.4 to
      crash, got fixed in 2014.1, it is important to know whether or not this
      really is the case. Hence, an additional check got implemented that
      tests for the A.L.F.R.E.D. daemon's major version. If the major version
      is greater than 2013 an additional ffpb-debug-report gets issued
      automatically, so that the dev-team gets informed about the crash.
      a86893e2
  12. Nov 16, 2014
    • Stefan Laudemann's avatar
      Adds process-watchdog for A.L.F.R.E.D. · 5759e2aa
      Stefan Laudemann authored
      Monitors whether or not the A.L.F.R.E.D. is still running on a node or
      not. Version 2013.x crashes from time to time and thus some nodes dis-
      appear from the map. It is thus suitable to monitor the state of the
      daemon on the node itself by periodically making requests to avoid un-
      necessary support-requests and manual restarts of these nodes. In a
      failure state, the daemon can simply be restarted by triggering its
      init-script.
      
      Please note that the bug is most likely gone in v2014.1 and newer and
      and thus the package does not need to be included in the firmware in
      newer firmwares.
      5759e2aa
  13. Oct 19, 2014
  14. Sep 25, 2014
    • Stefan Laudemann's avatar
    • Stefan Laudemann's avatar
      Adds new package dependencies to Makefile (due to various rewrites of the code). · d5205510
      Stefan Laudemann authored
      First of all, the ffpb-debug script is now written in lua and thus requires
      a lua interpreter to be installed. But since the script makes use of some
      gluon-specific lua-functions/-variables (such 'site_conf' in site_conf.lua),
      we have to make ffpb-debug depend on the 'gluon-core', which in turn would
      define all other dependencies.
      Moreover, since ffpb-debug-live got rewritten to work with Barrier Breaker
      (i.e. gluon 2014.4 and later), the already defined dependency towards the
      busybox package does not suffice any longer, as we fetch interface-details
      and -statistics via ubus now. As ubus outputs its data in JSON, we moreover
      need the helper functions from the 'libubox' package for a convenient hand-
      ling of such data in shell scripts.
      d5205510
  15. Sep 24, 2014
  16. Sep 11, 2014
    • Helge Jung's avatar
      remove bot-key package · 19a7e33d
      Helge Jung authored
      It was only used in a local test and the same functionality can
      be accomplished in the next Gluon version by setting
      `siteconfig.authorized_keys`.
      19a7e33d
  17. Aug 16, 2014
  18. Jul 28, 2014
  19. Jul 20, 2014
  20. Jul 16, 2014
  21. Jul 07, 2014
  22. Jul 06, 2014
Loading