firmware/src/packages/fff
Fabian Bläse 240a506ee7 fff-network: convert GL-AR150 to TWOPORT
The GL-AR150 has two ethernet ports. One of them is connected directly
to the CPU (labeled "WAN"), while the other one (labeled "LAN") is
connected to the internal switch of the AR9330 platform.

Previously, this device had its own codepath in configurenetwork,
utilizing the ETHPORT variable, so the single physical port of the
switch could be connected to either the CLIENT or BATMAN vlan of the
SWITCHPORT.

When adding support for TWO_PORT devices, this codepath was accidentally
removed, so the LAN-Port was not configured anymore.

Configuring the internal switch is not necessary when only a single
physical port ist connected to it. Instead, leave the switch
unconfigured, so it behaves like an unmanaged vlan-transparent switch.

As we support TWO_PORT devices now, utilize the TWO_PORT codepath
(instead of the ONE_PORT codepath, which would be equivalent to the old
behaviour) to make both ports configureable. To retain the previously
configured mode of the LAN-Port, migrate ETHPORT to LAN1MODE before
executing configurenetwork.

Fixes: #222
Fixes: c22032e254 ("fff-network: support native two-port devices")

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Tested-by: Sebastian Beck <freifunk@beibecks.de>
2022-03-31 19:31:12 +02:00
..
alfred-json treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-alfred treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-alfred-monitoring-proxy treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-babel fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-babel-bird2 fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-babeld fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-base Simplify firmware variant selection 2022-03-31 19:17:01 +02:00
fff-batman-adv treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-boardname Add support for x86_64 2022-03-11 12:34:59 +01:00
fff-config fff-config: Set panic on OOM 2022-03-05 18:19:13 +01:00
fff-dhcp fff-dhcp: increase dns cachesize 2022-03-05 19:31:00 +01:00
fff-fastd fff-fastd: fix fastd start/stop 2022-03-23 19:47:38 +01:00
fff-firewall treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoods treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoodutils treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-layer3 fff-layer3: Add latency to nodewatcher 2022-03-23 19:47:05 +01:00
fff-layer3-config fff-layer3-config: Always clear client interface list completely 2022-03-05 18:19:02 +01:00
fff-layer3-snat treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-macnock Unify package URL in fff-packages 2021-11-10 13:42:03 +01:00
fff-mqtt treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-mqtt-monitoring treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-network fff-network: convert GL-AR150 to TWOPORT 2022-03-31 19:31:12 +02:00
fff-node treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-nodewatcher fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-ra treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-random treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-simple-tc treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-support treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-sysupgrade treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-timeserver treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-uradvd fff-uradvd: Add reload trigger for network 2022-03-05 18:17:25 +01:00
fff-vpn-select fff-vpn-select: do not configure peers on vpn-stop 2022-03-23 19:47:22 +01:00
fff-vxlan-node-vpn treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-hood treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-mqtt treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-ui treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-wireguard Add support for different babel implementations 2022-03-23 19:46:30 +01:00
fff-wireless OpenWrt: bump to v21.02.2 2022-03-05 18:09:49 +01:00