Skip to content
Snippets Groups Projects
  1. May 13, 2016
  2. Apr 27, 2016
    • Matthias Schiffer's avatar
    • Matthias Schiffer's avatar
      gluon-mesh-batman-adv-core: make mesh_lan config a bridge · 937fe715
      Matthias Schiffer authored
      There are a few devices which have more than one LAN interface (for example
      some revision of the TL-WR941ND, which uses a DSA-based switch, so each
      switch port has its own netdev.) On these devices we need a bridge for
      mesh-on-lan (as the alternative of adding them to batman-adv individually
      would need too many MAC addresses.)
      937fe715
    • lemoer's avatar
      Change MAC schema generation (#715) · c73a12e0
      lemoer authored
      While ath9k/ath10k devices can supprt VIFs with any combination of MAC addresses, there are also adapters which have a hardware MAC filter which only allows a few bits to differ. This commit changes the addresses of all VIFs to ony differ in the last 3 bits, which is required to support many Ralink/Mediatek based WLAN adapters.
      
      Technically, the new addresses are generated by calculating an MD5 hash of the primary MAC address and using a part of this hash as a prefix for the MAC addresses.
      
      The addresses (BSSIDs) of the AP VIFs are also reused for the LAN and WAN interfaces in mesh-on-LAN/WAN mode to reduce the number of needed addresses, and thus reduce the chance of collisions. This is not a problem as the MAC addresses of the AP VIFs are never used except as BSSID, and thus not seen by routing protocols like batman-adv.
      
      Fixes #648
      
      [Matthias Schiffer: rewrote commit message]
      c73a12e0
  3. Apr 24, 2016
  4. Apr 02, 2016
  5. Mar 10, 2016
  6. Mar 08, 2016
  7. Feb 16, 2016
  8. Feb 08, 2016
  9. Feb 02, 2016
  10. Dec 18, 2015
  11. Nov 18, 2015
    • Matthias Schiffer's avatar
      gluon-mesh-batman-adv-core: keep disabled state even when the mesh interface... · 0335ce10
      Matthias Schiffer authored
      gluon-mesh-batman-adv-core: keep disabled state even when the mesh interface section name is changed
      
      Is makes sense to always look for both ibss_radio* and mesh_radio* sections
      to determine if the meshing should be enabled when regenerating these
      sections. Doing this, the disabled state will survive updates changing the
      section name (either updating from pre-2015.2 while keeping IBSS, or
      changing from IBSS to 11s or vice-versa).
      
      If both ibss_radio* and mesh_radio* sections exist, the disabled state will
      be kept correctly for each section, the behaviour is changed only when
      creating a section that didn't exist before.
      
      Fixes #549
      0335ce10
  12. Oct 26, 2015
  13. Oct 15, 2015
  14. Oct 12, 2015
  15. Sep 22, 2015
  16. Sep 04, 2015
    • Nils Schneider's avatar
      br-client: convert option ifname to list ifname · 34752c7e
      Nils Schneider authored
      Convert option ifname in br-client to use a list instead. This
      simplifies adding and remove interfaces:
      
      uci:add_to_set("network", "client", "ifname", "eth0")
      uci:remove_from_set("network", "client", "ifname", "eth0")
      
      An option ifname will be automatically converted to a list when
      performing an upgrade.
      
      Packages affected: gluon-mesh-batman-adv-core, gluon-luci-portconfig
      34752c7e
  17. Sep 03, 2015
  18. Sep 02, 2015
  19. Aug 30, 2015
  20. Aug 18, 2015
    • Nils Schneider's avatar
      gluon-radio-config: basic wireless configuration · 177086b8
      Nils Schneider authored
      Split basic radio configuration from gluon-mesh-batman-adv as this will
      be required for virtually any wireless mesh protocol.
      
      This package takes care of setting:
      
        - wireless channel,
        - htmode and
        - regulatory domain
      
      gluon-mesh-batman-adv-core depends on this package.
      177086b8
  21. Aug 04, 2015
    • Nils Schneider's avatar
      mesh-batadv-core: introduce 11s mesh, refactor wireless config · 2a93c580
      Nils Schneider authored
      This is a site.conf-breaking change in regard to the wireless config.
      Make sure to read http://gluon.readthedocs.org/en/latest/user/site.html
      and update your site.conf accordingly!
      
      Support for 802.11s mesh interfaces has been added. Gluon now supports
      three interface types: ap, ibss and mesh. All of them are now optional
      and may be configured independently in site.conf.
      
      A sample site.conf may look like this:
      
          wifi24 = {
                  channel = 1,
                  htmode = 'HT40+',
                  ap = {
                          ssid = 'luebeck.freifunk.net',
                  },
                  ibss = {
                          ssid = '02:d1:11:37:fc:38',
                          bssid = '02:d1:11:37:fc:38',
                          mcast_rate = 12000,
                  },
                  mesh = {
                          id = 'ffhl-mesh',
                          mcast_rate = 12000,
                  },
          },
      2a93c580
  22. Aug 03, 2015
  23. Jul 18, 2015
  24. Jul 11, 2015
  25. Jul 10, 2015
  26. Jun 15, 2015
  27. May 27, 2015
  28. May 21, 2015
  29. May 16, 2015
  30. May 06, 2015
    • Nils Schneider's avatar
      mesh-batman-adv: mesh_on_lan · 39d0c8f4
      Nils Schneider authored
      This adds mesh_on_lan functionality.
      
      A new optional site.conf option, mesh_on_lan, has been added. If set to
      'true', all LAN ports will be used for meshing instead of being part of
      the client bridge.
      39d0c8f4
  31. May 04, 2015
    • Nils Schneider's avatar
      nodeinfo: mesh interface classes (wireless, tunnel, other) · a349dd07
      Nils Schneider authored
      This will introduce a new nodeinfo object, network.mesh.bat0.interfaces,
      containing any of the the following subordinated objects:
      
      - wireless
      - tunnel
      - other
      
      Each of these objects contains a (possibly empty) list of MAC addresses
      (lowercase, colon-notation) corresponding to a interface of the given
      class. Combined with a batman graph it is thus possible to mark
      sub-graphs as "wireless" or "vpn".
      
      The previously used object mesh_intefaces is superseded by this new
      object structure and mesh_interfaces will be removed in a future Gluon
      release.
      a349dd07
  32. May 01, 2015
Loading