-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.conf
142 lines (123 loc) · 6.47 KB
/
site.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
-- Basic site configuration for freifunk potsdam community.
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.
{
authorized_keys = {
'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfWvM4IVLYeL0UcPD5X1FPMhSuIzQlKlBEbziZjI6HgS+uucCM5LTSPC18TQHtKdz/QJ2QGZpX9yHgBWWQpwbzmAo1a/FLHZfKl5MdIfD3MXHWJgWUPd5ZwK2Aa1MAdEfNLgRQJFlASEQOy9U2EXXyuh/ymb4/AJGO+drn70nvkZxcLYrx+7Kar2gaeeAqamq8WyELAHOaoODUiodwupyJC2kPqywggnZQEGgyuCYhccWoED8fHcDJJCH3PTRTnayn8ecoD2dZvnktiGQgJklKjSYzfsEEoZX/OCGUJcgjfUfcUVyt7fRahAyCq0YZtING4zoVhQP2VgYqKc66A3T9 seth0r@vesta',
'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAHQUFccxGYu8KHwyJl2QNbc1qCC1HAUnOagOaoUgvSpVFuHRU4wTDzVi9HvJpr6cAqbdQdKuRkIe6LMlNZ83XJbAYlIUE2vI3mL24H1O9q4too2FN6owgNMe0jZVnbqKq7CuuUxGfwD4kpE64xikauOkh9OKFkvsss6ZitLghUGiVdgVJjjoXI5ZSdsMI8MR+lvKrXiorTyyi0pOx4E7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C3NzaC1lZDI1NTE5AAAAIMIsZj2dEbDzbIKnv2okw/oSb7UwByo08UsUCNg31Tpu hannes@openpgp:0x6D752620',
},
-- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional)
hostname_prefix = 'ffp-',
config_mode = {
hostname = {
optional = false,
prefill = true,
},
geo_location = {
show_altitude = false,
osm = {
center = {
lat = 52.3948361,
lon = 13.0642644,
},
zoom = 14,
},
},
},
ssid_changer = {
enabled = true,
switch_timeframe = 15, -- 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 = 5, -- the first few minutes directly after reboot within which an Offline-SSID always may be activated (must be <= switch_timeframe)
prefix = 'FFP_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
-- 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
},
opkg = {
openwrt = "http://downloads.openwrt.org/releases/%v/packages/%A",
extra = {
core = "http://firmware.freifunk-potsdam.de/feed/gluon/core/gluon-%GS-%GR/%S",
-- ffp_gluon = 'http://firmware.freifunk-potsdam.de/feed/gluon/ffp_gluon/gluon-%GS-%GR/%S',
},
},
-- Name of the community.
site_name = 'Freifunk Potsdam',
-- Shorthand of the community.
site_code = 'ffp',
default_domain = 'potsdam',
-- Timezone of your community.
-- See https://openwrt.org/docs/guide-user/base-system/system_configuration#time_zones
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
-- List of NTP servers in your community.
-- Must be reachable using IPv6!
-- NOTE: only 2.….pool.ntp.org returns AAAA records
ntp_servers = {
'2.de.pool.ntp.org',
'2.europe.pool.ntp.org',
-- NOTE: vendor domain by guess
'2.freifunk.pool.ntp.org',
},
-- Wireless regulatory domain of your community.
regdom = 'DE',
mesh_vpn = {
bandwidth_limit = {
-- The bandwidth limit can be enabled by default here.
enabled = false,
-- Default upload limit (kbit/s).
egress = 2000,
-- Default download limit (kbit/s).
ingress = 10000,
},
},
autoupdater = {
-- Default branch (optional), can be overridden by setting GLUON_AUTOUPDATER_BRANCH when building.
-- Set GLUON_AUTOUPDATER_ENABLED to enable the autoupdater by default for newly installed nodes.
branch = 'stable',
-- List of branches. You may define multiple branches.
branches = {
stable = {
name = 'stable',
-- List of mirrors to fetch images from. IPv6 required!
mirrors = {'http://firmware.freifunk-potsdam.de/gluon/stable/sysupgrade'},
-- Number of good signatures required.
-- Have multiple maintainers sign your build and only
-- accept it when a sufficient number of them have
-- signed it.
good_signatures = 2,
-- List of public keys of maintainers.
pubkeys = {
'd0d080ec28d66a248ee6deb025c98d5773700cc8ce2ae1a31e601a57c9193371', -- Seth0r
'2b9056b276bbf3c68bb5c26f1638c5bdf94e028ef176508f666e2dca8c821cef', -- Hannes
},
},
early = {
name = 'early',
mirrors = {'http://firmware.freifunk-potsdam.de/gluon/early/sysupgrade'},
good_signatures = 2,
pubkeys = {
'd0d080ec28d66a248ee6deb025c98d5773700cc8ce2ae1a31e601a57c9193371', -- Seth0r
'2b9056b276bbf3c68bb5c26f1638c5bdf94e028ef176508f666e2dca8c821cef', -- Hannes
},
},
testing = {
name = 'testing',
mirrors = {'http://firmware.freifunk-potsdam.de/gluon/testing/sysupgrade'},
good_signatures = 1,
pubkeys = {
'd0d080ec28d66a248ee6deb025c98d5773700cc8ce2ae1a31e601a57c9193371', -- Seth0r
'2b9056b276bbf3c68bb5c26f1638c5bdf94e028ef176508f666e2dca8c821cef', -- Hannes
},
},
},
},
}