- Aug 13, 2019
-
-
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>
-
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
-
-
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 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 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>
-
Fabian Bläse authored
Because DNS Forwarding is done by dnsmasq which we configure inside the fff-dhcp package, the configuration scripts for dns are placed in this package. 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> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
- May 31, 2019
-
-
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> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
User configuration for layer3 firmware is stored in /etc/config/gateway. To preserve this file across updates it is added to sysupgrade.conf Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Bläse authored
fff-gateway is mandatory when compiling layer3 firmware. 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
This will prevent batman-adv packet fragmentation on 802.11s mesh. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
This interface was using 1500 anyway and setting ethernet to MTU > 1500 might not be a good idea. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
When running OpenWrt master, "type <functionname>" only returns "<functionname> is a function". Thus, to make the implementation future-proof and since it is also working with the current state, change the grep in execute_subshell to match "function". Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
At the moment sysupgrade via WebUI is broken on many devices. This is reproducible: While the (few) status messages seem normal, the device boots again with the old firmware. Sysupgrade via SSH always works. The sysupgrade call in upgrade.html directly uses the path of the uploaded firmware file as argument. From several tests and based on caught stdout/stderr from this line, it looks like haserl deletes the uploaded firmware file due to a hidden trigger before or even while it is processed by sysupgrade. The easiest way to work around that is to just rename the file before using it as argument to sysupgrade. This will preserve the file DURING sysupgrade. If sysupgrade fails explicitly (status code != 0), remove the file to provide sufficient memory for another upload. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
- May 25, 2019
-
-
Fabian Blaese authored
This adds scripts to configure vlan and client network. This also adds sysctl settings to enable forwarding. Note: Devices specific properties are sourced from fff-network package. This creates a dependency on fff-boardname and fff-network. These properties should be located elsewhere in the future. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
This provides the CPUPORT which is needed for the gateway firmware. The script is supposed to be sourced. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- May 09, 2019
-
-
Fabian Bläse authored
This adds a configuration script for applying hostname, coordinates, hoodname and contact address. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Fabian Bläse authored
This introduces a new script for simple gateway configuration. The main configuregateway script is able to execute functions for various steps like 'configure' or 'apply' from scripts in /etc/gateway.d. This makes it easy to distribute configuration to the appropriate packages. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
- Apr 15, 2019
-
-
Adrian Schmutzler authored
Since batctl can suppress headers, we do not have to count lines. Cosmetical change. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
This might reduce the chance to break devices with 32 MB RAM during sysupgrade. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Mar 27, 2019
-
-
Adrian Schmutzler authored
The debug filesystem will be deprecated and disabled by default in newer versions of B.A.T.M.A.N. This patch switches our code to the batctl, as recommended. Since batctl can suppress headers, this actually makes our life easier ... Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
- Feb 10, 2019
-
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Adrian Schmutzler authored
This fixes a typo in description and introduces a single variable for the sysctlfile. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Adrian Schmutzler authored
This is just meant to make image names shorter. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
- Feb 05, 2019
-
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Currently, Makefile use a mixture of tabs and spaces with various indents. This harmonizes all Makefiles to use tab indentation only. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Since we went on to the KeyXchangeV2, fff-vpn-select is a pure subpackage/utility of fff-hoods. Thus, we should not manually select it, but have it selected indirectly by fff-hoods. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-