-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsite.conf
219 lines (190 loc) · 5.93 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
-- This is an site specific configuration for Gluon v2016.1
--
-- Take a look at the documentation located at
-- http://gluon.readthedocs.org/en/v2015.1.2/user/site.html for details.
--
-- This configuration has community specific changes!
{
-- package manager configuration.
opkg = {
openwrt = 'http://images.freifunk-muensterland.net/openwrt/%n/%v/%S/packages',
extra = {
modules = 'http://images.freifunk-muensterland.net/modules/gluon-%GS-%GR/%S',
},
},
-- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional)
hostname_prefix = 'freifunk',
-- Name of the community.
site_name = 'Freifunk im Kreis Warendorf',
-- Shorthand of the community.
site_code = 'ffmsd14',
-- Prefixes used within the mesh. Both are required.
prefix4 = '169.254.0.0/16',
prefix6 = 'fd3f:6aa4:7338::/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',
-- Disable the mesh on the WAN port
mesh_on_wan = false,
-- Enables the mesh on the LAN port
mesh_on_lan = true,
-- List of NTP servers in your community.
-- Must be reachable using IPv6!
ntp_servers = { '0.de.pool.ntp.org', '1.de.pool.ntp.org', '2.de.pool.ntp.org', '3.de.pool.ntp.org' },
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuration for 2.4 GHz interfaces.
wifi24 = {
-- Wireless channel.
channel = 1,
-- ESSID used for client network.
ap = {
ssid = 'Freifunk',
disabled = false,
},
mesh = {
-- 802.11s mesh interface with forwarding disabled
id = 'ffwaf-mesh1',
mcast_rate = 12000,
disabled = false,
},
ibss = {
ssid = 'ffwaf-mesh1',
bssid = '02:d1:11:37:f1:12',
mcast_rate = 12000,
vlan = 4,
disabled = true,
},
},
-- Wireless configuration for 5 GHz interfaces.
-- This should be equal to the 2.4 GHz variant, except
-- for channel.
wifi5 = {
channel = 44,
ap = {
ssid = 'Freifunk',
disabled = false,
},
mesh = {
-- 802.11s mesh interface with forwarding disabled
id = 'ffwaf-mesh1',
mcast_rate = 12000,
disabled = false,
},
bss = {
ssid = 'ffwaf-mesh1',
bssid = '02:d1:11:37:f1:12',
mcast_rate = 12000,
vlan = 4,
disabled = true,
},
},
-- 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 = '169.254.14.1',
ip6 = 'fd3f:6aa4:7338::1',
-- anycast MAC of all nodes
mac = 'de:ad:be:ef:14:01',
},
-- 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 = 20,
},
},
-- Refer to http://tunneldigger.readthedocs.org/en/latest/index.html to better understand
-- what these options do.
tunneldigger_mesh_vpn = {
mtu = 1364,
enabled = true,
brokers = {
'broker1.freifunk-muensterland.net:10050',
'broker2.freifunk-muensterland.net:10050',
},
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 = 'latest',
-- List of branches. You may define multiple branches.
branches = {
stable = {
name = 'stable',
-- List of mirrors to fetch images from. IPv6 required!
mirrors = {
'http://images.freifunk-muensterland.net/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 = 1,
-- List of public keys of maintainers.
pubkeys = {
'418e932e0206d94a975569dd586b907d36306e91eb2f87603f774f872c1e2d95', -- paulinsche
'6c196570ee5f8f4a567d5e2ae9d37c07dc2e40ef737724ae55f424cd079bac07', -- FF-Buildservice
},
},
beta = {
name = 'beta',
mirrors = {
'http://images.freifunk-muensterland.net/beta/sysupgrade',
},
good_signatures = 1,
pubkeys = {
'418e932e0206d94a975569dd586b907d36306e91eb2f87603f774f872c1e2d95', -- paulinsche
'6c196570ee5f8f4a567d5e2ae9d37c07dc2e40ef737724ae55f424cd079bac07', -- FF-Buildservice
},
},
experimental = {
name = 'experimental',
mirrors = {
'http://images.freifunk-muensterland.net/experimental/sysupgrade',
},
good_signatures = 1,
pubkeys = {
'418e932e0206d94a975569dd586b907d36306e91eb2f87603f774f872c1e2d95', -- paulinsche
'6c196570ee5f8f4a567d5e2ae9d37c07dc2e40ef737724ae55f424cd079bac07', -- FF-Buildservice
},
},
latest = {
name = 'latest',
mirrors = {
'http://images.freifunk-muensterland.net/latest/sysupgrade',
},
good_signatures = 1,
pubkeys = {
'418e932e0206d94a975569dd586b907d36306e91eb2f87603f774f872c1e2d95', -- paulinsche
'6c196570ee5f8f4a567d5e2ae9d37c07dc2e40ef737724ae55f424cd079bac07', -- FF-Buildservice
},
},
},
},
-- Node roles
-- roles = {
-- default = 'node',
-- list = {
-- 'node',
-- 'test',
-- 'backbone',
-- 'service',
-- },
-- },
-- Skip setup mode (config mode) on first boot
-- setup_mode = {
-- skip = true,
-- },
}