Skip to content
Snippets Groups Projects
  1. Dec 10, 2024
  2. Dec 07, 2024
  3. Jan 12, 2023
  4. Jan 09, 2023
  5. Aug 09, 2022
    • lemoer's avatar
      gluon-mesh-batman-adv: add "gateway_tq" field to respondd statistics (#2596) · 6df06473
      lemoer authored
      This new field reflects the TQ to the selected gateway.
      
      Before this commit, if you had connectivity issues in a larger mesh,
      it was a tedious task to understand which nodes are affected and which
      are not. By providing this new value for each node, it becomes easier
      to see which nodes are affected by the connectivity issues and which
      are not.
      
      The new field "gateway_tq" is located at the toplevel of the
      statistics resource (next to "gateway" and "gateway_nexthop"):
      
          gluon-neighbour-info -d ::1 -r statistics
          {
              ...
              "gateway": "02:a1:71:04:09:10",
              "gateway_nexthop": "88:e6:40:20:90:10",
              "gateway_tq": 193,
              ...
          }
      Unverified
      6df06473
  6. Jun 22, 2022
  7. Feb 22, 2022
    • Matthias Schiffer's avatar
      treewide: use interface roles as basis for network configuration · c779d123
      Matthias Schiffer authored
      With the new role-based interface configuration, it would be better to
      rename the wan/wan6 interfaces to uplink/uplink6, but that would cause
      unnecessary churn for the firewall configuration, so it is left for a
      later update.
      
      As all interfaces with the 'uplink' role are in the br-wan bridge, it is
      not possible to assign these to the 'mesh' role independently - instead,
      br-wan is added as a mesh interface as soon as a single interface has
      both the 'uplink' and 'mesh' roles. The UCI section for this
      configuration is now called 'mesh_uplink' instead of 'mesh_wan'.
      
      For all interfaces that have the 'mesh', but not the 'uplink' role a
      second configuration 'mesh_other' is created. If there is more than one
      such interface, all these interfaces are bridged as well (creating a
      bridge 'br-mesh_other'). This replaces the 'mesh_lan' section with its
      optional 'br-mesh_lan' bridge, but can also include interfaces that were
      not considered "LAN" when interfaces roles are modified (via site.conf
      or manually).
      Unverified
      c779d123
    • Matthias Schiffer's avatar
  8. Dec 31, 2021
  9. Oct 07, 2021
    • Matthias Schiffer's avatar
      Set PKG_VERSION in gluon.mk · f419db58
      Matthias Schiffer authored
      This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the
      value was never useful for Gluon packages; instead, PKG_VERSION is set
      to 1 in gluon.mk.
      
      It also removes two other weird definitions:
      
      - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic
        from gluon-core, but without the fixed PKG_BUILD_DIR to prevent
        unnessary rebuilds
      - gluon-hoodselector set GLUON_VERSION=3
      f419db58
  10. Aug 12, 2021
  11. Jul 13, 2021
  12. May 01, 2021
  13. Apr 28, 2021
    • Linus Lüssing's avatar
      gluon-mesh-batman-adv: reenable batman-adv multicast optimizations · 288daf5a
      Linus Lüssing authored
      
      With batman-adv 2020.4 and the according backports to batman-adv v2019.2
      several more bugs were found and fixed regarding the batman-adv
      multicast optimizations feature.
      
      Also a "wakeup-call" feature was added to the Linux bridge IGMP/MLD
      snooping code in Gluon to work around issues with Android devices.
      
      With batman-adv now at v2019.2, multicast-to-multi-unicasts conversion
      is supported, too. Which means that even if there are a few outdated nodes
      these and all other recipients will be served multicast packets via unicast,
      too, as long as the sum of receiving nodes does not exceed the multicast
      fanout setting (default: 16). If is exceeded, then batman-adv will revert
      back to broadcast flooding automatically.
      
      Long story short, with all these extra measures in place, let's reenable
      the batman-adv multicast optimizations to reduce the layer 2 overhead
      and in preparation for multicast applications in the future.
      
      The default is enabled for this feature anyway, so removing the
      "batctl multicast_mode 0" overwrite is sufficient.
      
      Signed-off-by: default avatarLinus Lüssing <linus.luessing@c0d3.blue>
      288daf5a
  14. Jun 13, 2020
  15. Jun 01, 2020
  16. May 12, 2020
  17. Apr 20, 2020
    • Matthias Schiffer's avatar
      gluon-mesh-batman-adv: add UCI setting for hop penalty · 778bf905
      Matthias Schiffer authored
      Add a UCI setting gluon.mesh_batman_adv.hop_penalty
      
      Example UCI commands:
      
          uci set gluon.mesh_batman_adv=mesh_batman_adv
          uci set gluon.mesh_batman_adv.hop_penalty=20
          uci commit
      
      `/etc/config/gluon` config section:
      
          config mesh_batman_adv 'mesh_batman_adv'
          	option hop_penalty '20'
      
      Fixes: #1942
      Unverified
      778bf905
  18. Nov 24, 2019
  19. Nov 23, 2019
  20. Nov 07, 2019
  21. Oct 29, 2019
  22. Sep 25, 2019
  23. Sep 21, 2019
    • Linus Lüssing's avatar
      Revert "gluon-mesh-batman-adv: reenable batman-adv multicast optimizations" · 302a7951
      Linus Lüssing authored
      This reverts commit 9b1eb40f.
      
      With the batman-adv v2019.2 upgrade reverted (c1a77339), the batman-adv
      multicast-to-multi-unicast feature is not available yet. Without that it is
      going to be very unlikely of the batman-adv multicast optimizations to
      take effect. E.g. some outdated nodes would disable it.
      
      To avoid confusion and diversion with a few communities having it enabled
      and most implicitly deactivated, just deactivate it for all for now
      until batman-adv is updated to v2019.2 or greater again.
      302a7951
  24. Aug 22, 2019
  25. Jun 18, 2019
  26. Jun 16, 2019
  27. Jun 07, 2019
  28. Apr 28, 2019
  29. Apr 16, 2019
  30. Apr 08, 2019
    • Sven Eckelmann's avatar
      gluon-mesh-batman-adv: Save if metrics chose neighbor as own best nexthop · cef21e58
      Sven Eckelmann authored
      
      The commit ee63ed42fe6c ("gluon-mesh-batman-adv: List neighbors with
      non-best direct link") removed the check whether a neighbor has the
      BATADV_ATTR_FLAG_BEST set. But consumers may still want to filter out or
      mark neighbors which don't have this flag set. To assist with such a
      feature, enhance the neighbor object with an extra boolean "best" attribute
      which stores whether the BATADV_ATTR_FLAG_BEST was found or not.
      
      Reported-by: default avatarVincent Wiemann <webmaster@codefetch.de>
      cef21e58
    • Sven Eckelmann's avatar
      gluon-mesh-batman-adv: List neighbors with non-best direct link · ec72d30b
      Sven Eckelmann authored
      Links between two direct neighbors are not always the best route between
      these devices. The flag BATADV_ATTR_FLAG_BEST would not be set for these
      originator entries and the respondd module would just ignore this entry.
      
      This causes missing links in meshviewer and similar tools. And when the
      link quality is nearly equal and but fluctuates slightly, these links will
      from time to time appear and disappear on the map.
      
      Fixes: 2e0e24a9 ("announce neighbours using alfred/gluon-announce")
      ec72d30b
  31. Mar 16, 2019
    • Sven Eckelmann's avatar
      gluon-mesh-batman-adv: Only use local TT to count non-wifi clients (#1676) · b850fff7
      Sven Eckelmann authored
      
      The amount of local wifi clients is currently counted by two different
      ways:
      
      * asking the kernel wifi layer for the number of of clients on 2.4GHz and
        5GHz band
      * asking batman-adv for the number of non-timed out entries in the local
        translation table with WiFi flag
      
      The number of wifi24+wifi5 and the number of TT wifi client counts are
      reported via respondd to various consumers. The ffrgb meshviewer is
      displaying these values as:
      
      * 2,4 GHz: wifi24
      * 5 GHz: wifi5
      * other: (TT local wifi+non-wifi clients) - (wifi24 + wifi5)
      
      But the local translation table is holding entries much longer than the
      wifi layer. It can therefore easily happen that a wifi client disappears in
      the kernel wifi layer and batman-adv still has the entry stored in the
      local TT.
      
      The ffrgb meshviewer would then show this count in the category "other".
      This often results in confusions because "other" is usually for ethernet
      clients. And nodes with a frequently disappearing larger group of clients
      (near bus stations or larger intersections) often show most clients under
      the group "other" even when this devices doesn't have a LAN ethernet port.
      
      It is better for presentation to calculate the number of total wifi clients
      by summing up wifi24 + wifi5. And getting the number of total clients (non
      wifi + wifi) by adding the result of the previous calculation to the sum of
      non-wifi client in the local batman-adv translation table.
      
      Fixes: 89a9d813 ("gluon-mesh-batman-adv-core: Announce client count by frequency")
      Reported-by: default avatarPascal Wettin <p.wettin@gmx.de>
      b850fff7
  32. Feb 17, 2019
  33. Nov 18, 2018
Loading