From a06b4b62e9c41fb22dbaff7c546cf61ec21010d1 Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Tue, 24 Jan 2017 17:47:58 +0100 Subject: [PATCH 01/11] update site.mk for v2016.2.x Changes for https://github.com/freifunk-gluon/gluon/tree/v2016.2.x --- site.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/site.mk b/site.mk index 7e948f7..a30510f 100644 --- a/site.mk +++ b/site.mk @@ -7,7 +7,7 @@ GLUON_SITE_PACKAGES := \ gluon-mesh-batman-adv-15 \ gluon-alfred \ - gluon-announced \ + gluon-respondd \ gluon-autoupdater \ gluon-config-mode-autoupdater \ gluon-config-mode-contact-info \ @@ -21,7 +21,6 @@ GLUON_SITE_PACKAGES := \ gluon-luci-autoupdater \ gluon-luci-portconfig \ gluon-luci-wifi-config \ - gluon-luci-private-wifi \ gluon-next-node \ gluon-mesh-vpn-fastd \ gluon-radvd \ @@ -48,7 +47,7 @@ DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d') # gluon-ff%site_code%-23.42+5-%router_model%.bin # Allow overriding the release number from the command line, same as gluon branch. -GLUON_RELEASE ?= 1.0.13 +GLUON_RELEASE ?= 1.0.14 GLUON_BRANCH ?= testing # Default priority for updates. From ffea30a60d8cad59de0150391f78194f5258fc96 Mon Sep 17 00:00:00 2001 From: 1of16 Date: Wed, 8 Feb 2017 12:25:33 +0100 Subject: [PATCH 02/11] update site.conf for v2016.2.x --- site.conf | 54 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/site.conf b/site.conf index 3739083..e797fa7 100644 --- a/site.conf +++ b/site.conf @@ -17,27 +17,45 @@ regdom = 'DE', wifi24 = { channel = 6, - ssid = 'freifunk-celle.de', - htmode = 'HT20', - mesh_ssid = 'mesh.freifunk-celle.de', - stamesh_ssid = 'stamesh.freifunk-celle.de', - mesh_bssid = 'de:00:00:00:ff:ce', - mesh_enc = 'psk', - stamesh_enc = 'psk-mixed+tkip+ccmp', - mesh_psk = 'Ich weiss, was ich tue.', - mesh_mcast_rate = 12000, +-- htmode = 'HT20', + ap = { + ssid = 'freifunk-celle.de', + }, + ibss = { + ssid = 'mesh.freifunk-celle.de', + bssid = 'de:00:00:00:ff:ce', + mcast_rate = 12000, + }, +-- mesh = { +-- id = 'mesh.freifunk-celle.de', +-- mcast_rate = 12000, +-- }, +-- stamesh_ssid = 'stamesh.freifunk-celle.de', +-- mesh_bssid = 'de:00:00:00:ff:ce', +-- mesh_enc = 'psk', +-- stamesh_enc = 'psk-mixed+tkip+ccmp', +-- mesh_psk = 'Ich weiss, was ich tue.', }, wifi5 = { channel = 40, - ssid = 'freifunk-celle.de', - htmode = 'HT20', - mesh_ssid = 'mesh.freifunk-celle.de', - stamesh_ssid = 'stamesh.freifunk-celle.de', - mesh_bssid = 'de:00:00:00:ff:ce', - mesh_enc = 'psk', - stamesh_enc = 'psk-mixed+tkip+ccmp', - mesh_psk = 'Ich weiss, was ich tue.', - mesh_mcast_rate = 12000, +-- htmode = 'HT20', + ap = { + ssid = 'freifunk-celle.de', + }, + ibss = { + ssid = 'mesh.freifunk-celle.de', + bssid = 'de:00:00:00:ff:ce', + mcast_rate = 12000, + }, +-- mesh = { +-- id = 'mesh.freifunk-celle.de', +-- mcast_rate = 12000, +-- }, +-- stamesh_ssid = 'stamesh.freifunk-celle.de', +-- mesh_bssid = 'de:00:00:00:ff:ce', +-- mesh_enc = 'psk', +-- stamesh_enc = 'psk-mixed+tkip+ccmp', +-- mesh_psk = 'Ich weiss, was ich tue.', }, -- Node finder for connecting to next local node. From 0a451cc9f84517ee1cea2c350dc88eedd6fd7406 Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Fri, 5 May 2017 21:58:11 +0200 Subject: [PATCH 03/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b4feb9e..82948f9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # freifunk-celle -Site-Konfiguration für das Gluon Image (v2015.1.2) der Freifunk Celle Community. +Site-Konfiguration für das Gluon Image (v2016.2.5) der Freifunk Celle Community. From c9a6fb57f01bdefeb193d3183cf1d803cd08b0c8 Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Sat, 6 May 2017 22:47:11 +0200 Subject: [PATCH 04/11] Update site.conf --- site.conf | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/site.conf b/site.conf index e797fa7..9ab72df 100644 --- a/site.conf +++ b/site.conf @@ -21,20 +21,15 @@ ap = { ssid = 'freifunk-celle.de', }, - ibss = { - ssid = 'mesh.freifunk-celle.de', - bssid = 'de:00:00:00:ff:ce', + mesh = { + id = 'ffce-mesh', mcast_rate = 12000, }, --- mesh = { --- id = 'mesh.freifunk-celle.de', +-- ibss = { +-- ssid = 'stamesh.freifunk-celle.de', +-- bssid = 'de:00:00:00:ff:ce', -- mcast_rate = 12000, -- }, --- stamesh_ssid = 'stamesh.freifunk-celle.de', --- mesh_bssid = 'de:00:00:00:ff:ce', --- mesh_enc = 'psk', --- stamesh_enc = 'psk-mixed+tkip+ccmp', --- mesh_psk = 'Ich weiss, was ich tue.', }, wifi5 = { channel = 40, @@ -42,20 +37,15 @@ ap = { ssid = 'freifunk-celle.de', }, - ibss = { - ssid = 'mesh.freifunk-celle.de', - bssid = 'de:00:00:00:ff:ce', + mesh = { + id = 'ffce-mesh', mcast_rate = 12000, }, --- mesh = { --- id = 'mesh.freifunk-celle.de', +-- ibss = { +-- ssid = 'stamesh.freifunk-celle.de', +-- bssid = 'de:00:00:00:ff:ce', -- mcast_rate = 12000, -- }, --- stamesh_ssid = 'stamesh.freifunk-celle.de', --- mesh_bssid = 'de:00:00:00:ff:ce', --- mesh_enc = 'psk', --- stamesh_enc = 'psk-mixed+tkip+ccmp', --- mesh_psk = 'Ich weiss, was ich tue.', }, -- Node finder for connecting to next local node. @@ -68,7 +58,7 @@ -- VPN meshing with supernode. fastd_mesh_vpn = { methods = {'salsa2012+umac'}, - configurable = true, +-- configurable = true, mtu = 1406, -- support both IPv4 and IPv6 links over PPPoE with the same MTU. groups = { backbone = { @@ -86,7 +76,6 @@ }, }, }, - -- Automatic updates for the Gluon image. autoupdater = { branch = 'stable', @@ -117,8 +106,18 @@ mesh_vpn = { ifname = 'mesh-vpn', enabled = false, - limit_egress = 600, - limit_ingress = 6000, + limit_egress = 1024, + limit_ingress = 4096, + }, + }, + config_mode = { + -- Show/hide the altitude field + geo_location = { + show_altitude = false, }, + -- define if the contact field is obligatory (optional) + owner = { + obligatory = true + }, }, } From 75a0443b16709a9c249e72d155515eefc8972b03 Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Sat, 6 May 2017 22:48:08 +0200 Subject: [PATCH 05/11] Update site.mk --- site.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/site.mk b/site.mk index a30510f..1cee7ce 100644 --- a/site.mk +++ b/site.mk @@ -48,10 +48,17 @@ DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d') # Allow overriding the release number from the command line, same as gluon branch. GLUON_RELEASE ?= 1.0.14 -GLUON_BRANCH ?= testing +# stable testing experimental +GLUON_BRANCH ?= stable # Default priority for updates. GLUON_PRIORITY ?= 0 +# Region code required for some images; supported values: us eu +GLUON_REGION = eu + # Languages to include GLUON_LANGS ?= en de + +# Build ath10k support +GLUON_ATH10K_MESH = 11s From aea9f0fd74f0a100154fc90f0c8ee1a804d99cd6 Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Sat, 6 May 2017 22:49:07 +0200 Subject: [PATCH 06/11] Update de.po --- i18n/de.po | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/i18n/de.po b/i18n/de.po index 799602d..4f7f39d 100644 --- a/i18n/de.po +++ b/i18n/de.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -"Project-Id-Version: 0.1\n" -"PO-Revision-Date: 2015-03-19 20:28+0100\n" +"Project-Id-Version: 0.2\n" +"PO-Revision-Date: 2017-05-06 20:00+0100\n" "Last-Translator: Freifunk Celle \n" "Language-Team: German\n" "Language: de\n" @@ -23,7 +23,13 @@ msgstr "" "kann sich dein Knoten mit dem Celler Mesh-VPN verbinden. Bitte " "schicke dazu diesen Schlüssel und den Namen deines Knotens " "(<%=hostname%>) an " -"keys@freifunk-celle.de." +"'s%20Schluessel&body=#<%=urlescape(hostname)%>%0A<%=pubkey%>\">keys@freifunk-celle.de." +"

