- Jan 13, 2021
-
-
Sven Eckelmann authored
-
- Jan 10, 2021
-
-
Sven Eckelmann authored
-
Sven Eckelmann authored
-
- Dec 29, 2020
-
-
CodeFetch authored
This commit introduces a simple function for writing to the syslog and replaces the custom function used by gluon-hoodselector.
-
- Jul 13, 2020
-
-
David Bauer authored
This will hide the outdoor mode setting on compatible devices in case the defined channels should be preserved. Otherwise a user might be under the impression their device is compliant with outdoor operation when in reality it still uses prohibited channels. (cherry picked from commit 73b830eb)
-
- Jul 05, 2020
-
-
David Bauer authored
This will hide the outdoor mode setting on compatible devices in case the defined channels should be preserved. Otherwise a user might be under the impression their device is compliant with outdoor operation when in reality it still uses prohibited channels.
-
- Jul 02, 2020
-
-
Matthias Schiffer authored
-
- Jun 14, 2020
-
-
David Bauer authored
Backporting the MFP patch allows us to utilize WPA3 features on this target. Tested on TP-Link Archer C20i
-
- Jun 10, 2020
-
-
David Bauer authored
Backporting the MFP patch allows us to utilize WPA3 features on this target. Tested on TP-Link Archer C20i
-
- May 28, 2020
-
-
David Bauer authored
Separate wireless-related helper methods from the util module to a new wireless module. This keeps them separated, as the amount of wireless helpers increased in the past, justifying a separate module.
-
- May 10, 2020
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
- Use util.find_phy() - Stop foreach() as soon as the result is known
-
- May 04, 2020
-
-
Matthias Schiffer authored
gsub() returns the number of matches as its second return value. This was unintendedly passed through by the util functions trim() and node_id(). It can be presumed that this had no effect in practice, but it can lead to surprising output when passing values to print() for debugging.
-
- Apr 11, 2020
-
-
David Bauer authored
Fixes commit 6692095f
-
- Mar 25, 2020
-
-
David Bauer authored
This adds a helper method, which determines if the current platform supports WPA3 or not. WPA3 is supported if - the device is not in the featureset category "tiny" - the WiFi driver supports 802.11w management frame protection
-
- Mar 11, 2020
-
-
Matthias Schiffer authored
Allow wildcard matches on all subtargets of a target, or a full wildcard always returning true when no arguments are passed.
-
- Mar 09, 2020
-
-
Jan Alexander authored
-
- Nov 26, 2019
-
-
Simon Terzenbach authored
-
- Nov 07, 2019
-
-
Matthias Schiffer authored
-
- Aug 23, 2019
-
-
Christof Schulze authored
mac_to_ip() calculates an ipv6 address from a mac address according to RFC 4291. For wireguard we have to use specially crafted addresses that must be unique. This allows calculating such unique mac-based addresses by allowing to optionally specifying the bytes to be inserted into the address.
-
- Jun 17, 2019
-
-
Martin Weinelt authored
-
- Jun 16, 2019
-
-
bobcanthelpyou authored
-
Matthias Schiffer authored
-
- Apr 28, 2019
-
-
Martin Weinelt authored
-
- Feb 12, 2019
-
-
David Bauer authored
This package allows to automatically switch to another domain, either at a given point in time or after the node was offline long enough.
-
- Feb 11, 2019
-
-
David Bauer authored
Gluon has multiple ways to obtain unique MAC-addresses. They are either provided by the WiFi driver or derived from the primary MAC-address. Quoting the same file: > It's necessary that the first 45 bits of the MAC address don't > vary on a single hardware interface, since some chips are using > a hardware MAC filter. (e.g 'rt305x') This currently fails in case the rt35xx based chips mac address differs from the primary MAC. In this case, the MAC address for the client0 radio (vif 1) comes from the WiFi driver. As there is only a single MAC-address provided by '/sys/class/ieee80211/phyX/addresses' but the MAC-address for mesh 0 (vif 2) is derived from the Node-ID, resulting in different first 45 bits. The WiFi won't come up altogether in this case. This commit verifies at least 4 MAC-Addresses are provided by the WiFi driver. If this is not the case, all MAC-addresses are derived from the primary MAC. This way, affected radios are working correctly.
-
- Nov 21, 2018
-
-
Christof Schulze authored
gluon-core, gluon-mesh-babel: move lua functions that generate ll-addresses from a mac into gluon-core
-
- Jul 17, 2018
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
- Jul 13, 2018
-
-
Matthias Schiffer authored
-
- Apr 13, 2018
-
-
Matthias Schiffer authored
-
- Mar 17, 2018
-
-
Matthias Schiffer authored
-
- Feb 25, 2018
-
-
Matthias Schiffer authored
exec() is moved to gluon.util.
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
- Feb 15, 2018
-
-
Matthias Schiffer authored
Both gluon.sysconfig and libgluonutil already remove the trailing newline if it exists. It's nicer to avoid files without a trailing newline, e.g. for printing the file contents in a terminal.
-
Matthias Schiffer authored
Allows to remove some redundant UCI lookups.
-
- Jan 19, 2018
-
-
lemoer authored
[Matthias Schiffer: rebase]
-
lemoer authored
This should not convert JSON to a Lua table and back, as this loses the distinction between arrays and objects, but as our site.conf is defined in Lua anyways (for now), this can be fixed in a later revision. [Matthias Schiffer: rename to gluon-show-site, rebase]
-