Skip to content

Commit

Permalink
site: add predecessor of ffac-ssid-changer
Browse files Browse the repository at this point in the history
Backport of #265 using the
older package from https://github.com/Freifunk-Nord/gluon-ssid-changer
  • Loading branch information
grische committed Nov 3, 2023
1 parent a7f9773 commit f13b2d5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## GLUON_SITE_FEEDS
# for each feed name given, add the corresponding PACKAGES_* lines
# documented below
GLUON_SITE_FEEDS='ffmuc wireguard'
GLUON_SITE_FEEDS='ssidchanger ffmuc wireguard'

## PACKAGES_FFMUC_REPO
# the git repository from where to clone the package feed
Expand All @@ -31,3 +31,6 @@ PACKAGES_WIREGUARD_COMMIT=876a8d8f9805281e95815b7d2d5a4d997a393dc6
## PACKAGES_WIREGUARD_BRANCH
# the branch to check out
PACKAGES_WIREGUARD_BRANCH=main

PACKAGES_SSIDCHANGER_REPO=https://github.com/Freifunk-Nord/gluon-ssid-changer.git
PACKAGES_SSIDCHANGER_COMMIT=f266b9e6328f97354f3b8777d1111ad044be9be5
9 changes: 9 additions & 0 deletions site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f13b2d5

Please sign in to comment.