- Jun 07, 2020
-
-
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
-
Matthias Schiffer authored
-
- May 08, 2020
-
-
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.
-
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.
-
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()
-
Matthias Schiffer authored
-
- May 05, 2020
-
-
ctr49 authored
-
- 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.
-
ctr49 authored
-
- Apr 29, 2020
-
-
Martin Weinelt authored
Allows reconfigurtion of remote syslog from within site.conf. Conflicts with the gluon-web-logging package as user made changes will be overwritten, because this package will reconfigure the syslog destination on every upgrade. Resolves #1845
-
Jan Luebbe authored
OpenWRT 19.07 enables urngd by default, so haveged is redundant.
-
Jan Luebbe authored
OpenWRT 19.07 enables urngd by default, so haveged is redundant.
-
- Apr 26, 2020
-
-
Matthias Schiffer authored
Use the value of the `name` site.conf field as label (it was accidentally unused before). Our site.conf currently doesn't define a specific order for the branch entries. To avoid changing branch orders, sort entries by this label. Fixes: #1961
-
- Apr 20, 2020
-
-
Matthias Schiffer authored
Add a UCI setting gluon.mesh_batman_adv.hop_penalty Example UCI commands: uci set gluon.mesh_batman_adv=mesh_batman_adv uci set gluon.mesh_batman_adv.hop_penalty=20 uci commit `/etc/config/gluon` config section: config mesh_batman_adv 'mesh_batman_adv' option hop_penalty '20' Fixes: #1942
-
- Apr 11, 2020
-
-
David Bauer authored
Fixes commit 6692095f
-
- Apr 09, 2020
-
-
Jan Alexander authored
-
- Apr 07, 2020
-
-
Jan Alexander authored
-
- Apr 05, 2020
-
-
Kasalehlia authored
Register to 'reset' event on form element and make call to 'update' function delayed in 'data-update' handler to allow the form values to update beforehand. When using a form's 'reset' button, form field visibility was not updated. This could lead to situations where a checkbox had to be toggled again twice to display the detail text inputs. (Example taken from private wifi package)
-
- Apr 04, 2020
-
-
Martin Weinelt authored
Fixes #1959
-