-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsite.conf
124 lines (113 loc) · 3.23 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
{
hostname_prefix = 'freifunk-',
site_name = 'Freifunk Lüneburg',
site_code = 'fflg',
prefix4 = '10.131.0.0/17',
prefix6 = 'fd83:e002:c8a0::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {'ntp1.fflg'},
regdom = 'DE',
wifi24 = {
ssid = 'lueneburg.freifunk.net',
channel = 1,
htmode = 'HT40+',
mesh_ssid = 'F4:EC:38:BE:BB:94',
mesh_bssid = 'F4:EC:38:BE:BB:94',
mesh_mcast_rate = 12000,
},
wifi5 = {
ssid = 'lueneburg.freifunk.net (5GHz)',
channel = 44,
htmode = 'HT40',
mesh_ssid = 'F4:EC:38:BE:BB:94',
mesh_bssid = 'F4:EC:38:BE:BB:94',
mesh_mcast_rate = 12000,
},
next_node = {
ip4 = '10.131.0.1',
ip6 = 'fd83:e002:c8a0::e01',
mac = '16:41:95:40:f7:dc',
},
fastd_mesh_vpn = {
methods = {'salsa2012+umac', 'salsa2012+gmac'},
mtu = 1426,
groups = {
backbone = {
limit = 2,
peers = {
gw1 = {
key = '94fb14a17c3e0882eaef7fedda6d1b807347a8b7f419a13835e403de1108e254',
remotes = {'ipv4 "212.224.89.151" port 10000'},
},
gw2 = {
key = '64aecca44b0a414faa01723f7c2b24500dfb876cc3e33e0b6103efa5264112fc',
remotes = {'ipv4 "gw2.freifunk-lueneburg.de" port 10000'},
},
},
},
},
},
--[[ Autoupdater settings
branch: Automatically update to this branch
branches: Available branches your community is publishing
sub sub
name: Name of branch (is used when compiling images)
mirrors: List of urls where to find the firmware
just serve the images on port 80 via http. a simple apache file-listing is enough.
see: http://luebeck.freifunk.net/firmware/
probability: How often should a node search for updates
1.0 - perform an update every hour
0.5 - on average, perform an update every two hours
0.0 - inhibit any automatic updates
good_signatures: How many signatures should be valid so the node decides to upgrade itself
pubkeys: public keys by developers used in manifest file of branch
manifest file - see gluon readme
$ make manifest GLUON_BRANCH=mybranch
$ contrib/sign.sh $SECRETKEY.file images/sysupgrade/manifest
]]
autoupdater = {
-- Default branch. Don't forget to set GLUON_BRANCH when building!
branch = 'testing',
branches = {
stable = {
name = 'stable',
mirrors = {'http://updates.fflg/stable/'},
probability = 0.06,
good_signatures = 2,
pubkeys = {
'6d9ba593bb70181db5318b38f7175f0fd92000da5950a053b18004f1fb3380ee', -- Arnim
'7b0da49dde0ebfd36a8b6f246619cd1dc4152d5d5ee1c7db098b618210d03589', -- Claas
},
},
experimental = {
name = 'experimental',
mirrors = {'http://updates.fflg/experimental/'},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'6d9ba593bb70181db5318b38f7175f0fd92000da5950a053b18004f1fb3380ee', -- Arnim
},
},
testing = {
name = 'testing',
mirrors = {'http://updates.fflg/testing/'},
probability = 0.5,
good_signatures = 1,
pubkeys = {
'4b5b520303fbedefc1454d895aa81e8f92e2e009a8360bf2233d6757e0be8af5', -- X
},
},
},
},
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
-- You may enable it by default here.
enabled = false,
-- Default upload limit (kbit/s).
limit_egress = 200,
-- Default download limit (kbit/s).
limit_ingress = 3000,
},
},
}