Skip to content
Snippets Groups Projects
  1. May 30, 2022
  2. May 27, 2022
  3. May 26, 2022
  4. 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.
      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
  5. May 20, 2022
  6. May 13, 2022
  7. May 08, 2022
  8. May 07, 2022
  9. May 06, 2022
  10. Apr 30, 2022
  11. Apr 17, 2022
  12. Apr 16, 2022
  13. Apr 12, 2022
  14. Apr 11, 2022
  15. Apr 07, 2022
  16. Apr 06, 2022
  17. Apr 03, 2022
  18. Apr 02, 2022
  19. Mar 26, 2022
  20. Mar 25, 2022
  21. Mar 24, 2022
  22. Feb 23, 2022
  23. Feb 22, 2022
    • Matthias Schiffer's avatar
      gluon-core: preserve explicitly marked network and system sections · a671b508
      Matthias Schiffer authored
      A section can be marked as preseved by setting the gluon_preserve option
      to 1. In addition the following conditions must hold:
      
      - The preserved section must not already exist after OpenWrt's and
        Gluons setup scripts run. Modifying existing sections is currently
        unsupported.
      - Preserved sections must be named, so it can be detected whether a
        section conflicts with a preexisting one.
      a671b508
    • Matthias Schiffer's avatar
    • Matthias Schiffer's avatar
      gluon-core, gluon-setup-mode: reset ifname sysconfigs on each update, introduce single_ifname · 316e96a4
      Matthias Schiffer authored
      Allow interface names to change on updates to handle hwconfig -> DSA and
      similar migrations.
      
      On devices with only a single interface, a sysconfig single_ifname is
      created instead of wan_ifname or lan_ifname to allow separate
      configuration in site.conf.
      316e96a4
    • 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).
      c779d123
    • Matthias Schiffer's avatar
      gluon-core: initialize interfaces role configuration · 4b8251c9
      Matthias Schiffer authored
      The new configuration generates sections iface_single/lan/wan in
      /etc/config/gluon. These sections usually refer to a sysconfig-controlled
      interface list, but adding custom sections with verbatim interfaces names
      is also possible.
      
      Each interface section contains a list of roles. The supported roles are
      'client', 'uplink' and 'mesh'. Multiple roles can be configured on the
      same interface (for example the old 'mesh_on_wan' setting would become
      'uplink'+'mesh').
      
      'client' is subsumed by any other role configured on the same interface
      ('client'+'mesh' is equivalent to 'mesh'). This property is important, as
      it allows the Wired Mesh settings in gluon-web-network to simply add and
      remove the mesh role without having to care what other roles are set -
      so in the default setup, this would switch between 'client' and
      'client'+'mesh' for the LAN interface.
      
      By default, the WAN interface has role 'uplink' and the LAN interface
      'client'; if only a single interface exists, the roles from the WAN
      interface are used by default. The default for each of the three
      interfaces (WAN/LAN/single) can be changed separated in site.conf,
      superseding the old mesh_on_wan, mesh_on_lan and single_as_lan settings.
      4b8251c9
    • Matthias Schiffer's avatar
      gluon-core: sysconfig: avoid unnecessary writes · 05c29512
      Matthias Schiffer authored
      Do not write files when the content is unchanged.
      
      Avoids a few unnecessary filesystem writes when resetting ifname
      sysconfigs on each upgrade.
      05c29512
Loading