-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.conf
192 lines (181 loc) · 6.92 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
{
hostname_prefix = 'hef',
site_name = 'Freifunk Hennef',
site_code = 'Hennef',
domain_seed = 'd821121b0a73363971e3781c65f835e477b822ca12aaaea20ce70f5145828863',
opkg_repo = 'http://openwrt.draic.info/%n/%v/%S/packages',
prefix4 = '10.186.0.0/16',
prefix6 = 'fda0:747e:ab29:7406::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
ntp_servers = {
'0.de.pool.ntp.org',
'1.de.pool.ntp.org',
},
regdom = 'DE',
mesh = {
vxlan = false,
};
wifi24 = {
channel = 5,
--disable 802.11b as ffac does
supported_rates = {9000, 12000, 18000, 24000, 36000, 48000, 54000},
basic_rate = {9000, 18000, 36000, 54000},
ap = {
ssid = 'Freifunk-Hennef',
},
ibss ={
ssid = 'hennef-ff-mesh',
bssid = '02:74:05:d0:4f:10',
mcast_rate = 18000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'Freifunk-Hennef',
},
ibss ={
ssid = 'hennef-ff-mesh',
bssid = '02:74:05:d0:4f:10',
mcast_rate = 18000,
},
},
next_node = {
ip4 = '10.186.0.1',
ip6 = 'fda0:747e:ab29:7406::1',
mac = '04:74:05:d0:4f:aa',
},
mesh_vpn = {
mtu = 1406,
fastd = {
methods = {'salsa2012+umac', 'salsa2012+gmac'},
configurable = false,
-- syslog_level= 'warn',
groups = {
backbone = {
limit = 2,
groups = {
hennef01 = {
limit = 1,
peers = {
supernode01 = {
key = '7ea2473e010339151734ec851b13f8d32d9d50c4d1dd772112109004cd50b817',
remotes = {'"supernode01.freifunk-hennef.de" port 53773'},
},
supernode02 = {
key = '8f73ca259097267c442648f0a1aee77600ea8eb6b482c05c1c6bce8f6c198a3e',
remotes = {'"supernode02.freifunk-hennef.de" port 10000'},
},
supernode05 = {
key = 'ac677de34aa9bb3543a69966ceaa87c45837d59c2b5c4bae787b441df2d62ab3',
remotes = {'"supernode05.freifunk-hennef.de" port 53773'},
},
supernode06 = {
key = 'feb629412cc0a4009abbed2347bf86f26d28c1925869ca636da9afee0ab058d9',
remotes = {'"supernode06.freifunk-hennef.de" port 10000'},
},
},
},
hennef02 = {
limit = 1,
peers = {
supernode03 = {
key = 'ca4f83741aa50af76ae7430b77f65f624d4b6522de976b41b56ee2d07c4cde05',
remotes = {'"supernode03.freifunk-hennef.de" port 53773'},
},
supernode04 = {
key = 'c22584a8bf0915bbd610c23ce3dc9db82b5e5d43d4030824adbc0251c8215a8f',
remotes = {'"supernode04.freifunk-hennef.de" port 10000'},
},
supernode07 = {
key = 'e73972b69f013d087b0f5661194647b329425be6bc065b31b1fd6490cfe6d46d',
remotes = {'"supernode07.freifunk-hennef.de" port 53773'},
},
supernode08 = {
key = 'c9ace85f4350a338d9787517fc7cf145fe04349c2b07d1b4bd7f697e4bf6fd18',
remotes = {'"supernode08.freifunk-hennef.de" port 10000'},
},
},
},
hennef = {},
wupper = {},
},
},
},
},
bandwidth_limit = {
enabled = false,
egress = 400,
ingress = 6000,
},
},
autoupdater = {
enabled = true,
branch = 'experimental',
branches = {
stable = {
name = 'stable',
mirrors = {
'http://[fda0:747e:ab29:7406::102]/firmware/stable/sysupgrade',
'http://update.hennef/stable/sysupgrade'
},
probability = 0.08,
good_signatures = 2,
pubkeys = {
'7880319051562a7cc3a91c1dab7ec25151c021b9cb66c6236b670a2dc4f47328', -- Christian
'be353da01f1287454ab3e231908008d255ca9ef21cdda4d8b5fa913e3e3d68e3', -- Jean
'cc171f342a85a9e08dd8fe07545a0b4e0b70c363d148d6a397ea7afe43a73723', -- Caspar
'5d45907b206240a756098b6c7e1dc3d58b45e4d44c45027c02d38ff09c5330d1', -- Nico
'5f02e46920f5fe91cc00cebc8543747d8067d9b3da5df39f8e782acdea318718', -- Joshua
},
},
beta = {
name = 'beta',
mirrors = {
'http://[fda0:747e:ab29:7406::102]/firmware/beta/sysupgrade',
'http://update.hennef/beta/sysupgrade'
},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'7880319051562a7cc3a91c1dab7ec25151c021b9cb66c6236b670a2dc4f47328', -- Christian
'be353da01f1287454ab3e231908008d255ca9ef21cdda4d8b5fa913e3e3d68e3', -- Jean
'cc171f342a85a9e08dd8fe07545a0b4e0b70c363d148d6a397ea7afe43a73723', -- Caspar
'5d45907b206240a756098b6c7e1dc3d58b45e4d44c45027c02d38ff09c5330d1', -- Nico
'5f02e46920f5fe91cc00cebc8543747d8067d9b3da5df39f8e782acdea318718', -- Joshua
},
},
experimental = {
name = 'experimental',
mirrors = {
'http://[fda0:747e:ab29:7406::102]/firmware/experimental/sysupgrade',
'http://update.hennef/experimental/sysupgrade'
},
probability = 1.00,
good_signatures = 1,
pubkeys = {
'7880319051562a7cc3a91c1dab7ec25151c021b9cb66c6236b670a2dc4f47328', -- Christian
'be353da01f1287454ab3e231908008d255ca9ef21cdda4d8b5fa913e3e3d68e3', -- Jean
'cc171f342a85a9e08dd8fe07545a0b4e0b70c363d148d6a397ea7afe43a73723', -- Caspar
'5d45907b206240a756098b6c7e1dc3d58b45e4d44c45027c02d38ff09c5330d1', -- Nico
'5f02e46920f5fe91cc00cebc8543747d8067d9b3da5df39f8e782acdea318718', -- Joshua
'fd57bf66176c94495bf8b8fc964f46e74432d3e1614be116f971de8fa75994a2', -- Autosign
},
},
},
},
ssid_changer = {
enabled = true,
switch_timeframe = 3, -- only once every timeframe (in minutes) the SSID will change to OFFLINE
-- set to 1440 to change once a day
-- set to 1 minute to change every time the router gets offline
first = 3, -- the first few minutes directly after reboot within which an Offline-SSID always may be activated (must be <= switch_timeframe)
prefix = 'FF_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
},
}