- Oct 24, 2018
-
-
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>
-
Adrian Schmutzler authored
According to the upstream repo, vis_mode has been removed since batman-adv 2014.0.0. See openwrt-routing/packages 8a66ed1. 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
To reduce the number of possible corner cases in the first keyxchangev2 release, this patch removes the sector file with the intention to add it back after release. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Tested-by:
Fabian Bläse <fabian@blaese.de>
-
- Jun 17, 2018
-
-
Adrian Schmutzler authored
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 patch allows to modify the bs-partition on the AC Mesh. Without the patch, the bs partition on the AC Mesh is locked forever. This can be a problem if a) the bs partition has not been updated correctly during initial flash b) the sysupgrade mechanism is altered by OpenWRT in order to account for the flip flop layout Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
Occationally /proc/net/if_inet6 contains interface IDs with three digits. In this case, the regex in wait_for_ll_address() does not work anymore and alfred is not starting. This patch changes the evaluation so that fields are used instead of the mere position by counting characters. This is a backport from openwrt-routing and can be removed when updating to OpenWRT 18.06, but not for newer versions of 17.01. Fixes #98. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhgammer <rlanghammer@web.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
- Jun 15, 2018
-
-
Fabian Blaese authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhgammer <rlanghammer@web.de>
-
Fabian Blaese authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
- Jun 11, 2018
-
-
Tim Niemeyer authored
Fixes #95 This reverts commit 6cc6b4b7. Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Acked-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Tim Niemeyer authored
Fixes #68 Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Acked-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
- Mar 04, 2018
-
-
Robert Langhammer authored
Fixes #94 Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
- Mar 03, 2018
-
-
Adrian Schmutzler authored
In commit 5c1d3b1f, conditions were changed so that "wifi" is called almost every run directly before the network status (internet vs. gateway contact vs. wXsta). This causes strange effects configurehood and nodewatcher, which is called at the same time. The fix only does "wifi" if required and waits 10 sec. after that. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Tim Niemeyer authored
Fixes #83 Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Tested-by:
Christian Dresel <fff@chrisi01.de>
-
Tim Niemeyer authored
Just disable autoconf. Some sysctl's are currently not available due some missing kernel features. Maybe some day they reappear. Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Tested-by:
Christian Dresel <fff@chrisi01.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Tested-by:
Christian Dresel <fff@chrisi01.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Tested-by:
Christian Dresel <fff@chrisi01.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Tested-by:
Christian Dresel <fff@chrisi01.de>
-
Adrian Schmutzler authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-