- May 13, 2016
-
-
Matthias Schiffer authored
Lua's tables are 1-based, so we must decrement the index by 1 to get the desired MAC addresses. By not doing this, the second IBSS interface would get the address with index 8, but only indices 0..7 are available. Fixes: c73a12e0
-
- Apr 27, 2016
-
-
Matthias Schiffer authored
-
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.)
-
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]
-
- Apr 24, 2016
-
-
Matthias Schiffer authored
It is not used anymore.
-
- Apr 02, 2016
-
-
Matthias Schiffer authored
Avoid commiting configs inbetween to decrease number of flash writes. Fixes #714.
-
- Mar 10, 2016
-
-
Linus Lüssing authored
We are mostly dealing with the 2.4GHz crap-band here, so increasing the IGMP/MLD robustness parameter to three to be able to compensate for up to two consecutive instead of just one lost packet. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
Linus Lüssing authored
There are some devices not acting properly to roaming events, in that they do not timely reissue IGMP/MLD reports after reconnecting. To compensate for that this commit reduces the query interval from 125 seconds to 20 and the query response interval from 20 seconds to 5. This reduces a timeout to 20+5 seconds in the worst-case (12.5s average) after a roaming event for such broken devices. This should be below the 30s "impatient user threshold" and below any connection timeout. Until the bridge multicast snooping + querier gets re-enabled this is a no-op. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
- Mar 08, 2016
-
-
Matthias Schiffer authored
This include wasn't actually missing, but well hidden behind the iwinfo.h include. Make this more obvious.
-
Linus Lüssing authored
An IGMP/MLD domain split will prevent us from being able to track multicast listeners on other nodes. Therefore we need to always hand any multicast packets we received from local clients to batman-adv. With bridge multicast snooping disabled, the current setting in Gluon, this is already the case. However, in preparation to enabling multicast snooping, we need to enforce forwarding towards batman-adv by setting the bridge port option "multicast_router" to 2. Signed-off-by:
Linus Lüssing <linus.luessing@c0d3.blue>
-
- Feb 16, 2016
-
-
Matthias Schiffer authored
Ethernet links provide transitive connectivity in all but very unusual setup, enable mesh_no_rebroadcast to reduce load for devices on links with many nodes. Fixes #652
-
- Feb 08, 2016
-
-
Matthias Schiffer authored
Should be redundant after 0bd0df6f
-
- Feb 02, 2016
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
gluon-announced and gluon-announce are merged to gluon-respondd.
-
- Dec 18, 2015
-
-
Matthias Schiffer authored
-
- Nov 18, 2015
-
-
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
-
- Oct 26, 2015
-
-
Matthias Schiffer authored
gluon-mesh-batman-adv-core/gluon-luci-portconfig: fix configuration of br-client ifname with multiple interfaces in lan_ifname There are a few devices on which lan_ifname contains multiple interface names separated by spaces.
-
Nils Schneider authored
This package provides br-client and sets up a wireless AP interface for clients.
-
Matthias Schiffer authored
gluon-radio-config contained only a single file. The code has been adjusted to allow creating a Gluon configuration without WLAN support by removing the wifi24 and wifi5 sections from site.conf.
-
- Oct 15, 2015
-
-
Matthias Schiffer authored
gluon-mesh-batman-adv-core: neighbours.d/wifi: output empty object instead of empty list when there are no neighbours on an interface
-
- Oct 12, 2015
-
-
Matthias Schiffer authored
Fixes #401
-
- Sep 22, 2015
-
-
kb-light authored
keep macfilter and maclist config after fw-update
-
- Sep 04, 2015
-
-
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
-
- Sep 03, 2015
-
-
Jan-Philipp Litza authored
-
- Sep 02, 2015
-
-
Jan-Philipp Litza authored
-
- Aug 30, 2015
-
-
Jan-Philipp Litza authored
-
Jan-Philipp Litza authored
Apart from replacing a patch for the former by two patches for latter, this involved minimal adaptations of the lua scripts in the following packages: * gluon-announce * gluon-announced * gluon-mesh-batman-adv-core * gluon-status-page
-
- Aug 18, 2015
-
-
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.
-
- Aug 04, 2015
-
-
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, }, },
-
- Aug 03, 2015
-
-
Jan-Philipp Litza authored
The nodeinfo/network/addresses announcement included deprecated and tentative addresses, which it clearly shouldn't as the host doesn't want to be contacted on those addresses. They are now filtered out.
-
- Jul 18, 2015
-
-
Matthias Schiffer authored
-
- Jul 11, 2015
-
-
Matthias Schiffer authored
This fixes MAC address conflicts on devices which use the eth0 as primary address.
-
- Jul 10, 2015
-
-
Matthias Schiffer authored
This should fix the signal strength indicators on the TP-Link CPE210/510.
-
- Jun 15, 2015
-
-
Matthias Schiffer authored
Always output empty objects or nothing at all where objects are expected, but no elements exist. Also remove a few unneeded "requires", a few basic modules are provided by announce.lua by default.
-
- May 27, 2015
-
-
Matthias Schiffer authored
-
- May 21, 2015
-
-
Matthias Schiffer authored
-
- May 16, 2015
-
-
Matthias Schiffer authored
15 is the default in batman-adv-legacy, the new default 30 in newer batman-adv versions is too high in larger networks.
-
- May 06, 2015
-
-
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.
-
- May 04, 2015
-
-
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.
-
- May 01, 2015
-
-
Hendrik Lüth authored
-