add ssid-changer (#45)
This commit is contained in:
parent
efa61ca951
commit
4377835053
6
modules
6
modules
|
@ -1,4 +1,8 @@
|
||||||
GLUON_SITE_FEEDS='ffhb'
|
GLUON_SITE_FEEDS='ffhb ssidchanger'
|
||||||
|
|
||||||
PACKAGES_FFHB_REPO=git://github.com/FreifunkBremen/ffhb-packages.git
|
PACKAGES_FFHB_REPO=git://github.com/FreifunkBremen/ffhb-packages.git
|
||||||
PACKAGES_FFHB_COMMIT=e314a51ebbd5e8b6da3ab2744354869b7740913a
|
PACKAGES_FFHB_COMMIT=e314a51ebbd5e8b6da3ab2744354869b7740913a
|
||||||
|
|
||||||
|
PACKAGES_SSIDCHANGER_REPO=https://github.com/freifunk-nord/gluon-ssid-changer.git
|
||||||
|
PACKAGES_SSIDCHANGER_COMMIT=f266b9e6328f97354f3b8777d1111ad044be9be5 # <-- set the newest commit ID here
|
||||||
|
PACKAGES_SSIDCHANGER_BRANCH=2018.1.x
|
||||||
|
|
18
site.conf
18
site.conf
|
@ -119,6 +119,24 @@
|
||||||
zoom = 11,
|
zoom = 11,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
ssid_changer = {
|
||||||
|
enabled = true,
|
||||||
|
switch_timeframe = 3, -- only once every timeframe (in minutes) the SSID will change to the Offline-SSID
|
||||||
|
-- set to 1440 to change once a day
|
||||||
|
-- set to 1 minute to change every time the router gets offline
|
||||||
|
first = 3, -- the first few minutes directly after reboot within which an Offline-SSID may be
|
||||||
|
-- activated every minute (must be <= switch_timeframe)
|
||||||
|
prefix = 'FF_offline_', -- 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, -- if false, the offline SSID will only be set if there is no gateway reacheable
|
||||||
|
-- if true, set upper and lower limit to turn the offline_ssid on and off
|
||||||
|
-- in-between these two values the SSID will never be changed to prevent it from
|
||||||
|
-- toggeling every minute:
|
||||||
|
tq_limit_max = 45, -- upper limit, above that the online SSID will be used
|
||||||
|
tq_limit_min = 35 -- lower limit, below that the offline SSID will be used
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
site.mk
1
site.mk
|
@ -12,6 +12,7 @@ GLUON_FEATURES := \
|
||||||
mesh-batman-adv-14
|
mesh-batman-adv-14
|
||||||
|
|
||||||
GLUON_SITE_PACKAGES := \
|
GLUON_SITE_PACKAGES := \
|
||||||
|
gluon-ssid-changer \
|
||||||
respondd-module-airtime \
|
respondd-module-airtime \
|
||||||
gluon-config-mode-core \
|
gluon-config-mode-core \
|
||||||
gluon-config-mode-domain-select \
|
gluon-config-mode-domain-select \
|
||||||
|
|
Loading…
Reference in New Issue