-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.conf
120 lines (105 loc) · 4.4 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
{
hostname_prefix = 'FF-RGW-',
site_name = 'Freifunk Ruhrgebiet West (FFRGW)',
site_code = 'ffrgw',
prefix4 = '10.225.0.0/16',
prefix6 = '2a03:2260:50:11::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {'0.openwrt.pool.ntp.org','1.openwrt.pool.ntp.org','2.openwrt.pool.ntp.org','1.ntp.services.ffrg', '2.de.pool.ntp.org'},
opkg = {openwrt = 'http://openwrt.draic.info/chaos_calmer/15.05/%S/packages',extra = {},},
regdom = 'DE',
wifi24 = {
channel = 3,
supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000},
basic_rate = {6000, 9000, 18000, 36000, 54000},
ap = { ssid = 'Freifunk', },
mesh = { id = 'mesh.ffrgw', mcast_rate = 12000, },
},
wifi5 = {
channel = 44,
supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000},
basic_rate = {6000, 9000, 18000, 36000, 54000},
ap = { ssid = 'Freifunk', },
mesh = { id = 'mesh.ffrgw', mcast_rate = 12000, },
},
next_node = {
ip4 = '10.225.254.254',
ip6 = '2a03:2260:50:11::cafe',
mac = '16:41:95:40:f7:dc',
},
mesh_vpn = {
mtu = 1346,
tunneldigger = {
brokers = {'rg-west01.freifunk.ruhr:4042', 'rg-west02.freifunk.ruhr:4042'}
},
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 = {
branch = 'experimental',
branches = {
stable = {
name = 'stable',
mirrors = {'http://1.update.services.ffrg/ffrgw/stable/sysupgrade', 'http://images.freifunk-ruhrgebiet.de/ffrgw/stable/sysupgrade'},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'f64c53b9f592335bbbbad1ce44836510a2e60bd445be8bd8139832c7dae0101d', -- Chris
'4bcf080d3937310ea3f5ee3678bff5c839679b69c8b2529ba1371b710dd046b6', -- Philip
'bce62e4e4f07fa1dedfdc7f3f3828eb070207799577f3ca569e2a3e44bc17be8', -- Chrisno
},
},
beta = {
name = 'beta',
mirrors = {'http://1.update.services.ffrg/ffrgw/beta/sysupgrade', 'http://images.freifunk-ruhrgebiet.de/ffrgw/beta/sysupgrade'},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'f64c53b9f592335bbbbad1ce44836510a2e60bd445be8bd8139832c7dae0101d', -- Chris
'4bcf080d3937310ea3f5ee3678bff5c839679b69c8b2529ba1371b710dd046b6', -- Philip
'bce62e4e4f07fa1dedfdc7f3f3828eb070207799577f3ca569e2a3e44bc17be8', -- Chrisno
},
},
experimental = {
name = 'experimental',
mirrors = {'http://1.update.services.ffrg/ffrgw/experimental/sysupgrade', 'http://images.freifunk-ruhrgebiet.de/ffrgw/experimental/sysupgrade'},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'f64c53b9f592335bbbbad1ce44836510a2e60bd445be8bd8139832c7dae0101d', -- Chris
'4bcf080d3937310ea3f5ee3678bff5c839679b69c8b2529ba1371b710dd046b6', -- Philip
'bce62e4e4f07fa1dedfdc7f3f3828eb070207799577f3ca569e2a3e44bc17be8', -- Chrisno
},
},
},
},
ssid_changer = {
enabled = true,
switch_timeframe = 30, -- 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 = '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 = 15 -- lower limit, below that the offline SSID will be used
},
-- Show/hide the altitude field
config_mode = {
geo_location = {
show_altitude = false,
},
owner = {
obligatory = true,
},
},
}