Skip to content
Snippets Groups Projects
  1. Apr 05, 2021
  2. Jan 12, 2021
  3. Aug 22, 2020
    • Matthias Schiffer's avatar
      gluon-core: run firewall upgrade script after basic network setup (#2091) · a12ad5a8
      Matthias Schiffer authored
      Reorder scripts so that the mesh_lan interface is accounted for.
      
      Two other firewall upgrade scripts (mesh-babel and l3roamd) are
      reordered as well. While there seems to be no hard dependency at the
      moment, it makes sense to run the basic setup first, also to avoid
      problems with future changes.
      
      Closes: #2090
      Fixes: ed094bc6 ("gluon-core: firewall: Allow custom gluon_wired interfaces (#2041)")
      (cherry picked from commit de5ebfa4)
      a12ad5a8
  4. Jul 13, 2020
  5. Jun 14, 2020
  6. Jun 13, 2020
    • Matthias Schiffer's avatar
      gluon-mesh-batman-adv: do not delete bat0 during hardif teardown (#2057) · 39267179
      Matthias Schiffer authored
      With very bad timing, it is possible that the teardown script of a
      gluon_mesh interface runs when bat0 was just created, but primary0 is not
      yet added to it. Although there is no hardif to remove in this case,
      bat0 will still be deleted, because there is no hardif in bat0.
      
      Disable the interface removal logic by passing `-M` to `batctl interface`.
      
      (cherry picked from commit 92647cd4)
      39267179
  7. Jun 12, 2020
  8. Jun 07, 2020
  9. Jun 04, 2020
    • Matthias Schiffer's avatar
      build: make GluonSrcDiet simpler and more robust (#2033) · 50adb097
      Matthias Schiffer authored
      - If luasrcdiet fails for a Lua script, this is a bug that should be
        noticed rather than including the unminified script
      - Use .tmp suffix for temporary file rather than .o
      - Replace chmod + stat + mv with simpler cp + rm to overwrite file while
        preserving file mode
      50adb097
  10. May 31, 2020
  11. May 29, 2020
  12. May 28, 2020
  13. May 24, 2020
  14. May 21, 2020
  15. May 12, 2020
  16. May 10, 2020
  17. May 08, 2020
    • Matthias Schiffer's avatar
      gluon-core: primary-mac: replace all eth0/eth1 lookups with lan/wan · e93dca7c
      Matthias Schiffer authored
      The netdev() lookup is confusing to use: whenever a interface does not
      exist during boot (for example VLAN) or when the address is overridden
      from board.json (which is not obvious at all), it will yield either no
      address, or a different address than expected.
      
      To avoid this confusion, using board.json-based interface() is
      preferable. This converts all uses of netdev() to the corresponding
      lan/wan lookups, except for the final fallback for eth0.
      e93dca7c
    • Matthias Schiffer's avatar
      gluon-core: primary-mac: add fallback to netdev address to interface() · 02e4a130
      Matthias Schiffer authored
      In most cases, board.json does not contain any MAC addresses; in this
      case, the default MAC address of the underlying interface is to be used.
      02e4a130
    • Matthias Schiffer's avatar
      gluon-core: primary-mac: cleanup · 2250665d
      Matthias Schiffer authored
      - Replace misnamed, closure-returning sysfs() to a reusable read() function
      - Rename eth() to netdev(), pass full interface name
      - Rename board() to interface()
      - Split reuable get_netdev_addr() out of netdev()
      2250665d
Loading