forked from freifunkMUC/site-ffm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsite.conf
144 lines (135 loc) · 5.48 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
{
default_domain = 'zzz',
hostname_prefix = 'unconfigured-node-',
opkg = {
openwrt = "http://archive.openwrt.org/releases/22.03.5/packages/%A",
extra = {
gluon = 'http://firmware.4830.org/packages/gluon-%GS-%GR/%S',
},
},
domain_director = {
url = 'http://setup.ipv6.4830.org/dd.php',
switch_after_offline = 360,
enabled = true,
},
site_name = 'Freifunk powered by 4830.org e. V.',
site_code = '4830',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
ntp_servers = {'ntp.4830.org', 'time.nist.gov', '2.freifunk.pool.ntp.org'},
regdom = 'DE',
config_mode = {
geo_location = {
show_altitude = false,
osm = {
center = {
lat = 51.893444037,
lon = 8.437500000,
},
zoom = 10,
},
},
},
radv_filterd = {
threshold = 1000,
},
mesh_vpn = {
enabled = true,
bandwidth_limit = {
enabled = false,
egress = 4000,
ingress = 16000,
},
},
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 = 'FF_OFFLINE_', -- use something short to leave space for the nodename (no '~' allowed!)
suffix = 'mac', -- 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
},
autoupdater = {
enabled = 1,
branch = 'stable',
branches = {
stable = {
name = 'stable',
-- List of mirrors to fetch images from. IPv6 required!
--mirrors = {'http://firmware.ipv4.4830.org/stable/sysupgrade', 'http://firmware.ipv6.4830.org/stable/sysupgrade'},
mirrors = {'http://firmware.ipv6.4830.org/stable/sysupgrade'},
good_signatures = 2,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
testing = {
name = 'testing',
mirrors = {'http://firmware.ipv6.4830.org/testing/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
experimental = {
name = 'experimental',
mirrors = {'http://firmware.ipv6.4830.org/experimental/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
rawhide = {
name = 'rawhide',
mirrors = {'http://firmware.ipv6.4830.org/rawhide/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
master = {
name = 'master',
mirrors = {'http://firmware.ipv6.4830.org/master/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
tng = {
name = 'tng',
mirrors = {'http://firmware.ipv6.4830.org/tng/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
wg = {
name = 'wg',
mirrors = {'http://firmware.ipv6.4830.org/wg/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
},
},
}