From 2c9c1a0f3750e64c6b17c030859db1a549055485 Mon Sep 17 00:00:00 2001 From: DrBroiler Date: Tue, 29 Jun 2021 19:17:47 +0200 Subject: [PATCH] set default config --- README | 26 ++++++++ i18n/de.po | 90 ++++++++++++++++++++++++++++ i18n/en.po | 59 ++++++++++++++++++ i18n/fr.po | 31 ++++++++++ i18n/gluon-site.pot | 20 +++++++ site.conf | 142 ++++++++++++++++++++++++++++++++++++++++++++ site.mk | 47 +++++++++++++++ 7 files changed, 415 insertions(+) create mode 100644 README create mode 100644 i18n/de.po create mode 100644 i18n/en.po create mode 100644 i18n/fr.po create mode 100644 i18n/gluon-site.pot create mode 100644 site.conf create mode 100644 site.mk diff --git a/README b/README new file mode 100644 index 0000000..a5abccc --- /dev/null +++ b/README @@ -0,0 +1,26 @@ +first build 24.12.2014: + +stabile version 2015 +http://vpnb.leipzig.freifunk.net:8004/freifunk-gluon/images-freifunk-leipzig-20150129/ + +http://firmware.leipzig.freifunk.net + + +Gluon versions used for specific Leipzig Freifunk Firmware builds: + +* 1.6.1: v2021.1.0 +* 1.5.3: v2020.2.3 +* 1.5.2: v2020.2.2 +* 1.4.4: v2o2o.1.4 +* 1.3.3: v2019.1.3 +* 1.2.4: v2018.2.4 +* 1.2.1: v2018.2.1 +* 0.9: v2016.2 +* 0.8.5.1: v2016.1.5-trunk @ https://github.com/freifunk-gluon/gluon/tree/ffd1f0b3a5b2950d8c626a2de26fb1dc8e384408 +* 0.7: v2015.1.2 +* 0.6: v2014.4 +* 0.5: v2014.3 +* 0.4.1: v2014.2 +* 0.4: v2014.1 +* 0.4~1-beta2 (0.4 Beta 2): 2c751d3612a7229de878c40ae724611f2f4f0bee +* 0.3.100-beta1 (0.4 Beta 1): 55a068104fa072ea7cd2decac9584a8f619badbf diff --git a/i18n/de.po b/i18n/de.po new file mode 100644 index 0000000..5ca5aaf --- /dev/null +++ b/i18n/de.po @@ -0,0 +1,90 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: 2021-06-29 02:01+0200\n" +"Last-Translator: drbroiler \n" +"Language-Team: German\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.7.1\n" + +msgid "gluon-config-mode:welcome" +msgstr "" +"Willkommen zum Einrichtungsassistenten für deinen neuen Leipziger Freifunk-" +"Knoten. Fülle das folgende Formular deinen Vorstellungen entsprechend aus " +"und sende es ab." + +msgid "gluon-config-mode:novpn" +msgstr "" +"

Du hast ausgewählt, kein Mesh-VPN zu nutzen. Dein Knoten " +"kann also nur dann eine Verbindung zum Freifunk-Netz aufbauen, wenn andere " +"Freifunk-Router in WLAN-Reichweite sind.

" + +msgid "" +"If you want the location of your node to be displayed on public maps, you " +"can enter its coordinates here." +msgstr "" +"Um deinen Knoten auf öffentlichen Karten anzeigen zu können, benötigen wir " +"seine Koordinaten. Hier hast du die Möglichkeit, diese zu hinterlegen." + +msgid "gluon-config-mode:altitude-label" +msgstr "" +"

Höhe in m

" + +msgid "gluon-config-mode:altitude-help" +msgstr "" +"

Aus Vereinfachungsgründen kannst du hier die Höhe deines Knoten über " +"Straßenniveau angeben.

" + +msgid "gluon-config-mode:pubkey" +msgstr "" +"

