[PATCH v3] fff-hoods: Use channel provided by gateway
Christian Dresel
fff at chrisi01.de
Di Okt 10 17:09:57 CEST 2017
hi
On 09.10.2017 17:56, Fabian Bläse wrote:
> From: Adrian Schmutzler <freifunk at adrianschmutzler.de>
>
> Only apply after keyXv2 patchset!
>
> Changes in v2:
> - rebase due to conflict with 802.11s
>
> Changes in v3:
> - Fix wrong variable name introduced in v2
>
> Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
> Signed-off-by: Fabian Bläse <fabian at blaese.de>
> ---
> src/packages/fff/fff-hoods/files/usr/sbin/configurehood | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/packages/fff/fff-hoods/files/usr/sbin/configurehood b/src/packages/fff/fff-hoods/files/usr/sbin/configurehood
> index 6ff7104..cf5a84b 100755
> --- a/src/packages/fff/fff-hoods/files/usr/sbin/configurehood
> +++ b/src/packages/fff/fff-hoods/files/usr/sbin/configurehood
> @@ -74,8 +74,8 @@ else
> fi
> #now we look for phy and add this
> for phy in $(iw phy | awk '/^Wiphy/{ print $2 }'); do
> - radio="$(wifiAddPhyCond "$phy" "2" "$chan2ghz")"
> - radio5="$(wifiAddPhyCond "$phy" "5" "$chan5ghz")"
> + radio="$(wifiAddPhyCond "$phy" "2" "auto")"
> + radio5="$(wifiAddPhyCond "$phy" "5" "auto")"
> [ -n "$radio5" ] && radio="$radio5"
>
> #and here we add the station
> @@ -125,10 +125,10 @@ if [ -s /tmp/keyxchangev2data ]; then
> json_get_var essid essid
> json_get_var ntpip ntp_ip
> # i think the next things we don't active this in the first version! we can do it later
auch hier passt der Kommentar nicht mehr, bitte mit
http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/2017-October/012859.html
absprechen damit sich hier nix überschneidet ;)
mfg
Christian
> - #json_get_var channel2 channel2
> + json_get_var chan2ghz channel2
> #json_get_var mode2 mode2
> json_get_var mesh_type2 mesh_type2
> - #json_get_var channel5 channel5
> + json_get_var chan5ghz channel5
> #json_get_var mode5 mode5
> json_get_var mesh_type5 mesh_type5
> #json_get_var protocol protocol
>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 833 bytes
Beschreibung: OpenPGP digital signature
URL : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20171010/a6c296b6/attachment.sig>
Mehr Informationen über die Mailingliste franken-dev