Skip to content

Commit

Permalink
Merge pull request #269 from freifunkMUC/backport-265-to-legacy
Browse files Browse the repository at this point in the history
[Backport legacy] site: add predecessor of ffac-ssid-changer
  • Loading branch information
grische authored Nov 5, 2023
2 parents a7f9773 + b0029c8 commit 7ca03ef
Show file tree
Hide file tree
Showing 3 changed files with 14 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
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

0 comments on commit 7ca03ef

Please sign in to comment.