" +"
" +" # <%=escape(hostname)%>" +"
" +"<%= pubkey %>" +"
" msgid "gluon-config-mode:reboot" msgstr "" From 8575339bf7a1b1f41b0a49c4b93477403ff3e906 Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Sat, 6 May 2017 22:49:34 +0200 Subject: [PATCH 07/11] Update en.po --- i18n/en.po | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/i18n/en.po b/i18n/en.po index a96aa52..1107ae0 100644 --- a/i18n/en.po +++ b/i18n/en.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" -"Project-Id-Version: 1.0\n" -"PO-Revision-Date: 2015-03-19 20:28+0100\n" +"Project-Id-Version: 0.2\n" +"PO-Revision-Date: 2017-05-06 20:00+0100\n" "Last-Translator: Freifunk Celle \n" "Language-Team: English\n" "Language: en\n" @@ -21,7 +21,13 @@ msgstr "" "connect to the mesh VPN until the key has been registered on the Freifunk " "Celle servers. " "To register the key send it together with your node's name (<%=hostname%>) to " -"keys@freifunk-celle.de." +"'s%20key&body=#<%=urlescape(hostname)%>%0A<%=pubkey%>\">keys@freifunk-celle.de." +"

" +"
" +" # <%=escape(hostname)%>" +"
" +"<%= pubkey %>" +"
" msgid "gluon-config-mode:reboot" From 5481c63ff95533c5e8122509ecf94504b52def97 Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Sun, 7 May 2017 15:43:40 +0200 Subject: [PATCH 08/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 82948f9..2ca0eb1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # freifunk-celle -Site-Konfiguration für das Gluon Image (v2016.2.5) der Freifunk Celle Community. +Site-Konfiguration für das Gluon Image (v2017.x.x) der Freifunk Celle Community. From 57eface49fe8b9f9d01b9c1fff80b410e4155fca Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Thu, 15 Jun 2017 10:54:00 +0200 Subject: [PATCH 09/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ca0eb1..3c4490f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # freifunk-celle -Site-Konfiguration für das Gluon Image (v2017.x.x) der Freifunk Celle Community. +Site-Konfiguration für das Gluon Image (v2017.1.x) der Freifunk Celle Community. From f5a9d08eec3392d45d88869adbf4fd5f52cdc44d Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Thu, 15 Jun 2017 11:18:22 +0200 Subject: [PATCH 10/11] Create site.conf --- site.conf | 80 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 54 insertions(+), 26 deletions(-) diff --git a/site.conf b/site.conf index 9ab72df..bf1f318 100644 --- a/site.conf +++ b/site.conf @@ -54,28 +54,65 @@ ip6 = 'fd92:2dff:d232::ffff:ffff:ffff:fffe', mac = 'de:ff:ff:ff:ff:ce', }, + + mesh_vpn = { + -- enabled = true, + mtu = 1406, - -- VPN meshing with supernode. - fastd_mesh_vpn = { - methods = {'salsa2012+umac'}, --- configurable = true, - mtu = 1406, -- support both IPv4 and IPv6 links over PPPoE with the same MTU. - groups = { - backbone = { - limit = 2, - peers = { - gw1 = { - key = 'cbb4fc55af7247be151711259cce797e03f3e5c75b391fdeddb3113fce178653', - remotes = {'"1.gw.freifunk-celle.de" port 10000'}, - }, - gw2 = { - key = 'a24137786a5a3d12a91c459a39f87ba9245acf91f93779f50a96089016693e6e', - remotes = {'"2.gw.freifunk-celle.de" port 10000'}, + fastd = { + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + -- List of crypto-methods to use. + methods = {'salsa2012+umac'}, + -- configurable = true, + -- syslog_level = 'warn', + + groups = { + backbone = { + -- Limit number of connected peers to reduce bandwidth. + limit = 2, + -- List of peers. + peers = { + gw1 = { + key = 'cbb4fc55af7247be151711259cce797e03f3e5c75b391fdeddb3113fce178653', + -- This is a list, so you might add multiple entries. + remotes = {'"1.gw.freifunk-celle.de" port 10000'}, + }, + gw2 = { + key = 'a24137786a5a3d12a91c459a39f87ba9245acf91f93779f50a96089016693e6e', + -- You can also omit the ipv4 to allow both connection via ipv4 and ipv6 + remotes = {'"2.gw.freifunk-celle.de" port 10000'}, + }, + + -- Optional: nested peer groups + -- groups = { + -- backbone_sub = { + -- ... + -- }, + -- ... + -- }, }, + -- Optional: additional peer groups, possibly with other limits + -- backbone2 = { + -- ... + -- }, }, - }, + }, + }, + + bandwidth_limit = { + -- The bandwidth limit can be enabled by default here. + enabled = false, + + -- Default upload limit (kbit/s). + egress = 512, + + -- Default download limit (kbit/s). + ingress = 4096, }, }, + -- Automatic updates for the Gluon image. autoupdater = { branch = 'stable', @@ -101,15 +138,6 @@ }, }, - -- Bandwidth limiting setup, configurable by user on setup. - simple_tc = { - mesh_vpn = { - ifname = 'mesh-vpn', - enabled = false, - limit_egress = 1024, - limit_ingress = 4096, - }, - }, config_mode = { -- Show/hide the altitude field geo_location = { From 60b37210072cc64be0a41830ea60f36b26e9d36b Mon Sep 17 00:00:00 2001 From: 1of16 <1of16@users.noreply.github.com> Date: Thu, 15 Jun 2017 11:20:07 +0200 Subject: [PATCH 11/11] Create site.mk --- site.mk | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/site.mk b/site.mk index 1cee7ce..b290ff8 100644 --- a/site.mk +++ b/site.mk @@ -5,7 +5,6 @@ # The gluon-mesh-batman-adv-* package must come first because of the dependency resolution GLUON_SITE_PACKAGES := \ - gluon-mesh-batman-adv-15 \ gluon-alfred \ gluon-respondd \ gluon-autoupdater \ @@ -17,11 +16,11 @@ GLUON_SITE_PACKAGES := \ gluon-config-mode-mesh-vpn \ gluon-ebtables-filter-multicast \ gluon-ebtables-filter-ra-dhcp \ - gluon-luci-admin \ - gluon-luci-autoupdater \ - gluon-luci-portconfig \ - gluon-luci-wifi-config \ - gluon-next-node \ + gluon-web-admin \ + gluon-web-autoupdater \ + gluon-web-network \ + gluon-web-wifi-config \ + gluon-mesh-batman-adv-15 \ gluon-mesh-vpn-fastd \ gluon-radvd \ gluon-setup-mode \ @@ -47,9 +46,9 @@ DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d') # gluon-ff%site_code%-23.42+5-%router_model%.bin # Allow overriding the release number from the command line, same as gluon branch. -GLUON_RELEASE ?= 1.0.14 +GLUON_RELEASE ?= 1.0.17 # stable testing experimental -GLUON_BRANCH ?= stable +GLUON_BRANCH ?= testing # Default priority for updates. GLUON_PRIORITY ?= 0