- Oct 20, 2019
-
-
Dennis Eisold authored
-
Dennis Eisold authored
-
Dennis Eisold authored
-
- Oct 07, 2019
-
-
Robert Langhammer authored
On layer3 variant ("gateway firmware"), 60-fff-gateway.conf changes "forwarding" for all interfaces, overwriting the changes from 51-fff-network-$iface.conf. By putting the WAN-specific commands after 60-fff-gateway.conf this patch should provide the correct device-specific value for WAN interface now. Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> [Rephrased commit title and added message] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Fabian Blaese authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
So far, if build fails, but images from last successful build are present in OpenWrt build directory (build/bin/targets/...), those are copied even after unsuccessful build. This results in the old images being copied to the bin folder and being labelled with the new firmware revision. (!) As our error check also only looks at whether images are there, the image copying process will look like a success. This patch deletes old images of the target/subtarget to be built, so that the copy-firmware step will find nothing if the build stop to early. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Sep 30, 2019
-
-
Fabian Bläse authored
babeld filters routes before announcing them with the redistribute filters. Users might add unknown public subnets to the client interface, so redistribute filters have to be generated for these addresses. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Tested-by:
Fabian Bläse <fabian@blaese.de>
-
- Sep 29, 2019
-
-
Fabian Bläse authored
This adds two checks: - Does gateway config exist? - Does gateway config version match? Signed-off-by:
Fabian Bläse <fabian@blaese.de> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Acked-by:
Christian Dresel <fff@chrisi01.de>
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
- Aug 21, 2019
-
-
Adrian Schmutzler authored
In d9ec8edb ("batman-adv: Move from DEBUGFS to batctl") we switched from deprecated DEBUGFS to batctl. Despite debugfs, batctl seems to also have deprecated sysfs (https://www.open-mesh.org/news/90 ). This patch thus replaces a reference to iface_status by the corresponding batctl command. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Alexander Gutzeit authored
This renames two options for wireguard interfaces in /etc/config/gateway: public_key -> remote_public_key private_key -> local_private_key Signed-off-by:
Alexander Gutzeit <alexander.gutzeit@web.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> [adjusted commit message/title, added version bump, remove rename for network config] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Aug 13, 2019
-
-
Robert Langhammer authored
"ip" is one of the most essential tools on a gateway. At the moment there is only one dependency to the metapackage ip from the nodewatcher, which pulls ip-tiny. Dropping the nodewatcher causes a fallback to the busybox built-in ip-command. Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> [fabian@blaese.de: rebase onto master] Signed-off-by:
Fabian Bläse <fabian@blaese.de>
-
Fabian Bläse authored
This package adds gateway.d scripts which create peering interfaces using wireguard. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
When the user removes a peer from /etc/config/gateway, the script has to be able to find any leftover configurations that have been created for it. This can be made very easy by prepending a prefix to every automatically generated configuration. This also allows to remove the nasty check for the babeld default interface. Therefore the naming check for cfg* also can be removed. As a side effect all manually created configuration blocks that do not match a prefix will not be touched by configuregateway. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
Various things have to be done for every interface on which babeld shall run. Those procedures are moved into functions to reduce duplicate code. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
- Jul 22, 2019
-
-
Adrian Schmutzler authored
This adds a line containing the device name and the current firmware version to the MOTD shown after logging in via SSH, e.g. > TP-Link TL-WR1043N/ND v2 @ jubtl9_20190320 Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Fabian Blaese authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
Previously, when configurehood switched status, all WiFi devices were completely rewritten and all interfaces were deleted and recreated. This is both unnecessary and ugly. This patch redesigns WiFi setup to create all interfaces (in parallel) initially, and then only to enable/disable them as necessary. Where reconfiguration is necessary, only the variable parts are changed. Since most of the wifi-device config is already created by OpenWrt, this builds based on the existing wifi-devices and only removes the default wifi-ifaces. This patch will not change the logic (codeflow) of configurehood, but only affects how action on the WiFi devices/interfaces is taken. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
The two different names "wXmesh" and "wXibss" have no functional purpose and are just for indication. Remove this distinction, so mesh is just mesh. This will make further adjustment easier and clearer. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Jul 06, 2019
-
-
Robert Langhammer authored
Removing the tunneldigger, this patch is no longer needed. Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Robert Langhammer authored
Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> [Bump PKG_RELEASE and SCRIPT_VERSION] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Robert Langhammer authored
Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> [Bump PKG_RELEASE] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Robert Langhammer authored
Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> [Rebased, updated PKG_RELEASE] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Jul 02, 2019
-
-
Adrian Schmutzler authored
It is not always necessary to add a host route for the gre peer address. This introduces a new config option 'nohostroute' (similar to the option introduced for wireguard in d8e2e19) to allow to disable the creation of those routes explicitely. This is a backport from OpenWrt master. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
OpenWrt saves additional config (and other) files included with list_changed_conffiles in /sbin/sysupgrade. This is only active since openwrt-18.06, since before that it was suppressed by missing opkg. Since we expect to only save what is in sysupgrade.conf, remove the additional file list (and thus regain pre-openwrt-18.06 behavior). Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Jul 01, 2019
-
-
Adrian Schmutzler authored
The symbols BUSYBOX_CONFIG_WGET and BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT are set in different packages and do not correlate with where Busybox wget is actually used. This updates packages dependencies based on the current situation. Note that with current firmware, both two versions of wget are installed: /bin/wget /usr/bin/wget The latter is from busybox and is used as the default version. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
PKG_VERSION is meant to refer to the version of external packages, as we do e.g. in the tunneldigger package. For our own packages, we just need the PKG_RELEASE variable. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> [Rebased onto current state of master] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
Although this tag is very old, this is how PKG_VERSION is meant to be used. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Jun 22, 2019
-
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> [freifunk@adrianschmutzler.de: Added Portorder] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Fabian Bläse authored
This adds a configuration script to allow configuration of babel with configuregateway. Signed-off-by:
Fabian Bläse <fabian@blaese.de>
-
- Jun 16, 2019
-
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Jun 15, 2019
-
-
Adrian Schmutzler authored
This hasn't been used since it was replaced. Remove it. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-