site/site.conf
2015-05-07 07:34:19 +02:00

169 lines
6.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
hostname_prefix = 'tdf',
site_name = 'Freifunk Troisdorf',
site_code = 'tdf',
opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',
prefix4 = '10.188.0.0/16',
prefix6 = 'fda0:747e:ab29:7405::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {
'0.de.pool.ntp.org',
'1.de.pool.ntp.org',
},
regdom = 'DE',
wifi24 = {
ssid = 'Freifunk',
channel = 5,
htmode = 'HT40-',
mesh_ssid = 'troisdorf-ff-mesh',
mesh_bssid = '02:74:05:d0:4f:00',
mesh_mcast_rate = 12000,
},
wifi5 = {
ssid = 'Freifunk',
channel = 44,
htmode = 'HT40+',
mesh_ssid = 'troisdorf-ff-mesh',
mesh_bssid = '02:74:05:d0:4f:00',
mesh_mcast_rate = 12000,
},
next_node = {
ip4 = '10.188.0.1',
ip6 = 'fda0:747e:ab29:7405::1',
mac = '04:74:05:d0:4f:aa',
},
fastd_mesh_vpn = {
methods = {
'salsa2012+umac',
'salsa2012+gmac'
},
mtu = 1406,
backbone = {
limit = 2,
peers = {
wupper0 = {
key = '7142f897f4e55d2c19207aa59db92ec54d7517cf558d5ecaef33689234952a4b',
remotes = {'"wupper0.freifunk-troisdorf.de" port 53840'},
},
wupper1 = {
key = '6eae041199ee627689bfa026afbd8a9ab299eca8aed4144321d098cffd62668e',
remotes = {'"wupper1.freifunk-troisdorf.de" port 53840'},
},
wupper2 = {
key = 'b7f319d59d8383ba813c3503416bca45f70852e4d207b1743bb6cdca1e30d9f5',
remotes = {'"wupper2.freifunk-troisdorf.de" port 53840'},
},
wupper3 = {
key = 'c8f3d1d10b0d6389e39c3c3cb08adfa3123e821fd5bfd6262d2161d80ee4b06c',
remotes = {'"wupper3.freifunk-troisdorf.de" port 53840'},
},
wupper4 = {
key = '5e7fa122990dbc34b8cae7ece2cd4ef919d3f8c23a674b7bbcf05bfebe6a6e8a',
remotes = {'"wupper4.freifunk-troisdorf.de" port 53840'},
},
gateway1 = {
key = 'f355e18e0e442723548d21db8d762deeb1cfef18abd3c27180e7ca1ff6639422',
remotes = {'"gateway1.freifunk-troisdorf.de" port 53840'},
},
gateway2 = {
key = '9154293d90bb907a647338585da4ddf283e534a948a0bb73ca604391fdd4aa0b',
remotes = {'"gateway2.freifunk-troisdorf.de" port 53840'},
},
},
},
},
autoupdater = {
enabled = true,
branch = 'stable',
branches = {
stable = {
name = 'stable',
mirrors = {
'http://update1.infra.fftdf/stable/sysupgrade',
'http://update2.infra.fftdf/stable/sysupgrade',
'http://update3.infra.fftdf/stable/sysupgrade'
},
probability = 0.08,
good_signatures = 2,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
},
},
beta = {
name = 'beta',
mirrors = {
'http://update1.infra.fftdf/beta/sysupgrade',
'http://update2.infra.fftdf/beta/sysupgrade',
'http://update3.infra.fftdf/beta/sysupgrade'
},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
},
},
experimental = {
name = 'experimental',
mirrors = {
'http://update1.infra.fftdf/experimental/sysupgrade',
'http://update2.infra.fftdf/experimental/sysupgrade',
'http://update3.infra.fftdf/experimental/sysupgrade'
},
probability = 1.00,
good_signatures = 1,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
},
},
},
},
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
enabled = false,
limit_egress = 300,
limit_ingress = 5000,
},
},
config_mode = {
msg_welcome = [[
Willkommen zum Einrichtungsassistenten für einen Troisdorfer
Freifunk-Knoten.
Das folgende Formular bitte ausfüllen und absenden.
<br /> Es wird empfohlen wenn es sein muss zuerst die Einstellungen
für Experten zu bearbeiten, da dies später nicht mehr möglich ist.
]],
msg_pubkey = [[
Die Konfiguration ist nun abgeschlossen. Das Registrieren des Nodes ist nicht mehr erforderlich.
]],
msg_reboot = [[
<p>
Der Knoten (Router) startet gerade neu und wird anschließend versuchen,
sich mit anderen Freifunkknoten im Netz zu verbinden.
Mehr zu Freifunk in Troisdorf findet sich online unter
<a href="http://www.freifunk-troisdorf.de/">freifunk-troisdorf.de</a> und dem
<a href="https://wiki.freifunk-rheinland.net/Troisdorf">Wiki des Freifunk Rheinland e.V.</a>
</p>
<p>
Viel Spaß mit Freifunk!
</p>
]],
},
legacy = {
version_files = {'/etc/.freifunk_version_keep', '/etc/.fftro_version_keep'},
old_files = {'/etc/config/config_mode', '/etc/config/fftro', '/etc/config/freifunk'},
config_mode_configs = {'config_mode', 'fftro', 'freifunk'},
fastd_configs = {'fftro_mesh_vpn', 'mesh_vpn'},
mesh_ifname = 'freifunk',
tc_configs = {'fftro', 'freifunk'},
wifi_names = {'wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'},
},
}