site/site.conf
2015-02-21 12:54:29 +01:00

154 lines
5.6 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 = 'Troisdorf',
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 = 52,
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 = {
wupper0v6 = {
key = '7142f897f4e55d2c19207aa59db92ec54d7517cf558d5ecaef33689234952a4b',
remotes = {'"wupper0v6.freifunk-troisdorf.de" port 53840'},
},
wupper1v6 = {
key = 'c3fe61335a6c92d2557cdaf93db2b80e7e5b9704290ccdb0ad34ee01c56b9116',
remotes = {'"wupper1v6.freifunk-troisdorf.de" port 53840'},
},
gateway1 = {
key = 'f355e18e0e442723548d21db8d762deeb1cfef18abd3c27180e7ca1ff6639422',
remotes = {'"gateway1.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 deinen neuen Troisdorfer
Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
entsprechend aus und sende es ab.
<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>
Dein Knoten startet gerade neu und wird anschließend versuchen,
sich mit anderen Freifunkknoten in seiner Nähe zu
verbinden. Weitere Informationen zur
Troisdorfer Freifunk-Community findest du auf
<a href="http://www.freifunk-troisdorf.de/">unserer Webseite</a>.
</p>
<p>
Viel Spaß mit deinem Knoten und der Erkundung und Nutzung von 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'},
},
}