- Dec 02, 2018
-
-
Fabian Blaese authored
USB support is removed because of very limited flash. This allows building for tl-mr3020 again. USB support has no known use case for this firmware. Most usb devices would require additional drivers anyway. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Nov 27, 2018
-
-
Fabian Blaese authored
Instead of manually overwriting basic and supported rates, this patch makes use of a new OpenWRT option "legacy_rates", which disables 802.11b data rates. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Adrian Schmutzler authored
So far, the Monitoring evaluates hoods based on their names. This introduces several problems, most prominently a hood re-creation if it is renamed at the KeyXchange. Since we have unique hood IDs in the KeyXchange and the Monitoring retrieves those via hoods.php, it is logical use this information instead of relying on string comparison. This requires the hood files to contain an additional field "id". While this has not been implemented, the changes in this patch will still work and just write empty data to the uci field and alfred data. For local hoods, the "id" in the hood file will remain unset. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Fabian Blaese authored
When setting up a node, router solicitations can be used to speed up receiving router advertisements a lot. This mechanism has been previously disabled by our custom sysctl config. However because linux does not send router solicitations, if it doesn't accept router advertisements, which is disabled for every link except WAN, this option can safely be set to it's default value for all interfaces. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
- Nov 21, 2018
-
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Since the MacNocker was introduced, the hood information in UCI is DELETED if the hood is lost. If the router still successfully sends alfred data in this state, the Monitoring will treat it as a V1 device. This is annoying, especially since it looks like a loop. An easy solution is to send an empty <hood> field in those cases, as V2 routers are detected by them knowing their hood. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
- Nov 12, 2018
-
-
Robert Langhammer authored
This sysfs option no longer exists. The no_rebroadcast option was used as part of gluon’s batman-adv-legacy implementation, after open-mesh decided to not include it into batman-adv v14: https://patchwork.open-mesh.org/patch/3434/ Our firmware has included (and enabled) it since December 2013. With the upgrade to batman-adv v15 (pulled from openwrt-routing then) in October 2017, the custom patch was no longer included. It looks like open-mesh provides an equivalent built-in solution now: https://git.open-mesh.org/batman-adv.git/commit/a00797d8fa8fd1471e8be1ac23d506f76d866aaa Thus, the option can be removed. Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Fabian Blaese authored
The "ipv4" option is used to enforce using ipv4 when using dns for fastd remotes. However this option was incorrectly always set which makes ipv6 connections impossible. Because enforcing ipv4 is not necessary, this option is removed. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Tested-by:
Fabian Bläse <fabian@blaese.de>
-
- Nov 07, 2018
-
-
Adrian Schmutzler authored
This is based on the configurehood-Patch from Tim Niemeyer. 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
This is based on a similar patch from Tim Niemeyer. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Oct 31, 2018
-
-
Adrian Schmutzler authored
Instead of having 1000 routers accessing the KeyXchange in the same second, this will dilute the request within a period of 15 seconds. Same is done for queries from gateways. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
- Oct 25, 2018
-
-
Adrian Schmutzler authored
The V2 firmware requires initialization of the WiFi interfaces by a hood file. If a one-port (or two-port) device is isolated, it won't get this information from other WiFi nodes (w2sta mode). In addition, it cannot be connected to the internet, as this would require the port to be in WAN mode. It is also not possible to connect a client device for configuration, since WiFi is not configured and the LAN port is in BATMAN mode. To enable configuration of an isolated one-port/two-port device, this patch thus changes the default port config to CLIENT, so the user can choose the desired configuration more easily. For two-port, we will have one port WAN and the second port CLIENT. Fixes #110 Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Harald Thuemmler <int@bnhof.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
The previous version seemed to work only for numeric data. Fixes #113 Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
nodewatcher and configurehood have both been run with */5 in micrond. This may lead to nodewatcher accessing information just being changed by configurehood. To prevent this, we just change the start of configurehood, as this has no known disadvantages. A change of the nodewatcher start would also solve the problem, but nodewatcher is synchronized to the alfred-master and the Monitoring. Fixes #96. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Oct 24, 2018
-
-
Tim Niemeyer authored
- make USB optional - remove uboot-env tools for mr3020 Signed-off-by:
Tim Niemeyer <tim@tn-x.org> [fabian@blaese.de: Don't strip libs] Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
OpenWRT changed their structure to use sysctl.d subfiles. The default sysctl.conf is empty and kernel.panic=3 is defined elsewhere. Thus, we do not need sysctl.conf anymore. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Fabian Bläse <fabian@blaese.de> [Set PKG_RELEASE back to 1] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
The syntax " -m state --state " seems to be not supported anymore. The replace should not change behavior compared to lede-17.01-based firmware. Added required dependency. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> [fabian@blaese.de: Add missing ATH79 MACHs] Signed-off-by:
Fabian Bläse <fabian@blaese.de> Acked-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
Refresh patches. Bumps batman-adv to 2018.1 This goes beyond 18.06.0 since the release contains bug which have been fixed in the later snapshots. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> [fabian@blaese.de: Use 18.06.1 for OpenWRT and packages] Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Sep 17, 2018
-
-
Robert Langhammer authored
Fixes: #101 Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
Like the network.* files, this introduces wifi.* files to set device-specific settings. In contrast to the former, the wifi.* settings are only run during firstboot and only if there is a file present. In this patch, we set the antenna gain values for the devices not treated correctly in OpenWRT. Side conditions: - The script requires 50-fff-boardname and 60-fff-wireless beforehand, so I chose 62 as number. - The wifi command is not necessary, since after firstboot configurehood will run "wifi" in any case Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Signed-off-by:
Tim Niemeyer <tim@tn-x.org> - Changed to base on the ubnt board names Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Aug 11, 2018
-
-
Tim Niemeyer authored
The vpn-select is used by fff-hoods. Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Tim Niemeyer authored
Seems like the /etc/config/fff is owned by fff-config. Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Aug 06, 2018
-
-
Tim Niemeyer authored
The community file is not used anymore. Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Aug 02, 2018
-
-
Adrian Schmutzler authored
By removing the reference to the hood file from vpn-select, we remove the entire dependency from fff-hoodutils. vpn-select will now work with any file provided, as long as it has the correct syntax. At the moment, the only provider is the configurehood script. Since the various hood file variants are handled there, it seems logical that configurehood also chooses and provides the correct hood file for vpn-select, instead of vpn-select which had no other contact with hood file choice. This is simple, tidy and effective. Adjusted some comments. Fixes #106 Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Jul 26, 2018
-
-
Robert Langhammer authored
Remove double square bracket. [[ is a bash or ksh built-in, and cannot be used in a #!/bin/sh script. Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Robert Langhammer authored
== is a bash specific alias for = , and should not be used in #!/bin/sh scripts. Not in #!/usr/bin/haserl scripts either, where the shell defaults to /bin/sh. Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> - rebased Signed-off-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This is simpler than the previous approach and does not rely on parsing. This fixes: - Interfaces being accounted for multiple times for certain devices - Errors when output of bridge function changes (as with the current OpenWrt master) Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Jul 25, 2018
-
-
Fabian Blaese authored
This patch suppresses the messages batman writes to the kernel log when gw_mode is changed. This is done to avoid spamming the log with negligible messages when gw_mode is switched frequently. Fixes: #93 Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
Timestamps in hood file currently only change if changes are made. Thus, there is no reason to remove them for comparison. This also fixes the wrong quote characters in the script, which changed the script in a way the timestamps aren't removed right now anyway. After this change, a hood reconfiguration may be triggered by just changing the timestamp at the keyxchange. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
With this patch, changing the hood file happens in memory, so we do not have to write on flash "frequently". Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This will copy to hoodfilewww every 5 minutes! Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
At the moment, we use the same file for detecting changes in a new hood file and for broadcasting the hood information to be used by mesh routers. However, there may be situations where we don't want to broadcast an existing hoodfile. We, on the other hand, cannot delete it then, as we need the file for checking changes in the temporary hoodfile. We also cannot just switch the wXconfig state to achieve this goal, as we need a trigger to do that (which is the same file we are discussing about). So, in this patch, we introduce two files, one for the checksum comparison and one for the hood info broadcast. Those can now be set and deleted (in a later patch) as it is required by their respective tasks. This should also improve code clarity to the reader ... Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
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> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Robert Langhammer authored
Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Acked-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
To provide data processing information for SSH access without annoying users too much, this adds a pointer to more extensive information to the banner displayed after login. The referenced files then contain similar information to what is shown in the WebUI. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This adds a first version of data processing information to the Web UI's settings page (where the information is entered). Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-