Komm zum Leipziger Freifunk-Treff!
Wir treffen uns jeden Donnerstagabend an wechselnden Orten. Aktuelle Infos im " +"Kalender

" + +msgid "gluon-config-mode:reboot" +msgstr "" +"

Dein Knoten <%= pcdata(hostname) %> startet gerade neu und wird " +"anschließend versuchen, sich mit anderen Freifunkknoten in seiner Nähe zu " +"verbinden. Weitere Informationen zur Leipziger Freifunk-Community findest du " +"auf unserer Webseite.

Um " +"zu dieser Konfigurationsseite zurückzugelangen, drücke im normalen Betrieb " +"für fünf Sekunden den Reset-Button. Das Gerät wird dann im Config Mode neu " +"starten und du kannst es mit Hilfe eines Netzwerkkabels am LAN-Port " +"erreichen.

Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!" +"

" + +msgid "Node role" +msgstr "Verwendungszweck" + +msgid "Role" +msgstr "Rolle" + +msgid "" +"If this node has a special role within the mesh network you can specify this " +"role here. Please find out about the available roles and their impact first. " +"Only change the role if you know what you are doing." +msgstr "" +"Wenn dein Knoten eine besondere Rolle im Mesh-Netzwerk einnimmt, " +"kannst du diese hier angeben. Bringe bitte zuvor in Erfahrung, welche " +"Bedeutung die zur Verfügung stehenden Rollen haben. " +"Setze die Rolle nur, wenn du weißt, was du tust." + +msgid "gluon-web-node-role:role:node" +msgstr "" +"Standardknoten" + +msgid "gluon-web-node-role:role:test" +msgstr "Testgerät" +"Testgerät" + +msgid "gluon-web-node-role:role:backbone" +msgstr "" +"Backbone" + +msgid "gluon-web-node-role:role:service" +msgstr "" +"Service" \ No newline at end of file diff --git a/i18n/en.po b/i18n/en.po new file mode 100644 index 0000000..e1d6806 --- /dev/null +++ b/i18n/en.po @@ -0,0 +1,59 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: 2017-04-29 23:40+0200\n" +"Last-Translator: mokkin \n" +"Language-Team: English\n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.7.1\n" + +msgid "gluon-config-mode:welcome" +msgstr "" +"Welcome to the setup wizard of your new Freifunk Leipzig node. Please fill " +"out the following form and submit it." + +msgid "gluon-config-mode:novpn" +msgstr "" +"

You have selected not to use the mesh VPN.\n" +"Your node will only be able to connect to the Freifunk network if other " +"nodes in reach already have a connection.

" + +msgid "gluon-config-mode:altitude-label" +msgstr "Altitude in m" + +msgid "gluon-config-mode:altitude-help" +msgstr "For simplyfing reasons please specify the altitude over street level." + +msgid "gluon-config-mode:pubkey" +msgstr "" +"

This is your Freifunk node's public key. The node won't be able to \n" +"connect to the mesh VPN until the key has been registered on the Freifunk " +"servers. \n" +"To register, send the key together with your node's name (<" +"%=pcdata(hostname)%>) to \n" +"&\n" +"body=<%= urlencode('# ' .. hostname .. '\\n' .. pubkey) %>\\>gluon-" +"keys@leipzig.freifunk.net.\n" +"

\n" +"
\n" +" # <%= pcdata(hostname) %>\n" +"
\n" +"<%= pubkey %>\n" +"
" + +msgid "gluon-config-mode:reboot" +msgstr "" +"

The node is currently rebooting and will try to connect to other nearby " +"Freifunk nodes after that. For more information on the Freifunk Leipzig " +"community, have a look at our " +"homepage.

To get back to this configuration interface, press the " +"reset button for five seconds during normal operation. The device will then " +"reboot into config mode and you are able to access it via cable on one of " +"the LAN-ports.

Have fun with your node and exploring of the Freifunk " +"network!

