2014-01-11 10:57:56 +01:00
|
|
|
{
|
|
|
|
hostname_prefix => 'ffhb',
|
2014-01-21 13:55:51 +01:00
|
|
|
site_name => 'Freifunk Bremen',
|
2014-01-21 13:46:10 +01:00
|
|
|
site_code => 'ffhb',
|
2014-01-22 10:45:46 +01:00
|
|
|
release => '0.3.99-nightly' . nightly,
|
2014-01-11 10:57:56 +01:00
|
|
|
|
|
|
|
prefix4 => '10.196.0.0/20',
|
|
|
|
prefix6 => 'fd2f:5119:0f2c::/64',
|
|
|
|
|
2014-01-21 13:55:51 +01:00
|
|
|
mesh_domains => [ 'ffhb', '196.10.in-addr.arpa', 'c.2.f.0.9.1.1.5.f.2.d.f.ip6.arpa' ],
|
|
|
|
|
2014-01-11 10:57:56 +01:00
|
|
|
timezone => 'CET-1CEST,M3.5.0,M10.5.0/3', # Europe/Berlin
|
2014-01-21 13:55:51 +01:00
|
|
|
ntp_servers => ['1.ntp.services.ffhb'],
|
2014-01-11 10:57:56 +01:00
|
|
|
regdom => 'DE',
|
|
|
|
|
|
|
|
wifi24 => {
|
|
|
|
ssid => 'bremen.freifunk.net',
|
2014-01-15 21:28:43 +01:00
|
|
|
channel => 6,
|
2014-01-11 10:57:56 +01:00
|
|
|
htmode => 'HT40+',
|
|
|
|
mesh_ssid => 'batman.bremen.freifunk.net',
|
|
|
|
mesh_bssid => '32:06:1C:1F:B9:E8',
|
|
|
|
mesh_mcast_rate => 12000,
|
|
|
|
},
|
|
|
|
wifi5 => {
|
|
|
|
ssid => 'bremen.freifunk.net',
|
|
|
|
channel => 44,
|
|
|
|
htmode => 'HT40+',
|
|
|
|
mesh_ssid => 'batman.bremen.freifunk.net',
|
|
|
|
mesh_bssid => '32:06:1C:1F:B9:E8',
|
|
|
|
mesh_mcast_rate => 12000,
|
|
|
|
},
|
|
|
|
|
2014-02-06 20:00:06 +01:00
|
|
|
next_node => {
|
|
|
|
ip4 => '10.196.0.127',
|
|
|
|
ip6 => 'fd2f:5119:f2c::127',
|
|
|
|
mac => '16:41:95:40:f7:dc',
|
|
|
|
},
|
|
|
|
|
2014-01-11 10:57:56 +01:00
|
|
|
fastd_mesh_vpn => {
|
|
|
|
methods => ['salsa2012+gmac'],
|
|
|
|
mtu => 1426,
|
|
|
|
backbone => {
|
|
|
|
limit => 2,
|
|
|
|
peers => {
|
|
|
|
vpn01 => {
|
|
|
|
key => 'df444c4366880735d8101ec4e8bcd8288a7e617024c08f0f81027927ba794f9f',
|
2014-01-13 21:16:25 +01:00
|
|
|
remotes => ['ipv4 "vpn01.bremen.freifunk.net" port 10000'],
|
2014-01-11 10:57:56 +01:00
|
|
|
},
|
|
|
|
vpn02 => {
|
|
|
|
key => '93a15a14d85a165b86624c89d69c481043cb60542bfa3d2896615b66a57ab02c',
|
2014-01-13 21:16:25 +01:00
|
|
|
remotes => ['ipv4 "vpn02.bremen.freifunk.net" port 10000'],
|
2014-01-11 10:57:56 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
autoupdater => {
|
|
|
|
enabled => 1,
|
2014-01-22 10:45:46 +01:00
|
|
|
branch => 'nightly',
|
2014-01-11 10:57:56 +01:00
|
|
|
branches => {
|
|
|
|
nightly => {
|
2014-01-21 13:55:51 +01:00
|
|
|
name => 'nightly',
|
|
|
|
mirrors => ['http://[fd2f:5119:0f2c::1]/firmware/nightly', 'http://[fd2f:5119:0f2c::2]/firmware/nightly'],
|
2014-01-15 21:15:52 +01:00
|
|
|
probability => 1,
|
|
|
|
good_signatures => 1,
|
2014-01-11 10:57:56 +01:00
|
|
|
pubkeys => [
|
2014-01-15 21:15:52 +01:00
|
|
|
'4bc6c2c3f36f984a9c370558a453d8a91933323679dd6dbbf6568834133a6030', # autobuilder
|
2014-01-11 10:57:56 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
testing => {
|
2014-01-21 13:55:51 +01:00
|
|
|
name => 'testing',
|
|
|
|
mirrors => ['http://[fd2f:5119:0f2c::1]/firmware/testing', 'http://[fd2f:5119:0f2c::2]/firmware/testing'],
|
2014-01-11 10:57:56 +01:00
|
|
|
probability => 0.5,
|
|
|
|
good_signatures => 1,
|
|
|
|
pubkeys => [
|
2014-03-19 18:35:30 +01:00
|
|
|
'c3e3f0486664e4ae692fa8d773038eb7347b8ea1cd1cb670b33eff980ad65d62', # jplitza
|
2014-01-11 11:26:56 +01:00
|
|
|
'159ff7cdf2646f027bf8f901f8bd950cc3feca9ac13e29b70c57e162f7dafb1f', # mortzu
|
2014-01-11 10:57:56 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
stable => {
|
2014-01-21 13:55:51 +01:00
|
|
|
name => 'stable',
|
|
|
|
mirrors => ['http://[fd2f:5119:0f2c::1]/firmware/stable', 'http://[fd2f:5119:0f2c::2]/firmware/stable'],
|
2014-01-11 10:57:56 +01:00
|
|
|
probability => 0.08, # mean time until update: ~12.5 hours (1/0.08)
|
|
|
|
good_signatures => 2,
|
|
|
|
pubkeys => [
|
2014-03-19 18:35:30 +01:00
|
|
|
'c3e3f0486664e4ae692fa8d773038eb7347b8ea1cd1cb670b33eff980ad65d62', # jplitza
|
2014-01-11 11:26:56 +01:00
|
|
|
'159ff7cdf2646f027bf8f901f8bd950cc3feca9ac13e29b70c57e162f7dafb1f', # mortzu
|
2014-01-11 10:57:56 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
simple_tc => {
|
|
|
|
mesh_vpn => {
|
|
|
|
ifname => "mesh-vpn",
|
2014-01-13 21:16:48 +01:00
|
|
|
enabled => 1,
|
|
|
|
limit_egress => 500,
|
|
|
|
limit_ingress => 8000,
|
2014-01-11 10:57:56 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
config_mode => {
|
2014-02-06 20:00:06 +01:00
|
|
|
msg_welcome => <<'END',
|
|
|
|
Willkommen zum Einrichtungsassistenten für deinen neuen Bremer
|
|
|
|
Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
|
|
|
|
entsprechend aus und sende es ab.
|
|
|
|
END
|
2014-01-11 10:57:56 +01:00
|
|
|
msg_pubkey => <<'END',
|
2014-03-19 17:22:35 +01:00
|
|
|
<%-
|
|
|
|
f = io.open("/lib/gluon/core/sysconfig/primary_mac", "r")
|
|
|
|
mac = f:read("*all")
|
|
|
|
-%>
|
2014-01-11 10:57:56 +01:00
|
|
|
Dies ist der öffentliche Schlüssel deines Freifunkknoten. Nachdem er auf den
|
|
|
|
Servern des Bremer Freifunk-Projektes eingetragen ist, wird er deinem
|
|
|
|
Knoten ermöglichen, sich mit dem Bremer Mesh-VPN zu verbinden.
|
|
|
|
Verbinde dich dazu mit dem Internet (nicht über diesen Freifunk-Router!) und
|
2014-03-19 17:22:35 +01:00
|
|
|
klicke auf <a href="http://vpn.bremen.freifunk.net/newkey.php?mac=<%=mac%>&name=<%=hostname%>&key=<%=pubkey%>">diesen Link</a>.
|
2014-01-11 10:57:56 +01:00
|
|
|
END
|
|
|
|
msg_reboot => <<'END',
|
|
|
|
<p>
|
|
|
|
Dein Knoten startet gerade neu und versucht sich anschließend mit anderen
|
|
|
|
Freifunk-Knoten in seiner Nähe zu verbinden. Weitere Informationen zur
|
|
|
|
Bremer Freifunk-Community findest du auf
|
|
|
|
<a href="http://bremen.freifunk.net/">unserer Webseite</a>.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
|
|
|
|
</p>
|
|
|
|
END
|
|
|
|
},
|
|
|
|
}
|