- Apr 21, 2021
-
-
-
Signed-off-by:
Chrissi^ <chris@tinyhost.de>
-
Contact Info is no longer added on FFBS nodes since our gluon release of v2017.1.8. On nodes that have been running before this release this field is set to "Intentionally left blank". This Info should not be shown on the statuspage. Signed-off-by:
Chrissi^ <chris@tinyhost.de>
-
- Apr 05, 2021
-
-
Matthias Schiffer authored
No package uses l2tp_ip. (cherry picked from commit 2ecbe488)
-
- Jan 12, 2021
-
-
Matthias Schiffer authored
Fixes warnings about implicit pointer-to-int and int-to-pointer casts. Fixes: 59a4cd63 ("gluon-respondd: expose OWE clients in nodeinfo") (cherry picked from commit 17123aa4)
-
Matthias Schiffer authored
Fixes respondd on 64bit archs, as gluonutil_get_primary_domain() was assumed to return int without the prototype. Fixes: bcf57467 ("libgluonutil: implement gluonutil_get_primary_domain()") (cherry picked from commit 52ee93f1)
-
- Aug 22, 2020
-
-
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)
-
- 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)
-
Matthias Schiffer authored
- #pragma once include guard - include string.h to get memset and memcmp prototypes to fix respondd provider build warning (cherry picked from commit e32fa5bc)
-
Matthias Schiffer authored
When the network connectivity is bad, routers may not appear in the translation tables, or there may be no originator with TQ >0. Such conditions to not warrant spamming the log with error messages. (cherry picked from commit fcd07de6)
-
Matthias Schiffer authored
(cherry picked from commit e384f899)
-
- 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 13, 2020
-
-
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)
-
- Jun 12, 2020
-
-
Matthias Schiffer authored
There is no setting to explicitly enable mesh interfaces in the config wizard, so we need to enable mesh interfaces by default when the outdoor mode is disabled (unless site.conf dictates otherwise). The simplest way to achieve this is to delete the 5GHz mesh interface sections when outdoor mode is disabled: 200-wireless would delete and recreate them a moment later anyways, but by deleting them earlier we ensure that the disabled status is initialized from site.conf again. (cherry picked from commit 17bc6228)
-
Matthias Schiffer authored
When disabling outdoor mode, 5GHz mesh interfaces should be enabled by default again (unless disabled in site.conf). (cherry picked from commit d2052431)
-
Matthias Schiffer authored
Because is_disabled() was always returning true or false, the first_non_nil() would never actually check the default setting from site.conf. This was broken since v2017.1. Fixes: 6cf03bab ("treewide: replace normal uses of luci.model.uci with simple-uci to reduce LuCI dependencies") (cherry picked from commit 3c2593b6)
-
- Jun 07, 2020
-
-
Matthias Schiffer authored
The interfaces should always exist and just be disabled when outdoor mode is enabled. Not creating them at all leads to an issue in the advanced wifi settings where an additional reload of the page is necessary after enabling or disabling the ourdoor mode to make the mesh VIF options appear or disappear. (cherry picked from commit b15b008e)
-
Matthias Schiffer authored
Instead of relying on the existence of interface sections only (which is still used for the case of interface types that are not configured at all in the site config), add a proper dependency. This fixes section visiblity with enabled outdoor mode after the following fix, and gives the user immediate feedback (allowing to disable outdoor mode and enable meshing in a single step). (cherry picked from commit d012d7d3)
-
Matthias Schiffer authored
- Return early - Rename to has_active_interfaces(), as it returns a boolean (cherry picked from commit 53c33aca)
-
Matthias Schiffer authored
200-wireless will add or remove the mesh network sections of /etc/config/network. Commit this file, so the modified setting doesn't get lost on reboot. Fixes: #2048 (cherry picked from commit 600ab99f)
-
- Jun 04, 2020
-
-
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
-
- May 31, 2020
-
-
Jan-Jonas Sämann authored
This allows for multiple mesh legs out of one box. Useful for offloaders and networks using vlan for separate mesh transport. Custom mesh interfaces in a VXLAN domain are otherwise firewalled. This fixes #1479
-
- May 29, 2020
-
-
David Bauer authored
This adds support for the beacon interval to be set on a per-band base. This has the potential to reduce the amount of airtime used up for sending beacon frames.
-
- May 28, 2020
-
-
Jan-Tarek Butt authored
[Matthias Schiffer: fix up start/stop order and file permissions]
-
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.
-
Matthias Schiffer authored
xt_CT was added to kmod-ipt-conntrack a while back. Update our GLUON_SPECIALIZE_KERNEL rules accordingly. When building xt_CT into the kernel, one of the symbols IP_NF_RAW and IP6_NF_RAW must be enabled as well, even though there is no runtime dependency when building as modules. The kernel grows by less than 1KB even when both IP_NF_RAW and NETFILTER_XT_TARGET_CT are enabled, making this change a (very slight) net win in both flash and RAM usage.
-
- May 24, 2020
-
-
Ruben Barkow-Kuder authored
-
- May 21, 2020
-
-
lemoer authored
-
lemoer authored
Closes #1974 Situation: ========== $ ls -l /lib/gluon/domains/lindennord.json lrwxrwxrwx 1 root root 10 Jan 6 03:42 /lib/gluon/domains/lindennord.json -> dom17.json Before: ======= $ gluon-neighbour-info -d ::1 -p 1001 -r nodeinfo -c 1 { "node_id": "525400123456", "system": { "domain_code": "lindennord", "site_code": "ffh" }, ... } After: ====== $ gluon-neighbour-info -d ::1 -p 1001 -r nodeinfo -c 1 { "node_id": "525400123456", "system": { "primary_domain_code": "dom17", "domain_code": "lindennord", "site_code": "ffh" }, ... }
-
lemoer authored
Implemented using readlink() and basename() to the selected domain in /lib/gluon/domains/${DOMAIN}.json.
-
lemoer authored
-
- May 12, 2020
-
-
lemoer authored
-
Matthias Schiffer authored
As a partial fix to #496, do not touch the MAC address of the WAN interface when using VXLANs (as only the MAC address of the VXLAN interface matters to batman-adv).
-
- May 10, 2020
-
-
Matthias Schiffer authored
config_ifname was renamed to setup_ifname in Gluon v2015.1.
-
Matthias Schiffer authored
On PoE-powered devices, we usually want to use WAN for the setup mode. As all outdoor devices are PoE-powered, we can reuse this function. This switches the setup mode interface for new installations / after config reset on a few devices that were missing in this list before.
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
- Use util.find_phy() - Stop foreach() as soon as the result is known
-
Matthias Schiffer authored
The 'preserve' flag can be used to mark a peer so it is not removed or modified on upgrades. In addition, groups containing preserved peers are not removed. Fixes: #557
-