- Dec 22, 2017
-
-
Robert Langhammer authored
We do not use encrypted tunnels, so we can use urandom generating the keys to prevent blocking due to low entropy. Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Nov 13, 2017
-
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
- Nov 12, 2017
-
-
Adrian Schmutzler authored
This includes the new options introduced due to the /etc/config/fff file into the WebUI. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Update notification is enabled by default. If required, this allows disabling it permanently. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This implements an upgrade safe solution for the PoE passthrough on multiple devices. Since LEDE already provides the relevant settings, a check whether those are in place enables both identification of affected devices and automatic deactivation if parameters are changed. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This moves the FFF configuration from /etc/config/system to a new file /etc/config/fff. Thus, this file can be copied as a whole during upgrade (with compatibility provided) and then resulting values in other files are re-set later. This also fixes the bandwidth settings not being persistent during upgrade. Other settings may join ... I tried to go through all the code and update all occurrences of the relevant system variables (looking for "system" both in GitHub and my local src folder). Note that a downgrade will result in loss of configuration! Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-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
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This patch introduced more detailed information about the hood in the WebUI, i.e. channel and SSIDs. The patch includes a reorganization of the columns. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Tested-By:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Fabian Blaese authored
This adds missing ROUTERMAC variable for CPE510 Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Fabian Blaese authored
Using wifi devices makes it possible to get mac address without having to configure wifi networks. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Tested-By:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> - Increment package version Signed-off-by:
Tim Niemeyer <tim@tn-x.org>
-
Tim Niemeyer authored
During system boot, the dependency of alfred to the bat0 interface is problematic. In some circumstances (no eth mesh and no wifi mesh), the mesh interfaces are disabled, the bat0 interface is removed and the station mode is entered. Because alfred is started after the station mode (current boot order), it doesn't start up with the missing bat0 interface. Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Tested-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Tim Niemeyer authored
Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Tested-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de>
-
Fabian Blaese authored
Some JSON beautifiers put spaces between identifier and value. This is necessary to tolerate that. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Fabian Blaese authored
This makes use of the SWITCHDEV variable to ensure that the correct interface is used for mac address fixing on devices, that do not use eth0 for the switch. Signed-off-by:
Fabian Bläse <fabian@blaese.de> 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>
-
- Nov 04, 2017
-
-
Adrian Schmutzler authored
Prepares a subtarget variable for cases where it is not 'generic' Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> - Rebased Signed-off-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Tim Niemeyer authored
Move the variable definition to the implementation file. This is more intuitive and the variable is not used otherwise. Signed-off-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
We only want to remove WiFi interfaces, not devices during reconfiguration. This still allows for complete reconfiguration, but does not remove device attributes like a disabled 5 GHz or similar. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Some MAC adresses were forgotten/not updated in a previous patch. This is fixed now. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
- Nov 03, 2017
-
-
Adrian Schmutzler authored
This is based on the LEDE pull request as on 2017-10-17. Tested successfully on device (including flashing factory image, no TFTP). Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This patch achieves multiple goals: - Align WR841 boardnames with image names - Fix wrong name replace in sysupgrade - Support sysupgrade of WR841 v12 Signed-off-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 adds information to the switch port overview and shows the VLAN configuration. For some routers the port order is provided, so the physical arrangement is resembled in the Web UI. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-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:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Fabian Blaese authored
This allows for more latitude when evaluating the addresses needed for br-mesh and ethmesh. Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Tested-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Adrian Schmutzler authored
The ROUTERMAC is not set in the network.* file. This causes a problem when the ULA addresses are set based on the br-mesh MAC. If we just add the ROUTERMAC, everything should be fine. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
This puts the code for creating IPv6 addresses from MAC address and EUI into functions, so it can be reused. This should be particularly helpful if code is rewritten later. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
- Nov 02, 2017
-
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Tested-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Robert Langhammer authored
Signed-off-by:
Robert Langhammer <rlanghammer@web.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> Reviewed-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Fabian Bläse <fabian@blaese.de> Tested-by:
Fabian Bläse <fabian@blaese.de>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
Since names may change, this puts the relevant file names for hood files into variables, so they can be changed at once without the risk of forgetting some occurrences. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Fabian Blaese authored
Signed-off-by:
Fabian Bläse <fabian@blaese.de> Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
While the hood file is only set by the keyexchange/hood, this introduces a local additional configuration in a second file. This file is retrieved from the first configap we got in w2sta mode, of which we save the fdff address to identify it later. Thus, a router always "knows" its specific uplink, as long as the gateway connection is stable; otherwise: reset. The implementation is similar to the hoodfiles with a tmp version and a copy in the /www/public. On the "section head", the initial configuration is located in /etc/sectorfile and distributed from there to other nodes. Syntax should be like the node file, except that it only contains the values to be overwritten. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
Adrian Schmutzler authored
This prevents setup if a channel is missing (json defective) Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by:
Fabian Bläse <fabian@blaese.de> Reviewed-by:
Christian Dresel <fff@chrisi01.de> Reviewed-by:
Robert Langhammer <rlanghammer@web.de>
-
- Oct 25, 2017
-
-
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>
-
- Oct 16, 2017
-
-
Adrian Schmutzler authored
Since disabling 5 GHz is complicated with KeyXchange v2, we enable it again. This may lead to an instable device! This reverts commit f47e0462. Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Since there is a PKG_NAME variable, there is no need to repeat the individual package name five times. This makes editing and particularly copying Makefiles much easier, as only the PKG_NAME has to be changed. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
This fixes a missing /tmp/keyxchangev2data due to gateway misconfiguration. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org> - Added double quote around $jsonfile Signed-off-by:
Tim Niemeyer <tim@tn-x.org>
-
Adrian Schmutzler authored
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by:
Tim Niemeyer <tim@tn-x.org>
-