192 lines
6.9 KiB
Text
192 lines
6.9 KiB
Text
{
|
|
hostname_prefix = 'freifunk',
|
|
site_name = 'Freifunk Hamburg',
|
|
site_code = 'ffhh',
|
|
|
|
prefix4 = '10.112.0.0/18',
|
|
prefix6 = 'fd51:2bb2:fd0d::/64',
|
|
|
|
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
|
|
ntp_servers = {'1.ntp.services.ffhh','2.ntp.services.ffhh'},
|
|
opkg_repo = 'http://opkg.services.ffhh/attitude_adjustment/12.09/%S/packages',
|
|
regdom = 'DE',
|
|
|
|
wifi24 = {
|
|
ssid = 'hamburg.freifunk.net',
|
|
channel = 1,
|
|
htmode = 'HT40+',
|
|
mesh_ssid = 'f8:d1:11:87:52:2e',
|
|
mesh_bssid = 'f8:d1:11:87:52:2e',
|
|
mesh_mcast_rate = 12000,
|
|
},
|
|
wifi5 = {
|
|
ssid = 'hamburg.freifunk.net',
|
|
channel = 44,
|
|
htmode = 'HT40+',
|
|
mesh_ssid = 'f8:d1:11:87:52:2e',
|
|
mesh_bssid = 'f8:d1:11:87:52:2e',
|
|
mesh_mcast_rate = 12000,
|
|
},
|
|
|
|
next_node = {
|
|
ip4 = '10.112.0.1',
|
|
ip6 = 'fd51:2bb2:fd0d::1',
|
|
|
|
mac = '16:41:95:40:f7:dc',
|
|
},
|
|
|
|
fastd_mesh_vpn = {
|
|
enabled = true,
|
|
methods = {'salsa2012+gmac'},
|
|
mtu = 1406,
|
|
backbone = {
|
|
limit = 2,
|
|
peers = {
|
|
gateway01 = {
|
|
key = 'cb09c68e2d2f7d374d47035cd532e0a60b8b3a7447aa5a7f76f4f15c8ffa9e58',
|
|
remotes = {'"gw01.hamburg.freifunk.net" port 10000'},
|
|
},
|
|
gateway02 = {
|
|
key = '462b4e21ab5eb0f9de687efd97252880c895ba55cc9cc0755a75347b0965b6e0',
|
|
remotes = {'"gw02.hamburg.freifunk.net" port 10000'},
|
|
},
|
|
gateway03 = {
|
|
key = 'e15295b86138ac490d611e4100f847ccfb7052d5091ded4659f25940be2c0546',
|
|
remotes = {'"gw03.hamburg.freifunk.net" port 10000'},
|
|
},
|
|
gateway04 = {
|
|
key = 'fca88dd58316f4ab50d2a697123dddf4d0ba3aad52ddeb0ba7835cdbbeb60dbf',
|
|
remotes = {'"gw04.hamburg.freifunk.net" port 10000'},
|
|
},
|
|
gateway05 = {
|
|
key = '84986658775167dff6918dc8e0529c4a4524cb1782849a80933ddb6d8c6bd3f5',
|
|
remotes = {'"gw05.hamburg.freifunk.net" port 10001'},
|
|
},
|
|
gateway06 = {
|
|
key = 'fb608aa75180ba88b4a3399a6498e68796d200afc1bfd275a0dcb903a31f39b6',
|
|
remotes = {'"gw06.hamburg.freifunk.net" port 10000'},
|
|
},
|
|
gateway07 = {
|
|
key = '62ea83b5fbb0fd8cf205f1398698cb29180039b8246b1f69778e8f52cd423612',
|
|
remotes = {'"gw07.hamburg.freifunk.net" port 10001'},
|
|
},
|
|
gateway08 = {
|
|
key = '67e9b215248ada3f4ffcc9db0bdf897128f6236a0d4e8d660762b77bebc914d4',
|
|
remotes = {'"gw08.hamburg.freifunk.net" port 10001'},
|
|
},
|
|
gateway09 = {
|
|
key = '5f483f6d26ac9106d86c0edcd08cf92c18caf67933719a394915ab809d1fb2bc',
|
|
remotes = {'"gw09.hamburg.freifunk.net" port 10001'},
|
|
},
|
|
gateway10 = {
|
|
key = '69c0bafd5c08d4277b339483cf137fe7e732b5bc87c8fbdb636ff7767426b94b',
|
|
remotes = {'"gw10.hamburg.freifunk.net" port 10000'},
|
|
},
|
|
gateway11 = {
|
|
key = 'ee7719551bdba725c27a60a031f2faeb44588162c8065a1c651d35b3c9ebc347',
|
|
remotes = {'"gw11.hamburg.freifunk.net" port 10000'},
|
|
},
|
|
gateway12 = {
|
|
key = 'facbbfb07525782fcde22b929f36ea508a295619eca35782003d9ca2dd3cc524',
|
|
remotes = {'"gw12.hamburg.freifunk.net" port 10001'},
|
|
},
|
|
gateway13 = {
|
|
key = 'd5556881159c7bc649caabf0a72ba7c33ca8bb5fd0c7f21d52f8cbd071185e28',
|
|
remotes = {'"gw13.hamburg.freifunk.net" port 10001'},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
autoupdater = {
|
|
branch = 'experimental',
|
|
branches = {
|
|
stable = {
|
|
name = 'stable',
|
|
mirrors = {'http://1.updates.services.ffhh/stable/sysupgrade','http://2.updates.services.ffhh/stable/sysupgrade'},
|
|
good_signatures = 2,
|
|
pubkeys = {
|
|
'417ef22f886539ddbcffbad35e9f493195ca53e05f75bd8d8011a4999498b589', -- baldo
|
|
'ef73bc52b929fd11efce9a5c8f0b5463f1766bb995c8a0b3b6bcd7ba45b8b1e6', -- leo
|
|
'3f0fc50d4e5c893f9f58f98874bd21080b93c28ff5e4d4946352cada1b4e6441', -- andre
|
|
'1d37eacbd70f72730b1f5aba246a6a8eab100e2d45dda0163d9ad827f70f88d4', -- gernot
|
|
},
|
|
},
|
|
beta = {
|
|
name = 'beta',
|
|
mirrors = {'http://1.updates.services.ffhh/beta/sysupgrade','http://2.updates.services.ffhh/beta/sysupgrade'},
|
|
good_signatures = 2,
|
|
pubkeys = {
|
|
'417ef22f886539ddbcffbad35e9f493195ca53e05f75bd8d8011a4999498b589', -- baldo
|
|
'ef73bc52b929fd11efce9a5c8f0b5463f1766bb995c8a0b3b6bcd7ba45b8b1e6', -- leo
|
|
'3f0fc50d4e5c893f9f58f98874bd21080b93c28ff5e4d4946352cada1b4e6441', -- andre
|
|
'1d37eacbd70f72730b1f5aba246a6a8eab100e2d45dda0163d9ad827f70f88d4', -- gernot
|
|
},
|
|
},
|
|
experimental = {
|
|
name = 'experimental',
|
|
mirrors = {'http://1.updates.services.ffhh/experimental/sysupgrade','http://2.updates.services.ffhh/experimental/sysupgrade'},
|
|
good_signatures = 1,
|
|
pubkeys = {
|
|
'1a0112fe489860068480c611c5dc56196c2f1a645db651ea2ed19ae0f0e8e1d1', -- 1.builder
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
simple_tc = {
|
|
mesh_vpn = {
|
|
ifname = 'mesh-vpn',
|
|
enabled = false,
|
|
limit_egress = 500,
|
|
limit_ingress = 8000,
|
|
},
|
|
},
|
|
|
|
config_mode = {
|
|
msg_welcome = [[
|
|
Willkommen zum Einrichtungsassistenten für deinen neuen Hamburger
|
|
Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
|
|
entsprechend aus und sende es ab.
|
|
Den unten anzugebenden Knotennamen kannst du beliebig wählen. Denke Dir also etwas schönes aus. Er ist der Name des Knotens im Netzwerk und hat nichts mit dem ausgestrahlten Netzwerknamen (SSID) zu tun. Letzterer ist immer hamburg.freifunk.net.
|
|
]],
|
|
msg_nopubkey = [[
|
|
Bitte trage nun den Namen deines Knotens
|
|
(<em><%=hostname%></em>) und ein paar andere Informationen unter
|
|
<a href="http://formular.hamburg.freifunk.net/#/new?hostname=<%=hostname%>&mac=<%= sysconfig.primary_mac %>" target="_blank">http://formular.hamburg.freifunk.net/</a>
|
|
ein.
|
|
]],
|
|
msg_pubkey = [[
|
|
Dies ist der öffentliche Schlüssel deines Freifunkknotens. Erst nachdem
|
|
er auf den Servern des Hamburger Freifunk-Projektes eingetragen wurde,
|
|
kann sich dein Knoten mit dem Hamburger Mesh-VPN verbinden. Bitte
|
|
trage dazu diesen Schlüssel, den Namen deines Knotens
|
|
(<em><%=hostname%></em>) und ein paar andere Informationen unter
|
|
<a href="http://formular.hamburg.freifunk.net/#/new?hostname=<%=hostname%>&key=<%=pubkey%>&mac=<%= sysconfig.primary_mac %>" target="_blank">http://formular.hamburg.freifunk.net/</a>
|
|
ein.
|
|
]],
|
|
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
|
|
Hamburger Freifunk-Community findest du auf
|
|
<a href="https://hamburg.freifunk.net/">unserer Webseite</a>.
|
|
</p>
|
|
<p>
|
|
Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
|
|
</p>
|
|
]],
|
|
},
|
|
|
|
legacy = {
|
|
version_files = {'/etc/.freifunk_version_keep'},
|
|
old_files = {'/etc/config/config_mode', '/etc/config/freifunk'},
|
|
|
|
config_mode_configs = {'config_mode.@wizard{0}', 'freifunk.@wizard{0}'},
|
|
fastd_configs = {'mesh_vpn'},
|
|
mesh_ifname = 'freifunk',
|
|
tc_configs = {'freifunk.@bandwidth{0}'},
|
|
wifi_names = {'wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'},
|
|
},
|
|
}
|