[PATCH 0/3] configurenetwork: fix the most terrible issues

Adrian Schmutzler freifunk at adrianschmutzler.de
Mi Aug 5 22:39:56 CEST 2020


I just debugged and repaired a Nanostation that created a WAN/CLIENT
loop with another one connected to the second port for PoE support.

During that, I recognized that the broken configurenetwork is
actually that broken that this szenario will be realized in every
similar setup in default configuration (!).

Since no major overhaul of network setup is excepted in the near
future, let's "fix" the most terrible issues in configurenetwork
for now.

This explicitly does not try to improve the general concept, but
just aims at microscopic issues and fixes them by minimal-invasive
actions.

Adrian Schmutzler (3):
  fff-network: fix broken statement in configurenetwork
  fff-network: fix unintended wan=eth1 for two-port devices
  fff-network: fix code flow for one-port devices in configurenetwork

 src/packages/fff/fff-network/Makefile         |   2 +-
 .../fff/fff-network/files/etc/config/network  |   2 +-
 .../files/usr/sbin/configurenetwork           | 108 +++++++++---------
 3 files changed, 57 insertions(+), 55 deletions(-)

-- 
2.20.1



Mehr Informationen über die Mailingliste franken-dev