-
Notifications
You must be signed in to change notification settings - Fork 12
/
site.conf
244 lines (212 loc) · 7.24 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
-- This is an example site configuration for Gluon v2016.2.7
--
-- Take a look at the documentation located at
-- http://gluon.readthedocs.org/ for details.
--
-- This configuration will not work as it. You're required to make
-- community specific changes to it!
{
-- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional)
hostname_prefix = 'freifunk-',
-- Name of the community.
site_name = 'Freifunk Magdeburg',
-- Shorthand of the community.
site_code = 'ffmd',
-- Prefixes used within the mesh.
-- prefix6 is required, prefix4 can be omitted if next_node.ip4
-- is not set.
prefix4 = '10.139.0.0/17',
prefix6 = 'fda9:026e:5805::/64',
-- Timezone of your community.
-- See http://wiki.openwrt.org/doc/uci/system#time_zones
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
-- List of NTP servers in your community.
-- Must be reachable using IPv6!
ntp_servers = {
'1.ntp.ffmd',
'2.ntp.ffmd',
},
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuration for 2.4 GHz interfaces.
wifi24 = {
-- Wireless channel.
channel = 1,
-- List of supported wifi rates (optional)
-- Example removes 802.11b compatibility for better performance
supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000},
-- List of basic wifi rates (optional, required if supported_rates is set)
-- Example removes 802.11b compatibility for better performance
basic_rate = {6000, 9000, 18000, 36000, 54000},
-- ESSID used for client network.
ap = {
ssid = 'md.freifunk.net',
-- disabled = true, (optional)
},
ibss = {
ssid = '02:D1:11:37:FD:45',
bssid = '02:D1:11:37:FD:45',
mcast_rate = 12000,
-- disabled = true, (optional)
},
},
-- Wireless configuration for 5 GHz interfaces.
-- This should be equal to the 2.4 GHz variant, except
-- for channel.
wifi5 = {
channel = 44,
ap = {
ssid = 'md.freifunk.net (5GHz)',
},
ibss = {
ssid = '02:D1:11:37:FD:45',
bssid = '02:D1:11:37:FD:45',
mcast_rate = 12000,
},
},
-- The next node feature allows clients to always reach the node it is
-- connected to using a known IP address.
next_node = {
-- anycast IPs of all nodes
ip4 = '10.139.0.1',
ip6 = 'fda9:026e:5805::1',
-- anycast MAC of all nodes
mac = '16:41:95:40:f7:dc',
},
-- Options specific to routing protocols (optional)
-- mesh = {
-- Options specific to the batman-adv routing protocol (optional)
-- batman_adv = {
-- Gateway selection class (optional)
-- The default class 20 is based on the link quality (TQ) only,
-- class 1 is calculated from both the TQ and the announced bandwidth
-- gw_sel_class = 1,
-- },
-- },
-- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
-- what these options do.
fastd_mesh_vpn = {
-- List of crypto-methods to use.
methods = {'salsa2012+umac'},
enabled = true,
-- configurable = true,
mtu = 1312,
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 1,
-- List of peers.
peers = {
gw1 = {
key = '4cd9f8cafd8ee0b24378651252815ddc731d55c4db3c9644d8ee860ecc8df5d2',
remotes = {
'"gw1.md.freifunk.net" port 10001',
},
},
gw2 = {
key = '23731bc411ef17129163bfedc5ecc7f5df05d46fed0f56d92028d082704474be',
remotes = {
'"gw2.md.freifunk.net" port 10001',
},
},
},
-- Optional: nested peer groups
-- groups = {
-- backbone_sub = {
-- ...
-- },
-- ...
-- },
},
-- Optional: additional peer groups, possibly with other limits
-- backbone2 = {
-- ...
-- },
},
bandwidth_limit = {
-- The bandwidth limit can be enabled by default here.
enabled = false,
-- Default upload limit (kbit/s).
egress = 200,
-- Default download limit (kbit/s).
ingress = 3000,
},
},
autoupdater = {
-- Default branch. Don't forget to set GLUON_BRANCH when building!
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://stable.updates.firmware.ffmd'},
-- 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 = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
'be5155bac7681fb4631bdab72c47b6e606e3f0ccfe50bb8f6cd6866c1c97c729', -- Michel
'41a126dfdd336be67005d15c8b4776775e2bbf1ec16fbe594e7a7ee377c0886d', -- Tux
'4611823f7f050d465252a91c24c4db8887ebd98ef880df92329212919c8497bd', -- Johann Wagner
'4d9d050abf0b5300e8c893aa2da7cf8aac32a86a7ee7e8bbde286de74605ad2a', -- Franz Kuntke
'22d81f93bd797f33f9a64c65c62ebfbc7c1117a5e4a477fb5b0f6e309e94d926', -- Christof
},
},
beta = {
name = 'beta',
mirrors = {'http://beta.updates.firmware.ffmd'},
good_signatures = 2,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
'be5155bac7681fb4631bdab72c47b6e606e3f0ccfe50bb8f6cd6866c1c97c729', -- Michel
'41a126dfdd336be67005d15c8b4776775e2bbf1ec16fbe594e7a7ee377c0886d', -- Tux
'4611823f7f050d465252a91c24c4db8887ebd98ef880df92329212919c8497bd', -- Johann Wagner
'4d9d050abf0b5300e8c893aa2da7cf8aac32a86a7ee7e8bbde286de74605ad2a', -- Franz Kuntke
'22d81f93bd797f33f9a64c65c62ebfbc7c1117a5e4a477fb5b0f6e309e94d926', -- Christof
},
},
experimental = {
name = 'experimental',
mirrors = {'http://experimental.updates.firmware.ffmd'},
good_signatures = 1,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
'be5155bac7681fb4631bdab72c47b6e606e3f0ccfe50bb8f6cd6866c1c97c729', -- Michel
'41a126dfdd336be67005d15c8b4776775e2bbf1ec16fbe594e7a7ee377c0886d', -- Tux
'4611823f7f050d465252a91c24c4db8887ebd98ef880df92329212919c8497bd', -- Johann Wagner
'4d9d050abf0b5300e8c893aa2da7cf8aac32a86a7ee7e8bbde286de74605ad2a', -- Franz Kuntke
'22d81f93bd797f33f9a64c65c62ebfbc7c1117a5e4a477fb5b0f6e309e94d926', -- Christof
},
},
},
},
-- Node roles
-- roles = {
-- default = 'node',
-- list = {
-- 'node',
-- 'test',
-- 'backbone',
-- 'service',
-- },
-- },
-- Skip setup mode (config mode) on first boot
-- setup_mode = {
-- skip = true,
-- },
-- config_mode = {
-- Show/hide the altitude field
-- geo_location = {
-- show_altitude = false,
-- },
-- define if the contact field is obligatory (optional)
-- owner = {
-- obligatory = true
-- },
-- },
}
-- vim: set ft=lua et sts=0 ts=2 sw=2 sr: