initial version with basic config (should work)
This commit is contained in:
commit
ae73dd39af
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
hostname_prefix => 'ffhb',
|
||||
release => '0.0',
|
||||
|
||||
prefix4 => '10.196.0.0/20',
|
||||
prefix6 => 'fd2f:5119:0f2c::/64',
|
||||
|
||||
timezone => 'CET-1CEST,M3.5.0,M10.5.0/3', # Europe/Berlin
|
||||
regdom => 'DE',
|
||||
|
||||
wifi24 => {
|
||||
ssid => 'bremen.freifunk.net',
|
||||
channel => 6,
|
||||
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,
|
||||
},
|
||||
|
||||
fastd_mesh_vpn => {
|
||||
methods => ['salsa2012+gmac'],
|
||||
mtu => 1426,
|
||||
backbone => {
|
||||
limit => 2,
|
||||
peers => {
|
||||
vpn01 => {
|
||||
key => 'df444c4366880735d8101ec4e8bcd8288a7e617024c08f0f81027927ba794f9f',
|
||||
remotes => ['ipv4 "vpn.wellenfunk.de" port 10000'],
|
||||
},
|
||||
vpn02 => {
|
||||
key => '93a15a14d85a165b86624c89d69c481043cb60542bfa3d2896615b66a57ab02c',
|
||||
remotes => ['ipv4 "vpn02.wellenfunk.de" port 10000'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
autoupdater => {
|
||||
enabled => 1,
|
||||
branch => 'testing',
|
||||
branches => {
|
||||
nightly => {
|
||||
url => 'http://[fd2f:5119:0f2c::1]/firmware/nightly/',
|
||||
probability => 0.08, # mean time until update: ~12.5 hours (1/0.08)
|
||||
good_signatures => 0,
|
||||
pubkeys => [
|
||||
],
|
||||
},
|
||||
testing => {
|
||||
url => 'http://[fd2f:5119:0f2c::1]/firmware/testing/',
|
||||
probability => 0.5,
|
||||
good_signatures => 1,
|
||||
pubkeys => [
|
||||
'48d33a983c4acc12dac798c8c27625fa646e82765524b4de5a007627ba789c34', # jplitza
|
||||
],
|
||||
},
|
||||
stable => {
|
||||
url => 'http://[fd2f:5119:0f2c::1]/firmware/stable/',
|
||||
probability => 0.08, # mean time until update: ~12.5 hours (1/0.08)
|
||||
good_signatures => 2,
|
||||
pubkeys => [
|
||||
'48d33a983c4acc12dac798c8c27625fa646e82765524b4de5a007627ba789c34', # jplitza
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
simple_tc => {
|
||||
mesh_vpn => {
|
||||
ifname => "mesh-vpn",
|
||||
enabled => 0,
|
||||
limit_egress => 200,
|
||||
limit_ingress => 3000,
|
||||
},
|
||||
},
|
||||
|
||||
config_mode => {
|
||||
msg_pubkey => <<'END',
|
||||
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
|
||||
klicke auf <a href="http://vpn.wellenfunk.de/ffhb/ffhb/?mac=<%=luci.sys.uniqueid(6)%>&name=<%=luci.sys.hostname()%>&port=&key=<%=pubkey%>">diesen Link</a>.
|
||||
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
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue