From 71414db521f4a798e55b25176305f14c10438503 Mon Sep 17 00:00:00 2001 From: Grische Date: Tue, 31 Oct 2023 13:42:04 +0100 Subject: [PATCH] site: add ffac-ssid-changer (cherry picked from commit c749e7e7016b50ac1db4f0d08336a1d0891dc99a) --- site.conf | 9 +++++++++ site.mk | 1 + 2 files changed, 10 insertions(+) diff --git a/site.conf b/site.conf index 627e1cfe..3e88c164 100644 --- a/site.conf +++ b/site.conf @@ -132,5 +132,14 @@ }, }, }, + + ssid_changer = { + enabled = true, + switch_timeframe = 15, -- only once every timeframe (in minutes) the SSID will change to the Offline-SSID + first = 5, -- the first few minutes directly after reboot within which an Offline-SSID may be activated every minute + prefix = 'offline.ffmuc.net/', -- use something short to leave space for the nodename (no '~' allowed!) + suffix = 'nodename', -- generate the SSID with either 'nodename', 'mac' or to use only the prefix: 'none' + tq_limit_enabled = false, -- incompatible with Batman V. The offline SSID will only be set if there is no gateway reacheable. + }, } -- vim: set ft=lua:ts=2:sw=2:et diff --git a/site.mk b/site.mk index c6503b50..4e2da885 100644 --- a/site.mk +++ b/site.mk @@ -32,6 +32,7 @@ GLUON_MULTIDOMAIN=1 # chosen feature flags GLUON_SITE_PACKAGES := \ + ffac-ssid-changer \ ffho-ap-timer \ ffho-autoupdater-wifi-fallback \ ffho-web-ap-timer \