- 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>
-
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>
-
Adrian Schmutzler authored
These packages are pulled automatically by OpenWrt where needed. 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
We use simple-tc for traffic shaping. If those packages are actually dependencies of other packages, they should be added there. 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
Looks like we do not need this package. 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
When using IPv6 addresses (or DNS which has AAAA record) as endpoint, add_host_dependency fails for some reason which causes the wireguard interface to disappear. This patch backports an option from OpenWrt master, where host_dependency can be disabled by adding 'option nohostroute 1' to the interface. This is an alternate approach based on the work of Fabian Bläse. 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>
-
- Apr 10, 2019
-
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
The buildscript knows two different types of patches, which are applied to pulled-in repositories: 1. Feed patches Those are applied as "GIT patches" to the relevant repos, directly after those have been checked out. They reside in subfolders of the build_patches folder, and have to be selected individually and manually in the buildscript.sh. 2. Build patches Those are applied later in the process, just using the system patch tool, and changing the $target directory. All patches in the folder "build_patches/openwrt" are read and applied automatically. This is both inconsistent (two different types of patches in the same dir) and annoying (feed patches have to be specified by hand), especially for unexperienced developers. This patch addresses this by: - separating files into two dirs: build_patches and feed_patches - automatically scanning feed patches and thus having similar experience for the user (I cannot think of a case where we provide a patch, but do not use it) Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.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 18, 2019
-
-
Fabian Blaese authored
When adding support for a previously-generic device, the correct MIPS MACH has to be added. The compiled image will lead to bootloops otherwise. Because this might not be obvious, a note is added to the READMEs section about supporting a new device. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Feb 10, 2019
-
-
Adrian Schmutzler authored
In OpenWrt 18.06.2, tiny devices have increased in size so that another packages removal is requires. Fixes #122. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Adrian Schmutzler authored
So far, we only saw the files affected, but not the patch used. 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>
-