Skip to content
Snippets Groups Projects
  1. Feb 20, 2015
    • Stefan Laudemann's avatar
    • Stefan Laudemann's avatar
      Reimplements the transmission of the report using nixio (instead of netcat). · 96fe5fbb
      Stefan Laudemann authored
      
      As the old implementation lead to rather inconsistent notifications on the
      screen due to some incorrect return value handlings of os.execute(cat ...),
      which as well produced an inconsistent output (an error message of netcat
      got printed to the screen for the first host without the information that
      there is a second one to which the report can be send; if the transmission
      to that host succeeds, one will see the irritating sequence "failure" -->
      "report has been sent" on the screen).
      As error handling and output-redirection via os.execute(...) would have re-
      quired some refactoring anyway, the logic is now implemented using nixio
      sockets, as their behaviour is easier to control from within a Lua-script,
      and - additionally - enables us to keep the debug data in memory (i.e. we
      don't have to temporarily write it to /tmp/debug-report.txt anymore). The
      report only needs to be stored permanetely, if the transmission fails for
      whatever reason. Thus, as this part of the script had to be changed as well,
      we now make use of the nixio library to interact with files.
      
      Signed-off-by: default avatarStefan Laudemann <thisco@webcake.de>
      96fe5fbb
    • Stefan Laudemann's avatar
      Adds missing hostapd.sh replacement from CC to the package. · 287b30b6
      Stefan Laudemann authored
      As it turned out, the old hostapd.sh from BB does not provide all the
      necessary functions needed by the mac80211.sh that got added in commit
      f2d78863. The corresponding hostapd.sh
      from the CC trunk [1] however has this functions and works fine in BB
      already. Hence, we add the netifd.sh from [1] into the package because
      of the fixes in mac80211.sh in CC that did not get backported to BB
      (yet). netifd.sh gets renamed to hostapd.sh by the Makefile for the
      hostapd package and copied to /lib/netifd.
      
      [1]
      https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh?rev=44438
      
      
      
      Signed-off-by: default avatarStefan Laudemann <thisco@webcake.de>
      287b30b6
  2. Feb 12, 2015
  3. 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
  4. Jan 28, 2015
  5. Jan 27, 2015
  6. Jan 10, 2015
  7. Nov 24, 2014
  8. Nov 19, 2014
  9. 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
  10. 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
  11. Oct 19, 2014
  12. 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
  13. Sep 24, 2014
  14. 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
  15. Aug 16, 2014
  16. Jul 28, 2014
  17. Jul 20, 2014
  18. Jul 16, 2014
  19. Jul 07, 2014
  20. Jul 06, 2014
  21. Jul 05, 2014
Loading