" diff --git a/i18n/fr.po b/i18n/fr.po new file mode 100644 index 0000000..fbb01de --- /dev/null +++ b/i18n/fr.po @@ -0,0 +1,31 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2015-08-06 20:28+0100\n" +"Last-Translator: Tobias Bernot \n" +"Language-Team: French\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "gluon-config-mode:welcome" +msgstr "" +"Bienvenue dans l'assistant de configuration pour votre nouveau nœud " +"Freifunk. Remplissez le formulaire suivant en fonction de vos besoins " +"et enregistrez le" + +msgid "gluon-config-mode:pubkey" +msgstr "" + +msgid "gluon-config-mode:reboot" +msgstr "" +"

Votre nœud es en train de redémarrer et va ensuite éssayer de se connecter " +"avec les autres nœuds du réseau Freifunk " +"Vous pourrez trouver plus d'informations sur votre groupe Freifunk sur la page " +" de ton groupe .

" +"

Pour retrouver cette page de configuration veuillier appuyez pendant le " +"fonctionement normal pendant 5 Secondes sur le bouton reset. L'appareil va ensuite " +"redémarer en mode configuration.

" +"

Profitez votre de nœud et amusez vous à découvrir le réseau Freifunk!

" diff --git a/i18n/gluon-site.pot b/i18n/gluon-site.pot new file mode 100644 index 0000000..f7d3139 --- /dev/null +++ b/i18n/gluon-site.pot @@ -0,0 +1,20 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +msgid "gluon-config-mode:welcome" +msgstr "" + +msgid "gluon-config-mode:novpn" +msgstr "" + +msgid "gluon-config-mode:altitude-label" +msgstr "" + +msgid "gluon-config-mode:altitude-help" +msgstr "" + +msgid "gluon-config-mode:pubkey" +msgstr "" + +msgid "gluon-config-mode:reboot" +msgstr "" diff --git a/site.conf b/site.conf new file mode 100644 index 0000000..c2bb684 --- /dev/null +++ b/site.conf @@ -0,0 +1,142 @@ +{ + hostname_prefix = 'gluon-l', + site_name = 'Freifunk Leipzig', + site_code = 'l', + domain_seed = '9cac58cc344d652b8b4d5d4e68dfa74d43d114a0e88041d6afe439b8caee54d5', + + prefix4 = '10.61.3.0/24', + prefix6 = 'fdef:ffc0:7030::/64', + + timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin + ntp_servers = {'gluon-ntp.leipzig.freifunk.net'}, + regdom = 'DE', + + wifi24 = { + ap = { + ssid = '061-FREIFUNK-', + }, + channel = 1, + mesh = { + id = 'LiMe', + mcast_rate = 12000, + }, + }, + wifi5 = { + ap = { + ssid = '061-FREIFUNK-', + }, + channel = 44, + mesh = { + id = 'LiMe', + mcast_rate = 12000, + }, + }, + + mesh = { + vxlan = false, + batman_adv = { + routing_algo = 'BATMAN_IV', + }, + }, + + next_node = { + ip4 = '10.61.3.3', + ip6 = 'fdef:ffc0:3dd7::1', + mac = '16:41:95:40:f7:dc', + }, + + mesh_vpn = { + enabled = true, + mtu = 1426, + fastd = { + configurable = true, + methods = {'salsa2012+umac', 'salsa2012+gmac', 'null+salsa2012+umac'}, + groups = { + backbone = { + limit = 2, + peers = { + vpngluon1 = { + key = '7e383ce9ba4fea8a82c1860864c2f940ef9f8a92b04f62fb7ac5f57442872f0e', + remotes = {'ipv4 "gluon20171a61.leipzig.freifunk.net" port 10061'}, + }, + vpngluon2 = { + key = '6a5e3d0d88feb0350078b5ce7c7a15baf918e0c2455d6854ec933c96c7a01a43', + remotes = {'ipv4 "gluon20171b61.leipzig.freifunk.net" port 10061'}, + }, + vpngluon3 = { + key = '4414df684d9d6e28f845753e4c9c1ebe2cc041f567ca3f09cafb51b73d19ea6b', + remotes = {'ipv4 "gluon20171c61.leipzig.freifunk.net" port 10061'}, + }, + }, + }, + }, + }, + }, + + autoupdater = { + branch = 'stable', + branches = { + stable = { + name = 'stable', + mirrors = {'http://gluon-updates-20161a.leipzig.freifunk.net/stable/sysupgrade'}, + good_signatures = 1, + pubkeys = { + 'a181bbc91cff1a91741fd17841f6aa3c4310cdaddf2236481c07d865cf2e873d', -- n3ph + '96118f622de836bcbeeb57aa6886c36f6ebf40bae7b3df3fb0b4caaa3d0a4bd7', -- ufo + }, + }, + beta = { + name = 'beta', + mirrors = {'http://gluon-updates20161a.leipzig.freifunk.net/beta/sysupgrade'}, + good_signatures = 1, + pubkeys = { + 'a181bbc91cff1a91741fd17841f6aa3c4310cdaddf2236481c07d865cf2e873d', -- n3ph + '96118f622de836bcbeeb57aa6886c36f6ebf40bae7b3df3fb0b4caaa3d0a4bd7', -- ufo + }, + }, + experimental = { + name = 'experimental', + mirrors = {'http://gluon-updates20161a.leipzig.freifunk.net/experimental/sysupgrade'}, + good_signatures = 1, + pubkeys = { + 'a181bbc91cff1a91741fd17841f6aa3c4310cdaddf2236481c07d865cf2e873d', -- n3ph + '96118f622de836bcbeeb57aa6886c36f6ebf40bae7b3df3fb0b4caaa3d0a4bd7', -- ufo + }, + }, + }, + }, + + simple_tc = { + mesh_vpn = { + ifname = 'mesh-vpn', + enabled = false, + limit_egress = 200, + limit_ingress = 3000, + }, + }, + + roles = { + default = 'node', + list = { + 'node', + 'test', + 'backbone', + 'service', + }, + }, + config_mode = { + geo_location = { + show_altitude = true, + osm = { + center = { + lat = 51.346483137, + lon = 12.377471924, + }, + zoom = 12, + }, + }, + remote_login = { + show_password_form = true, + }, + }, +} diff --git a/site.mk b/site.mk new file mode 100644 index 0000000..aac4a50 --- /dev/null +++ b/site.mk @@ -0,0 +1,47 @@ +## GLUON_FEATURES +# Specify Gluon features/packages to enable; +# Gluon will automatically enable a set of packages +# depending on the combination of features listed + +GLUON_FEATURES := \ + alfred \ + autoupdater \ + config-mode-geo-location-osm \ + ebtables-filter-multicast \ + ebtables-filter-ra-dhcp \ + mesh-batman-adv-15 \ + mesh-vpn-fastd \ + neighbour-info \ + radvd \ + respondd \ + status-page \ + web-advanced \ + web-model \ + web-node-role \ + web-private-wifi \ + web-wizard + +## GLUON_SITE_PACKAGES +# Specify additional Gluon/LEDE packages to include here; +# A minus sign may be prepended to remove a packages from the +# selection that would be enabled by default or due to the +# chosen feature flags + +GLUON_SITE_PACKAGES := \ + iwinfo + +DEFAULT_GLUON_RELEASE := 1.5+exp$(shell date '+%Y%m%d') +# Allow overriding the release number from the command line + +GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE) + +GLUON_IMAGEDIR ?= $(GLUON_OUTPUTDIR)/images + +GLUON_PRIORITY ?= 0 + +GLUON_REGION ?= eu + +GLUON_LANGS ?= de en + +GLUON_DEPRECATED ?= full +