From 0e421661c015e7f3532c95d9954bbde4f81e6b37 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 19 Sep 2015 01:10:33 +0200 Subject: [PATCH 01/10] Remove fastd gateways peers with alternate ports --- site.conf | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/site.conf b/site.conf index 5bb70ae..2b07c4a 100644 --- a/site.conf +++ b/site.conf @@ -45,34 +45,20 @@ backbone = { limit = 1, peers = { - gw03_10000 = { + gw03 = { key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41', remotes = { 'ipv4 "gw03.ffmuc.net" port 10000', 'ipv4 "gw03.freifunk-muenchen.de" port 10000', }, }, - gw03_10002 = { - key = '0c76609762e99e278f2112a09046970b9025aa768d0c30c27242491453579fe7', - remotes = { - 'ipv4 "gw03.ffmuc.net" port 10002', - 'ipv4 "gw03.freifunk-muenchen.de" port 10002', - }, - }, - gw04_10000 = { + gw04 = { key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126', remotes = { 'ipv4 "gw04.ffmuc.net" port 10000', 'ipv4 "gw04.freifunk-muenchen.de" port 10000', }, }, - gw04_10002 = { - key = 'e6f0f50d2fa155a078316b6e3acad4595adcf453b959f85f20070c68df328065', - remotes = { - 'ipv4 "gw04.ffmuc.net" port 10002', - 'ipv4 "gw04.freifunk-muenchen.de" port 10002', - }, - }, gw05 = { key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e', remotes = { From b5c478230e5855280b6f20b90d32a2f331faed1d Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 19 Sep 2015 20:46:02 +0200 Subject: [PATCH 02/10] Require 2 signatures for experimental (LQFB i139) --- site.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site.conf b/site.conf index 2b07c4a..7abb91d 100644 --- a/site.conf +++ b/site.conf @@ -132,8 +132,11 @@ 'http://[fdef:ffc0:4fff::130]/experimental/sysupgrade/', }, probability = 0.5, - good_signatures = 1, + good_signatures = 2, pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) }, }, From ce57afabe0e6faf871b87d54e0a8dd9de46dfc7f Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 26 Sep 2015 20:13:02 +0200 Subject: [PATCH 03/10] Fix prefix4 & next_node.ip4, fixes #19 --- site.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site.conf b/site.conf index 7abb91d..81c4667 100644 --- a/site.conf +++ b/site.conf @@ -4,7 +4,7 @@ site_code = 'ffmuc', opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages', - prefix4 = '10.80.0.0/16', + prefix4 = '10.80.32.0/19', prefix6 = 'fdef:ffc0:4fff::/64', timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', @@ -33,7 +33,7 @@ }, next_node = { - ip4 = '10.80.0.1', + ip4 = '10.80.32.1', ip6 = 'fdef:ffc0:4fff::1', mac = '16:41:95:40:f7:dc', }, From 0b5aeca9b8aa73fab6e4297ed6c9429a1b60d273 Mon Sep 17 00:00:00 2001 From: x29a <0.x29a.0@gmail.com> Date: Sun, 27 Sep 2015 16:53:00 +0200 Subject: [PATCH 04/10] update url to webpage and meshviewer/map --- i18n/de.po | 4 ++-- i18n/en.po | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/de.po b/i18n/de.po index 95726e0..1de0778 100644 --- a/i18n/de.po +++ b/i18n/de.po @@ -24,9 +24,9 @@ msgstr "" "

Dein Knoten startet gerade neu und wird anschließend versuchen, sich " "mit anderen Freifunk-Knoten in seiner Nähe zu verbinden. Weitere " "Informationen zur Münchner Freifunk-Community findest du auf " -"unserer Webseite. Wenn " +"unserer Webseite. Wenn " "alles geklappt hat, wirst du in ein paar Minuten unter " -"map.freifunk-muenchen.de " +"ffmuc.net/map/ " "deinen Knoten finden.

" "

Um zu dieser Konfigurationsseite zurückzugelangen, drücke im normalen " "Betrieb für drei Sekunden den Reset-Button. Das Gerät wird dann im Config " diff --git a/i18n/en.po b/i18n/en.po index a8c1913..9d2a560 100644 --- a/i18n/en.po +++ b/i18n/en.po @@ -22,7 +22,7 @@ msgid "gluon-config-mode:reboot" msgstr "" "

Your node is currently rebooting and will try to connect to other " "nearby Freifunk nodes. It should appear on our map at " -"map.freifunk-muenchen.de " +"ffmuc.net/map/ " "in a few minutes.

" "

To get back to this configuration interface, press the reset button for " "3 seconds during normal operation. The device will then reboot into config " From 4d9c61e8d1c0bbb86ace59559c405e7fb64a1440 Mon Sep 17 00:00:00 2001 From: Christian Obersteiner Date: Mon, 28 Sep 2015 20:57:34 +0200 Subject: [PATCH 05/10] Integration of the gluon-config-site-select package LUA does not like '-', so ffmuc-umland was renamed to ffmuc_umland Several testing has still to be done (especially upgrade to/from a firmware with site-select) --- extra/ffmuc.conf | 155 +++++++++++++++++++++++++++++++++++++++ extra/ffmuc_umland.conf | 134 ++++++++++++++++++++++++++++++++++ modules | 5 ++ site.conf | 156 +--------------------------------------- site.mk | 7 +- 5 files changed, 299 insertions(+), 158 deletions(-) create mode 100644 extra/ffmuc.conf create mode 100644 extra/ffmuc_umland.conf mode change 100644 => 120000 site.conf diff --git a/extra/ffmuc.conf b/extra/ffmuc.conf new file mode 100644 index 0000000..81c4667 --- /dev/null +++ b/extra/ffmuc.conf @@ -0,0 +1,155 @@ +{ + hostname_prefix = '', + site_name = 'Freifunk München', + site_code = 'ffmuc', + opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages', + + prefix4 = '10.80.32.0/19', + prefix6 = 'fdef:ffc0:4fff::/64', + + timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', + ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' }, + + mesh_on_wan = false, + + regdom = 'DE', + + wifi24 = { + ssid = 'muenchen.freifunk.net', + channel = 6, + htmode = 'HT20', + mesh_ssid = 'mesh.ffmuc', + mesh_bssid = '02:0E:8E:1E:61:17', + mesh_mcast_rate = 12000, + }, + + wifi5 = { + ssid = 'muenchen.freifunk.net', + channel = 44, + htmode = 'HT40+', + mesh_ssid = 'mesh.ffmuc', + mesh_bssid = '02:0E:8E:1E:61:17', + mesh_mcast_rate = 12000, + }, + + next_node = { + ip4 = '10.80.32.1', + ip6 = 'fdef:ffc0:4fff::1', + mac = '16:41:95:40:f7:dc', + }, + + fastd_mesh_vpn = { + methods = {'salsa2012+umac'}, + mtu = 1426, + groups = { + backbone = { + limit = 1, + peers = { + gw03 = { + key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41', + remotes = { + 'ipv4 "gw03.ffmuc.net" port 10000', + 'ipv4 "gw03.freifunk-muenchen.de" port 10000', + }, + }, + gw04 = { + key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126', + remotes = { + 'ipv4 "gw04.ffmuc.net" port 10000', + 'ipv4 "gw04.freifunk-muenchen.de" port 10000', + }, + }, + gw05 = { + key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e', + remotes = { + 'ipv4 "gw05.ffmuc.net" port 10000', + 'ipv4 "gw05.freifunk-muenchen.de" port 10000', + }, + }, + gw06 = { + key = 'd6834aa47a14358d804139630812276b3297e767d159c9cfd13fa6fb638000e0', + remotes = { + 'ipv4 "gw06.ffmuc.net" port 10000', + 'ipv4 "gw06.freifunk-muenchen.de" port 10000', + }, + }, + gw07 = { + key = '77b5f5189c360b245e1c934941468cc9cf57f0646465be5765593a95e54449d6', + remotes = { + 'ipv4 "gw07.ffmuc.net" port 10000', + 'ipv4 "gw07.freifunk-muenchen.de" port 10000', + }, + }, + gw08 = { + key = 'e476fb3a72365b550a23b587c0962eed362ed0c237175552b3261d22daaa2055', + remotes = { + 'ipv4 "gw08.ffmuc.net" port 10000', + 'ipv4 "gw08.freifunk-muenchen.de" port 10000', + }, + }, + gw09 = { + key = 'b86f436c9bb13b308dc92c3889fd468c46679d9df0bf4892244372ab415694d0', + remotes = { + 'ipv4 "gw09.ffmuc.net" port 10000', + 'ipv4 "gw09.freifunk-muenchen.de" port 10000', + }, + }, + gw10 = { + key = 'c04358d4818ec108fa4715e4517300cb2d0fa848dfa872770c4b8487d525e8bf', + remotes = { + 'ipv4 "gw10.ffmuc.net" port 10000', + 'ipv4 "gw10.freifunk-muenchen.de" port 10000', + }, + }, + }, + }, + }, + }, + + autoupdater = { + enabled = 1, + branch = 'stable', + branches = { + stable = { + name = 'stable', + mirrors = { + 'http://firmware.ffmuc.net/stable/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/stable/sysupgrade/', + }, + probability = 0.1, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + experimental = { + name = 'experimental', + mirrors = { + 'http://firmware.ffmuc.net/experimental/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/experimental/sysupgrade/', + }, + probability = 0.5, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + }, + }, + + simple_tc = { + mesh_vpn = { + ifname = 'mesh-vpn', + enabled = false, + limit_egress = 1200, + limit_ingress = 12000, + }, + }, +} +-- vim: set ft=lua:ts=2:sw=2:et diff --git a/extra/ffmuc_umland.conf b/extra/ffmuc_umland.conf new file mode 100644 index 0000000..a5ecdbd --- /dev/null +++ b/extra/ffmuc_umland.conf @@ -0,0 +1,134 @@ +{ + hostname_prefix = '', + site_name = 'Freifunk München Umland', + site_code = 'ffmuc_umland', + opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages', + + prefix4 = '10.80.96.0/19', + prefix6 = 'fdef:ffc0:4fff:2::/64', + + timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', + ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' }, + + mesh_on_wan = false, + + regdom = 'DE', + + wifi24 = { + ssid = 'muenchen.freifunk.net', + channel = 6, + htmode = 'HT20', + mesh_ssid = 'mesh.ffmuc.umland', + mesh_bssid = '02:0E:8E:1E:61:19', + mesh_mcast_rate = 12000, + }, + + wifi5 = { + ssid = 'muenchen.freifunk.net', + channel = 44, + htmode = 'HT40+', + mesh_ssid = 'mesh.ffmuc.umland', + mesh_bssid = '02:0E:8E:1E:61:19', + mesh_mcast_rate = 12000, + }, + + next_node = { + ip4 = '10.80.96.1', + ip6 = 'fdef:ffc0:4fff:2::1', + mac = '16:41:95:40:f7:dc', + }, + + fastd_mesh_vpn = { + methods = {'salsa2012+umac'}, + mtu = 1426, + groups = { + backbone = { + limit = 1, + peers = { + gwu01 = { + key = '70299e3a589522a89306732fdfe43f35d9af083e4db322d87be52cf45c89771b', + remotes = { + 'ipv4 "gwu01.ffmuc.net" port 10010', + 'ipv4 "gwu01.freifunk-muenchen.de" port 10010', + }, + }, + gwu02 = { + key = '32765d3337be727de5840930a221962a59cf5529ae6c1d3753e58ad460e510a5', + remotes = { + 'ipv4 "gwu02.ffmuc.net" port 10011', + 'ipv4 "gwu02.freifunk-muenchen.de" port 10011', + }, + }, + gwu03 = { + key = '61fe3197ed7e934284adc2571523104d8e5391db2427dca9528f0d34bb60a522', + remotes = { + 'ipv4 "gwu03.ffmuc.net" port 10012', + 'ipv4 "gwu03.freifunk-muenchen.de" port 10012', + }, + }, + gwu04 = { + key = '443898162e1e9ec09da0904d72d8145026f4452a4b1e880a07dc6699418c69d1', + remotes = { + 'ipv4 "gwu04.ffmuc.net" port 10013', + 'ipv4 "gwu04.freifunk-muenchen.de" port 10013', + }, + }, + gwu05 = { + key = 'b6de9fec8569b1fcdea8e7c45224ec30513d24e01af71148c6d640b5df471950', + remotes = { + 'ipv4 "gwu05.ffmuc.net" port 10014', + 'ipv4 "gwu05.freifunk-muenchen.de" port 10014', + }, + }, + }, + }, + }, + }, + + autoupdater = { + enabled = 1, + branch = 'stable', + branches = { + stable = { + name = 'stable', + mirrors = { + 'http://firmware.ffmuc.net/umland/stable/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/umland/stable/sysupgrade/', + }, + probability = 0.1, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + experimental = { + name = 'experimental', + mirrors = { + 'http://firmware.ffmuc.net/umland/experimental/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/umland/experimental/sysupgrade/', + }, + probability = 0.5, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + }, + }, + + simple_tc = { + mesh_vpn = { + ifname = 'mesh-vpn', + enabled = false, + limit_egress = 1200, + limit_ingress = 12000, + }, + }, +} +-- vim: set ft=lua:ts=2:sw=2:et diff --git a/modules b/modules index a505384..e88705d 100644 --- a/modules +++ b/modules @@ -2,3 +2,8 @@ GLUON_SITE_FEEDS='ffmuc_packages' PACKAGES_FFMUC_PACKAGES_REPO=https://github.com/freifunkMUC/gluon-packages.git PACKAGES_FFMUC_PACKAGES_COMMIT=82e721ad5d7c9eca8728954cfa1ab1d5b9168487 + +GLUON_SITE_FEEDS='gluon_community_repositorys' + +PACKAGES_GLUON_COMMUNITY_REPOSITORYS_REPO=https://github.com/freifunk-gcp/v2015.1 +PACKAGES_GLUON_COMMUNITY_REPOSITORYS_COMMIT=2e7326aa903273485617f28cdf17dc06dfe44a87 diff --git a/site.conf b/site.conf deleted file mode 100644 index 81c4667..0000000 --- a/site.conf +++ /dev/null @@ -1,155 +0,0 @@ -{ - hostname_prefix = '', - site_name = 'Freifunk München', - site_code = 'ffmuc', - opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages', - - prefix4 = '10.80.32.0/19', - prefix6 = 'fdef:ffc0:4fff::/64', - - timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', - ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' }, - - mesh_on_wan = false, - - regdom = 'DE', - - wifi24 = { - ssid = 'muenchen.freifunk.net', - channel = 6, - htmode = 'HT20', - mesh_ssid = 'mesh.ffmuc', - mesh_bssid = '02:0E:8E:1E:61:17', - mesh_mcast_rate = 12000, - }, - - wifi5 = { - ssid = 'muenchen.freifunk.net', - channel = 44, - htmode = 'HT40+', - mesh_ssid = 'mesh.ffmuc', - mesh_bssid = '02:0E:8E:1E:61:17', - mesh_mcast_rate = 12000, - }, - - next_node = { - ip4 = '10.80.32.1', - ip6 = 'fdef:ffc0:4fff::1', - mac = '16:41:95:40:f7:dc', - }, - - fastd_mesh_vpn = { - methods = {'salsa2012+umac'}, - mtu = 1426, - groups = { - backbone = { - limit = 1, - peers = { - gw03 = { - key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41', - remotes = { - 'ipv4 "gw03.ffmuc.net" port 10000', - 'ipv4 "gw03.freifunk-muenchen.de" port 10000', - }, - }, - gw04 = { - key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126', - remotes = { - 'ipv4 "gw04.ffmuc.net" port 10000', - 'ipv4 "gw04.freifunk-muenchen.de" port 10000', - }, - }, - gw05 = { - key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e', - remotes = { - 'ipv4 "gw05.ffmuc.net" port 10000', - 'ipv4 "gw05.freifunk-muenchen.de" port 10000', - }, - }, - gw06 = { - key = 'd6834aa47a14358d804139630812276b3297e767d159c9cfd13fa6fb638000e0', - remotes = { - 'ipv4 "gw06.ffmuc.net" port 10000', - 'ipv4 "gw06.freifunk-muenchen.de" port 10000', - }, - }, - gw07 = { - key = '77b5f5189c360b245e1c934941468cc9cf57f0646465be5765593a95e54449d6', - remotes = { - 'ipv4 "gw07.ffmuc.net" port 10000', - 'ipv4 "gw07.freifunk-muenchen.de" port 10000', - }, - }, - gw08 = { - key = 'e476fb3a72365b550a23b587c0962eed362ed0c237175552b3261d22daaa2055', - remotes = { - 'ipv4 "gw08.ffmuc.net" port 10000', - 'ipv4 "gw08.freifunk-muenchen.de" port 10000', - }, - }, - gw09 = { - key = 'b86f436c9bb13b308dc92c3889fd468c46679d9df0bf4892244372ab415694d0', - remotes = { - 'ipv4 "gw09.ffmuc.net" port 10000', - 'ipv4 "gw09.freifunk-muenchen.de" port 10000', - }, - }, - gw10 = { - key = 'c04358d4818ec108fa4715e4517300cb2d0fa848dfa872770c4b8487d525e8bf', - remotes = { - 'ipv4 "gw10.ffmuc.net" port 10000', - 'ipv4 "gw10.freifunk-muenchen.de" port 10000', - }, - }, - }, - }, - }, - }, - - autoupdater = { - enabled = 1, - branch = 'stable', - branches = { - stable = { - name = 'stable', - mirrors = { - 'http://firmware.ffmuc.net/stable/sysupgrade/', - 'http://[fdef:ffc0:4fff::130]/stable/sysupgrade/', - }, - probability = 0.1, - good_signatures = 2, - pubkeys = { - '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole - '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz - '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris - '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) - }, - }, - experimental = { - name = 'experimental', - mirrors = { - 'http://firmware.ffmuc.net/experimental/sysupgrade/', - 'http://[fdef:ffc0:4fff::130]/experimental/sysupgrade/', - }, - probability = 0.5, - good_signatures = 2, - pubkeys = { - '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole - '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz - '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris - '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) - }, - }, - }, - }, - - simple_tc = { - mesh_vpn = { - ifname = 'mesh-vpn', - enabled = false, - limit_egress = 1200, - limit_ingress = 12000, - }, - }, -} --- vim: set ft=lua:ts=2:sw=2:et diff --git a/site.conf b/site.conf new file mode 120000 index 0000000..ab6cfe3 --- /dev/null +++ b/site.conf @@ -0,0 +1 @@ +./extra/ffmuc.conf \ No newline at end of file diff --git a/site.mk b/site.mk index e3e819b..04814ad 100644 --- a/site.mk +++ b/site.mk @@ -9,6 +9,7 @@ GLUON_SITE_PACKAGES := \ gluon-config-mode-mesh-vpn \ gluon-config-mode-geo-location \ gluon-config-mode-contact-info \ + gluon-config-mode-site-select \ gluon-ebtables-filter-multicast \ gluon-ebtables-filter-ra-dhcp \ gluon-luci-admin \ @@ -23,9 +24,9 @@ GLUON_SITE_PACKAGES := \ gluon-status-page \ iwinfo \ iptables \ - haveged \ - gluon-ebtables-filter-arp-ffmuc \ - gluon-ebtables-filter-multicast-ffmuc + haveged #\ +# gluon-ebtables-filter-arp-ffmuc \ +# gluon-ebtables-filter-multicast-ffmuc DEFAULT_GLUON_RELEASE := snapshot~$(shell date '+%Y%m%d') From 48c96b7ed42b7e1307a45636aff2dc03c8ace66e Mon Sep 17 00:00:00 2001 From: Christian Obersteiner Date: Mon, 28 Sep 2015 21:38:47 +0200 Subject: [PATCH 06/10] Softlinking site.conf to the default .conf does not work --- site.conf | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 155 insertions(+), 1 deletion(-) mode change 120000 => 100644 site.conf diff --git a/site.conf b/site.conf deleted file mode 120000 index ab6cfe3..0000000 --- a/site.conf +++ /dev/null @@ -1 +0,0 @@ -./extra/ffmuc.conf \ No newline at end of file diff --git a/site.conf b/site.conf new file mode 100644 index 0000000..81c4667 --- /dev/null +++ b/site.conf @@ -0,0 +1,155 @@ +{ + hostname_prefix = '', + site_name = 'Freifunk München', + site_code = 'ffmuc', + opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages', + + prefix4 = '10.80.32.0/19', + prefix6 = 'fdef:ffc0:4fff::/64', + + timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', + ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' }, + + mesh_on_wan = false, + + regdom = 'DE', + + wifi24 = { + ssid = 'muenchen.freifunk.net', + channel = 6, + htmode = 'HT20', + mesh_ssid = 'mesh.ffmuc', + mesh_bssid = '02:0E:8E:1E:61:17', + mesh_mcast_rate = 12000, + }, + + wifi5 = { + ssid = 'muenchen.freifunk.net', + channel = 44, + htmode = 'HT40+', + mesh_ssid = 'mesh.ffmuc', + mesh_bssid = '02:0E:8E:1E:61:17', + mesh_mcast_rate = 12000, + }, + + next_node = { + ip4 = '10.80.32.1', + ip6 = 'fdef:ffc0:4fff::1', + mac = '16:41:95:40:f7:dc', + }, + + fastd_mesh_vpn = { + methods = {'salsa2012+umac'}, + mtu = 1426, + groups = { + backbone = { + limit = 1, + peers = { + gw03 = { + key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41', + remotes = { + 'ipv4 "gw03.ffmuc.net" port 10000', + 'ipv4 "gw03.freifunk-muenchen.de" port 10000', + }, + }, + gw04 = { + key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126', + remotes = { + 'ipv4 "gw04.ffmuc.net" port 10000', + 'ipv4 "gw04.freifunk-muenchen.de" port 10000', + }, + }, + gw05 = { + key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e', + remotes = { + 'ipv4 "gw05.ffmuc.net" port 10000', + 'ipv4 "gw05.freifunk-muenchen.de" port 10000', + }, + }, + gw06 = { + key = 'd6834aa47a14358d804139630812276b3297e767d159c9cfd13fa6fb638000e0', + remotes = { + 'ipv4 "gw06.ffmuc.net" port 10000', + 'ipv4 "gw06.freifunk-muenchen.de" port 10000', + }, + }, + gw07 = { + key = '77b5f5189c360b245e1c934941468cc9cf57f0646465be5765593a95e54449d6', + remotes = { + 'ipv4 "gw07.ffmuc.net" port 10000', + 'ipv4 "gw07.freifunk-muenchen.de" port 10000', + }, + }, + gw08 = { + key = 'e476fb3a72365b550a23b587c0962eed362ed0c237175552b3261d22daaa2055', + remotes = { + 'ipv4 "gw08.ffmuc.net" port 10000', + 'ipv4 "gw08.freifunk-muenchen.de" port 10000', + }, + }, + gw09 = { + key = 'b86f436c9bb13b308dc92c3889fd468c46679d9df0bf4892244372ab415694d0', + remotes = { + 'ipv4 "gw09.ffmuc.net" port 10000', + 'ipv4 "gw09.freifunk-muenchen.de" port 10000', + }, + }, + gw10 = { + key = 'c04358d4818ec108fa4715e4517300cb2d0fa848dfa872770c4b8487d525e8bf', + remotes = { + 'ipv4 "gw10.ffmuc.net" port 10000', + 'ipv4 "gw10.freifunk-muenchen.de" port 10000', + }, + }, + }, + }, + }, + }, + + autoupdater = { + enabled = 1, + branch = 'stable', + branches = { + stable = { + name = 'stable', + mirrors = { + 'http://firmware.ffmuc.net/stable/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/stable/sysupgrade/', + }, + probability = 0.1, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + experimental = { + name = 'experimental', + mirrors = { + 'http://firmware.ffmuc.net/experimental/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/experimental/sysupgrade/', + }, + probability = 0.5, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + }, + }, + + simple_tc = { + mesh_vpn = { + ifname = 'mesh-vpn', + enabled = false, + limit_egress = 1200, + limit_ingress = 12000, + }, + }, +} +-- vim: set ft=lua:ts=2:sw=2:et From 575c48c2843a0a56638a426754df8dfd045e1c77 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 4 Oct 2015 11:24:13 +0200 Subject: [PATCH 07/10] Try symlinking extra/ffmuc.conf to site.conf --- extra/ffmuc.conf | 156 +---------------------------------------------- 1 file changed, 1 insertion(+), 155 deletions(-) mode change 100644 => 120000 extra/ffmuc.conf diff --git a/extra/ffmuc.conf b/extra/ffmuc.conf deleted file mode 100644 index 81c4667..0000000 --- a/extra/ffmuc.conf +++ /dev/null @@ -1,155 +0,0 @@ -{ - hostname_prefix = '', - site_name = 'Freifunk München', - site_code = 'ffmuc', - opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages', - - prefix4 = '10.80.32.0/19', - prefix6 = 'fdef:ffc0:4fff::/64', - - timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', - ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' }, - - mesh_on_wan = false, - - regdom = 'DE', - - wifi24 = { - ssid = 'muenchen.freifunk.net', - channel = 6, - htmode = 'HT20', - mesh_ssid = 'mesh.ffmuc', - mesh_bssid = '02:0E:8E:1E:61:17', - mesh_mcast_rate = 12000, - }, - - wifi5 = { - ssid = 'muenchen.freifunk.net', - channel = 44, - htmode = 'HT40+', - mesh_ssid = 'mesh.ffmuc', - mesh_bssid = '02:0E:8E:1E:61:17', - mesh_mcast_rate = 12000, - }, - - next_node = { - ip4 = '10.80.32.1', - ip6 = 'fdef:ffc0:4fff::1', - mac = '16:41:95:40:f7:dc', - }, - - fastd_mesh_vpn = { - methods = {'salsa2012+umac'}, - mtu = 1426, - groups = { - backbone = { - limit = 1, - peers = { - gw03 = { - key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41', - remotes = { - 'ipv4 "gw03.ffmuc.net" port 10000', - 'ipv4 "gw03.freifunk-muenchen.de" port 10000', - }, - }, - gw04 = { - key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126', - remotes = { - 'ipv4 "gw04.ffmuc.net" port 10000', - 'ipv4 "gw04.freifunk-muenchen.de" port 10000', - }, - }, - gw05 = { - key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e', - remotes = { - 'ipv4 "gw05.ffmuc.net" port 10000', - 'ipv4 "gw05.freifunk-muenchen.de" port 10000', - }, - }, - gw06 = { - key = 'd6834aa47a14358d804139630812276b3297e767d159c9cfd13fa6fb638000e0', - remotes = { - 'ipv4 "gw06.ffmuc.net" port 10000', - 'ipv4 "gw06.freifunk-muenchen.de" port 10000', - }, - }, - gw07 = { - key = '77b5f5189c360b245e1c934941468cc9cf57f0646465be5765593a95e54449d6', - remotes = { - 'ipv4 "gw07.ffmuc.net" port 10000', - 'ipv4 "gw07.freifunk-muenchen.de" port 10000', - }, - }, - gw08 = { - key = 'e476fb3a72365b550a23b587c0962eed362ed0c237175552b3261d22daaa2055', - remotes = { - 'ipv4 "gw08.ffmuc.net" port 10000', - 'ipv4 "gw08.freifunk-muenchen.de" port 10000', - }, - }, - gw09 = { - key = 'b86f436c9bb13b308dc92c3889fd468c46679d9df0bf4892244372ab415694d0', - remotes = { - 'ipv4 "gw09.ffmuc.net" port 10000', - 'ipv4 "gw09.freifunk-muenchen.de" port 10000', - }, - }, - gw10 = { - key = 'c04358d4818ec108fa4715e4517300cb2d0fa848dfa872770c4b8487d525e8bf', - remotes = { - 'ipv4 "gw10.ffmuc.net" port 10000', - 'ipv4 "gw10.freifunk-muenchen.de" port 10000', - }, - }, - }, - }, - }, - }, - - autoupdater = { - enabled = 1, - branch = 'stable', - branches = { - stable = { - name = 'stable', - mirrors = { - 'http://firmware.ffmuc.net/stable/sysupgrade/', - 'http://[fdef:ffc0:4fff::130]/stable/sysupgrade/', - }, - probability = 0.1, - good_signatures = 2, - pubkeys = { - '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole - '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz - '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris - '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) - }, - }, - experimental = { - name = 'experimental', - mirrors = { - 'http://firmware.ffmuc.net/experimental/sysupgrade/', - 'http://[fdef:ffc0:4fff::130]/experimental/sysupgrade/', - }, - probability = 0.5, - good_signatures = 2, - pubkeys = { - '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole - '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz - '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris - '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) - }, - }, - }, - }, - - simple_tc = { - mesh_vpn = { - ifname = 'mesh-vpn', - enabled = false, - limit_egress = 1200, - limit_ingress = 12000, - }, - }, -} --- vim: set ft=lua:ts=2:sw=2:et diff --git a/extra/ffmuc.conf b/extra/ffmuc.conf new file mode 120000 index 0000000..2873803 --- /dev/null +++ b/extra/ffmuc.conf @@ -0,0 +1 @@ +../site.conf \ No newline at end of file From 11e58e4d0caeb3ca06ed335c05783436da261881 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 4 Oct 2015 13:10:15 +0200 Subject: [PATCH 08/10] Reenable ebtables filters --- modules | 8 ++++---- site.mk | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules b/modules index e88705d..25756ab 100644 --- a/modules +++ b/modules @@ -1,9 +1,9 @@ GLUON_SITE_FEEDS='ffmuc_packages' PACKAGES_FFMUC_PACKAGES_REPO=https://github.com/freifunkMUC/gluon-packages.git -PACKAGES_FFMUC_PACKAGES_COMMIT=82e721ad5d7c9eca8728954cfa1ab1d5b9168487 +PACKAGES_FFMUC_PACKAGES_COMMIT=d4d5aa3e3874ca6099e91fd70008ad5d54038169 -GLUON_SITE_FEEDS='gluon_community_repositorys' +GLUON_SITE_FEEDS='gluon_community' -PACKAGES_GLUON_COMMUNITY_REPOSITORYS_REPO=https://github.com/freifunk-gcp/v2015.1 -PACKAGES_GLUON_COMMUNITY_REPOSITORYS_COMMIT=2e7326aa903273485617f28cdf17dc06dfe44a87 +PACKAGES_GLUON_COMMUNITY_REPO=https://github.com/freifunk-gcp/v2015.1 +PACKAGES_GLUON_COMMUNITY_COMMIT=2e7326aa903273485617f28cdf17dc06dfe44a87 diff --git a/site.mk b/site.mk index 04814ad..72171f4 100644 --- a/site.mk +++ b/site.mk @@ -9,7 +9,7 @@ GLUON_SITE_PACKAGES := \ gluon-config-mode-mesh-vpn \ gluon-config-mode-geo-location \ gluon-config-mode-contact-info \ - gluon-config-mode-site-select \ + gluon-config-mode-site-select \ gluon-ebtables-filter-multicast \ gluon-ebtables-filter-ra-dhcp \ gluon-luci-admin \ @@ -24,9 +24,9 @@ GLUON_SITE_PACKAGES := \ gluon-status-page \ iwinfo \ iptables \ - haveged #\ -# gluon-ebtables-filter-arp-ffmuc \ -# gluon-ebtables-filter-multicast-ffmuc + haveged \ + gluon-ebtables-filter-arp-ffmuc \ + gluon-ebtables-filter-multicast-ffmuc DEFAULT_GLUON_RELEASE := snapshot~$(shell date '+%Y%m%d') From c1b7beaebbc94712edb9f804887fe5b9a7463acd Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 4 Oct 2015 14:04:59 +0200 Subject: [PATCH 09/10] Don't overwrite GLUON_SITE_FEEDS in modules --- modules | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules b/modules index 25756ab..0723976 100644 --- a/modules +++ b/modules @@ -1,9 +1,7 @@ -GLUON_SITE_FEEDS='ffmuc_packages' +GLUON_SITE_FEEDS='ffmuc_packages gluon_community' PACKAGES_FFMUC_PACKAGES_REPO=https://github.com/freifunkMUC/gluon-packages.git PACKAGES_FFMUC_PACKAGES_COMMIT=d4d5aa3e3874ca6099e91fd70008ad5d54038169 -GLUON_SITE_FEEDS='gluon_community' - PACKAGES_GLUON_COMMUNITY_REPO=https://github.com/freifunk-gcp/v2015.1 PACKAGES_GLUON_COMMUNITY_COMMIT=2e7326aa903273485617f28cdf17dc06dfe44a87 From 4728e2d664d3d2c528b14424495b01024962acb2 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 4 Oct 2015 15:29:34 +0200 Subject: [PATCH 10/10] Add ffmuc_welcome site.conf --- extra/ffmuc_welcome.conf | 127 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 extra/ffmuc_welcome.conf diff --git a/extra/ffmuc_welcome.conf b/extra/ffmuc_welcome.conf new file mode 100644 index 0000000..9e17be4 --- /dev/null +++ b/extra/ffmuc_welcome.conf @@ -0,0 +1,127 @@ +{ + hostname_prefix = 'welcome', + site_name = 'Freifunk München Welcome', + site_code = 'ffmuc_welcome', + opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages', + + prefix4 = '10.80.64.0/19', + prefix6 = 'fdef:ffc0:4fff:1::/64', + + timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', + ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' }, + + mesh_on_wan = false, + + regdom = 'DE', + + wifi24 = { + ssid = 'muenchen.freifunk.net', + channel = 6, + htmode = 'HT20', + mesh_ssid = 'mesh.ffmuc.welcome', + mesh_bssid = '02:0E:8E:1E:61:18', + mesh_mcast_rate = 12000, + }, + + wifi5 = { + ssid = 'muenchen.freifunk.net', + channel = 44, + htmode = 'HT40+', + mesh_ssid = 'mesh.ffmuc.welcome', + mesh_bssid = '02:0E:8E:1E:61:18', + mesh_mcast_rate = 12000, + }, + + next_node = { + ip4 = '10.80.64.1', + ip6 = 'fdef:ffc0:4fff:1::1', + mac = '16:41:95:40:f7:dc', + }, + + fastd_mesh_vpn = { + methods = {'salsa2012+umac'}, + mtu = 1426, + groups = { + backbone = { + limit = 1, + peers = { + gwf01 = { + key = '89951ed50d591c0a4682ae50cb38806efe44dd736ba91ef64c9ef06b20ec186e', + remotes = { + 'ipv4 "gwf01.ffmuc.net" port 11000', + 'ipv4 "gwf01.freifunk-muenchen.de" port 11000', + }, + }, + gwf02 = { + key = 'e255f2671c56f28a65173719be61939e5d48518eaa4da0d19283fd5395908e35', + remotes = { + 'ipv4 "gwf02.ffmuc.net" port 11000', + 'ipv4 "gwf02.freifunk-muenchen.de" port 11001', + }, + }, + gwf03 = { + key = 'bf16080ab05a4416285638208e6f17055ea8f92cfd496c61eee1f1160cf6d386', + remotes = { + 'ipv4 "gwf03.ffmuc.net" port 11000', + 'ipv4 "gwf03.freifunk-muenchen.de" port 11002', + }, + }, + gwf04 = { + key = '421a2c8e78f86d08fa7c8c7660b0dc073640ff365acb308ab92155c33488c539', + remotes = { + 'ipv4 "gwf04.ffmuc.net" port 11000', + 'ipv4 "gwf04.freifunk-muenchen.de" port 11003', + }, + }, + }, + }, + }, + }, + + autoupdater = { + enabled = 1, + branch = 'stable', + branches = { + stable = { + name = 'stable', + mirrors = { + 'http://firmware.ffmuc.net/welcome/stable/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/welcome/stable/sysupgrade/', + }, + probability = 0.1, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + experimental = { + name = 'experimental', + mirrors = { + 'http://firmware.ffmuc.net/welcome/experimental/sysupgrade/', + 'http://[fdef:ffc0:4fff::130]/welcome/experimental/sysupgrade/', + }, + probability = 0.5, + good_signatures = 2, + pubkeys = { + '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole + '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz + '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris + '2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) + }, + }, + }, + }, + + simple_tc = { + mesh_vpn = { + ifname = 'mesh-vpn', + enabled = false, + limit_egress = 1200, + limit_ingress = 12000, + }, + }, +} +-- vim: set ft=lua:ts=2:sw=2:et