firmware/src/packages/fff
Adrian Schmutzler c22032e254 fff-network: support native two-port devices
Support native two-port devices by adding TWO_PORT variable and
exploiting the LAN0PORT and LAN1PORT variables designed for the
TP-Link CPE devices. Since the latter have been converted to
real two-port devices, we can now repurpose these variable for
the new setup.

This exploits the existing WANDEV and SWITCHDEV variables to
define the primary and secondary interfaces.

Note that by default this takes the initial values from network.mode,
so if initial WAN/CLIENT should swapped, this has to be added to
the relevant network.* file of the devices.

No device-specific changes are done in this patch.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
2021-07-09 10:04:10 +02:00
..
alfred-json treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff fff: create proper package variants instead of copying file 2021-02-09 22:54:05 +01:00
fff-alfred packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-alfred-monitoring-proxy fff-alfred-monitoring-proxy: remove ebtables entry 2021-02-27 14:29:50 +01:00
fff-babeld Revert "fff-babeld: Add rule to lookup in fff table for everything except wireguard" 2021-01-31 14:05:26 +01:00
fff-batman-adv treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-boardname packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-config treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-dhcp fff-dhcp: fix indexing and output in uci-defaults 2021-02-09 22:59:18 +01:00
fff-fastd packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-firewall fff-firewall: Add ipv4 ssh connection limit 2021-02-27 14:48:10 +01:00
fff-hoods fff-hoods: Allow correct ula_prefix syntax in hoodfiles 2021-01-31 14:08:09 +01:00
fff-hoodutils treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-layer3 packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-layer3-config treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-macnock treewide: rename br-mesh to br-client 2020-12-22 13:41:44 +01:00
fff-network fff-network: support native two-port devices 2021-07-09 10:04:10 +02:00
fff-node packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-nodewatcher treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-ra packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-random treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-simple-tc packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-support treewide: update names for OpenWrt 20.xx 2021-06-08 20:01:54 +02:00
fff-sysupgrade fff-sysupgrade: Keep ed25519 and ecdsa host key on system upgrade 2021-06-20 20:23:58 +02:00
fff-timeserver treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-uradvd packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-vpn-select packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-web-hood packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-web-ui fff-network: move PORTORDER to function/library 2021-02-09 22:37:20 +01:00
fff-wireguard fff-wireguard: Adapt for renamed OpenWrt wireguard packages 2021-06-20 20:01:18 +02:00
fff-wireless treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00