Skip to content
Snippets Groups Projects
  1. Aug 15, 2022
  2. Aug 10, 2022
  3. Aug 09, 2022
    • lemoer's avatar
      gluon-respondd: fix missing section "wifi" for request type "neighbours" (#2599) · 70951318
      lemoer authored
      The below mentioned commit introduced a regression, that the "wifi"
      section of the request type "neighbours" was empty:
      
          ~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
          {
            "wifi": [
            ],
            ...
          }
      
      After this commit, the section (correctly) looks like this:
      
          root@UFU-FWH-A272-Tresckowstr-GemR-vorne:~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
          {
            "wifi": {
              "ca:38:7e:42:5f:21": {
                "neighbours": {
                  "fe:9f:4d:01:ea:e1": {
                    "noise": -102,
                    "inactive": 50,
                    "signal": -84
                  },
                  "fe:df:b9:84:37:51": {
                    "noise": -102,
                    "inactive": 20,
                    "signal": -73
                  }
                }
              }
            },
            ...
          }
      
      The issue was due to the fact, that the iteration over the (mesh) wifi interfaces
      was broken. The code was assuming, that the section
      
          config interface 'mesh_radio0'
                  option proto 'gluon_mesh'
      
      in /etc/config/network contains an option "ifname", which it does not.
      The ifname property is only stored in the corresponding section in
      /etc/config/wireless:
      
          config wifi-iface 'mesh_radio0'
                  option ifname 'mesh0'
                  option network 'mesh_radio0'
                  option mode 'mesh'
                  ...
      
      Therefore, we now iterate over wifi-ifaces in /etc/config/wireless, that
      have the mode 'mesh' instead. This resolves the issue.
      
      Fixes 0f1fa243
      Unverified
      70951318
    • 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
    • Tom Herbers's avatar
      web-admin: ignore minor compat-version on upgrade (#2590) · 75ceb0d9
      Tom Herbers authored
      This implements the same behavior as it is used in the autoupdater [1].
      
      This is for example required to allow the manual installation of
      firmware upgrades via the config mode on devices which where migrated
      from swconfig to DSA. Otherwise the image will always be invalid.
      
      [1] https://github.com/freifunk-gluon/packages/commit/b80428166454d184f356e5a14a144911d9ee11aa
      Unverified
      75ceb0d9
    • Matthias Schiffer's avatar
      gluon-mesh-vpn-fastd: fix respondd segfault under load (#2594) · 20eea9b9
      Matthias Schiffer authored
      When running "fastd -v" fails, line may be NULL, causing a segfault in
      strncmp.
      Unverified
      20eea9b9
  4. Jul 10, 2022
  5. Jul 08, 2022
  6. Jul 07, 2022
  7. Jul 06, 2022
  8. Jul 05, 2022
  9. Jul 03, 2022
  10. Jun 25, 2022
  11. Jun 22, 2022
  12. Jun 19, 2022
  13. Jun 17, 2022
  14. Jun 16, 2022
  15. May 30, 2022
  16. May 27, 2022
  17. May 26, 2022
  18. May 21, 2022
    • J. Burfeind's avatar
      gluon-status-page: fix mesh-vpn section for wg (#2502) · 36f40674
      J. Burfeind authored
      Since freifunk-gluon/packages#250 mesh-vpn-peers
      can be empty arrays if they're not connected
      and the node is in a WireGuard site.
      Unverified
      36f40674
    • lemoer's avatar
      gluon-mesh-vpn-*: make vpn MTU provider specific · 7c81897b
      lemoer authored
      If a community uses different vpn providers, they typically
      assume the same MTU for the wan device underneath the VPN. As
      different VPN providers however have different overhead, the MTU
      of the VPN device differs for each provider. Therefore this
      commit makes the MTU of the VPN device provider specific.
      
      This has two advantages:
      1. The same site.conf can used to bake firmwares for different
         VPN providers (only by selecting a diferent vpn feature in the
         site.mk).
      2. We are coming closer to the option of integrating multiple VPN
         providers into one firmware.
      7c81897b
Loading