-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.conf
142 lines (125 loc) · 5.29 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
{
default_domain = 'zzz',
hostname_prefix = 'unconfigured-node-',
-- Package Manager configuration to allow kernel module install
opkg = {
openwrt = "http://archive.openwrt.org/releases/19.07.10/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,
},
geolocator = {
url = 'http://setup.ipv6.4830.org/geoloc-tng.php',
},
-- Name of the community.
site_name = 'Freifunk powered by 4830.org',
-- Shorthand of the community.
site_code = '4830',
-- Timezone of your community.
-- See https://openwrt.org/docs/guide-user/base-system/system_configuration#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 = {'ntp.4830.org', 'time.nist.gov', '2.freifunk.pool.ntp.org'},
-- Wireless regulatory domain of your community.
regdom = 'DE',
config_mode = {
geo_location = {
show_altitude = false,
},
},
mesh_vpn = {
enabled = true,
-- mtu = 1312,
-- 1374 should work with anything that can transport 1460 Bytes (DS-Lite MTU) for batman v14 and v15, IPv4 and IPv6.
mtu = 1426,
-- mtu = 1374,
pubkey_privacy = false,
-- fastd = { methods = {'salsa2012+umac'}, configurable = true, },
bandwidth_limit = {
-- The bandwidth limit can be enabled by default here.
enabled = false,
-- Default upload limit (kbit/s).
egress = 2000,
-- Default download limit (kbit/s).
ingress = 20000,
},
},
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
},
},
tng = {
name = 'tng',
mirrors = {'http://firmware.ipv6.4830.org/tng/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fbc997a8fd3b7372b3044cf855c660f70b0f713f8ab1dca4b9a1ae297c8f5588', -- FFGT builder
'a7ac1e48f4459a995cf6bcd8d3668ca26cf36a1fe5981ddfca93d4c04632deeb', -- wusel
'674fa1e03356604d5c69af1cb10836036ff3426af5f7e5020e65faeb24dd0593', -- Bjoern
},
},
},
},
}