[PATCH] fff-network: Make CLIENT default status for one-/two-port devices

Adrian Schmutzler mail at adrianschmutzler.de
Do Okt 25 16:39:01 CEST 2018


Applied.

 

Ich habe das anfangs ähnlich gesehen, deshalb habe ich erst etwas daran geändert, als sich die Anfragen gehäuft haben…

 

From: franken-dev [mailto:franken-dev-bounces at freifunk.net] On Behalf Of Fabian Bläse
Sent: Donnerstag, 25. Oktober 2018 16:05
To: Adrian Schmutzler <freifunk at adrianschmutzler.de>; franken-dev at freifunk.net
Subject: Re: [PATCH] fff-network: Make CLIENT default status for one-/two-port devices

 

Hallo Adrian, 

ich finde für jede der möglichen Portkombinationen mindestens einen Grund, warum man das als default haben wollen würde. Daher wäre eigentlich "aktuelles Verhalten beibehalten" für mich das naheliegende.

Geräte können ja immer auch per Link-Local Adresse + ssh konfiguriert werden. Sowohl auf BATMAN, WAN, als auch CLIENT. 

Aber da es mir schlussendlich egal ist und CLIENT vermutlich doch das sinnvollste ist, weil man im Zweifel von dort aus auf jedem bekannten Weg (WebUI, ssh, ..) in jeden Modus kommt...

Reviewed-by: Fabian Bläse <fabian at blaese.de <mailto:fabian at blaese.de> > 

Fabian 

On 19.09.18 00:44, Adrian Schmutzler wrote: 
> The V2 firmware requires initialization of the WiFi interfaces 
> by a hood file. If a one-port (or two-port) device is isolated, 
> it won't get this information from other WiFi nodes (w2sta mode). 
> 
> In addition, it cannot be connected to the internet, as this would 
> require the port to be in WAN mode. It is also not possible to 
> connect a client device for configuration, since WiFi is not 
> configured and the LAN port is in BATMAN mode. 
> 
> To enable configuration of an isolated one-port/two-port device, 
> this patch thus changes the default port config to CLIENT, so 
> the user can choose the desired configuration more easily. 
> 
> For two-port, we will have one port WAN and the second port 
> CLIENT. 
> 
> Fixes #110 
> 
> Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de <mailto:freifunk at adrianschmutzler.de> > 
> --- 
>  src/packages/fff/fff-network/ar71xx/network.mode | 4 ++-- 
>  1 file changed, 2 insertions(+), 2 deletions(-) 
> 
> diff --git a/src/packages/fff/fff-network/ar71xx/network.mode b/src/packages/fff/fff-network/ar71xx/network.mode 
> index 09cd715f..f3a27939 100644 
> --- a/src/packages/fff/fff-network/ar71xx/network.mode 
> +++ b/src/packages/fff/fff-network/ar71xx/network.mode 
> @@ -22,9 +22,9 @@ 
>  ## For example this is the case for: gl-ar150, tl-mr3020-v1, tl-wa850re-v1, 
>  ## tl-wa860re-v1, tl-wa901nd-v2, ubnt-bullet-m, ubnt-loco-m-xw, ubnt-nano-m, 
>  ## ubnt-unifi 
> -ETHMODE="BATMAN" 
> +ETHMODE="CLIENT" 
>  ## Devices featuring 2 ethernet ports are configured by SPECIFIERs ressembling 
>  ## the labels on the PORT itself. For the cpe210 these are called LAN0 and LAN1. 
>  ## Therefore they are configured as follows: 
>  LAN0MODE="WAN" 
> -LAN1MODE="BATMAN" 
> +LAN1MODE="CLIENT" 
> 

 
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20181025/e7f45924/attachment.html>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 834 bytes
Beschreibung: nicht verfügbar
URL         : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20181025/e7f45924/attachment.sig>


Mehr Informationen über die Mailingliste franken-dev