diff --git a/domains/ffdon_baeumenheim.conf b/domains/ffdon_baeumenheim.conf index 473ff54..afb7b21 100644 --- a/domains/ffdon_baeumenheim.conf +++ b/domains/ffdon_baeumenheim.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_donauwoerth.conf b/domains/ffdon_donauwoerth.conf index 045c34b..51dc81c 100644 --- a/domains/ffdon_donauwoerth.conf +++ b/domains/ffdon_donauwoerth.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_harburg.conf b/domains/ffdon_harburg.conf index 70fd77e..2a61b37 100644 --- a/domains/ffdon_harburg.conf +++ b/domains/ffdon_harburg.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_monheim.conf b/domains/ffdon_monheim.conf index de4f7d8..0804800 100644 --- a/domains/ffdon_monheim.conf +++ b/domains/ffdon_monheim.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_noerdlingen.conf b/domains/ffdon_noerdlingen.conf index fc2a880..0c166bb 100644 --- a/domains/ffdon_noerdlingen.conf +++ b/domains/ffdon_noerdlingen.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_oettingen.conf b/domains/ffdon_oettingen.conf index 855348d..6421e8b 100644 --- a/domains/ffdon_oettingen.conf +++ b/domains/ffdon_oettingen.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_rain.conf b/domains/ffdon_rain.conf index 17af95c..83a3721 100644 --- a/domains/ffdon_rain.conf +++ b/domains/ffdon_rain.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_umland.conf b/domains/ffdon_umland.conf index 2b191ac..652d219 100644 --- a/domains/ffdon_umland.conf +++ b/domains/ffdon_umland.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffdon_wemding.conf b/domains/ffdon_wemding.conf index f41e115..9e7ef2e 100644 --- a/domains/ffdon_wemding.conf +++ b/domains/ffdon_wemding.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/domains/ffmuc_ffdon_test.conf b/domains/ffmuc_ffdon_test.conf index cba5814..857b7a1 100644 --- a/domains/ffmuc_ffdon_test.conf +++ b/domains/ffmuc_ffdon_test.conf @@ -46,4 +46,8 @@ }, }, }, + + ssid_changer = { + enabled = true, + }, } diff --git a/modules b/modules index a0c7429..f288c8b 100644 --- a/modules +++ b/modules @@ -1,5 +1,8 @@ -GLUON_SITE_FEEDS='ffms' +GLUON_SITE_FEEDS='ssidchanger ffms' PACKAGES_FFMS_REPO=https://github.com/freifunkMUC/packages-ffms.git PACKAGES_FFMS_COMMIT=c5fe8936983c9aaf9fed07e0a1c045761b7092b5 PACKAGES_FFMS_BRANCH=v2019.1.x + +PACKAGES_SSIDCHANGER_REPO=https://github.com/Freifunk-Nord/gluon-ssid-changer.git +PACKAGES_SSIDCHANGER_COMMIT=f266b9e6328f97354f3b8777d1111ad044be9be5 diff --git a/site.conf b/site.conf index a9df3ec..4e5f7e4 100644 --- a/site.conf +++ b/site.conf @@ -108,4 +108,14 @@ }, }, }, + + ssid_changer = { + enabled = false, -- do not enable by default. Only some domains will enable it + switch_timeframe = 2, -- defines how long it will record the gateway-connectivity. Only if the gateway is not + -- reachable during at least half the checks within switch_timeframe minutes, the SSID will be changed + first = 2, -- the first few minutes directly after reboot within which an Offline-SSID always may be activated + prefix = 'FF_Offline_', + suffix = 'nodename', -- generate the SSID with either 'nodename', 'mac' or to use only the prefix: 'none' + tq_limit_enabled = false, -- if false, the offline SSID will only be set if there is no gateway reacheable + }, }