Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport legacy] site: add predecessor of ffac-ssid-changer #269

Merged
merged 1 commit into from
Nov 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1 change: 1 addition & 0 deletions site.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ GLUON_SITE_PACKAGES := \
ffho-web-ap-timer \
ffmuc-mesh-vpn-wireguard-vxlan \
ffmuc-simple-radv-filter \
gluon-ssid-changer \
iptables \
iwinfo \
respondd-module-airtime
Expand Down