Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
Migrate to 2015.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerweb committed Aug 21, 2015
1 parent d306d14 commit 2081cd4
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 77 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#### How to build the Freifunk Mayen-Koblenz Firmware

git clone https://github.com/freifunk-gluon/gluon.git # Get the official Gluon repository
cd gluon
git clone https://github.com/freifunkmyk/site-ffmyk.git site # Get the Freifunk Mayen-Koblenz site repository
make update # Get other repositories used by Gluon
make # Build Gluon

Please see [the official Gluon repository](https://github.com/freifunk-gluon/gluon) for an in-depth explanation of the build process.


44 changes: 44 additions & 0 deletions i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2015-08-21 13:55+0000\n"
"Last-Translator: Florian Knodt <[email protected]>\n"
"Language-Team: German\n"
"Language: de\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 ""
"Willkommen zum Einrichtungsassistenten für deinen neuen Mayen-Koblenzer "
"Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen "
"entsprechend aus und sende es ab. Die Angaben helfen den Standort "
"des Routers zu finden und dich im Falle eines Fehlers deines Routers zu "
"kontaktieren."

msgid "gluon-config-mode:pubkey"
msgstr ""
"Dies ist der öffentliche Schlüssel deines Freifunk-Knotens. Erst nachdem "
"er auf den Servern des Mayen-Koblenzer Freifunk-Projektes eingetragen wurde, "
"kann sich dein Knoten mit dem Mesh-VPN zu verbinden. Bitte "
"registriere dazu den Knoten auf unserer Webseite. "
" "
"Wenn dein Browser einen Internetzugang besitzt kannst du auch"
"<a href=\"http://register.freifunk-myk.de/nodenew?mac=<%=sysconfig.primary_mac%>&amp;key=<%=pubkey%>&amp;host=<%=hostname%>\">hier klicken</a>. "
"Bitte beachte, dass es einige Minuten dauern kann, bis dein Knoten bei allen "
"VPN-Servern bekannt ist und sich verbinden kann. Bei Problemen wende dich bitte "
"an unsere Mailingliste "

msgid "gluon-config-mode:reboot"
msgstr ""
"<p>Dein Knoten startet gerade neu und wird anschließend versuchen, "
"sich mit anderen Freifunkknoten in seiner Nähe zu "
"verbinden. Weitere Informationen zur "
"Mayen-Koblenzer Freifunk-Community findest du auf "
"<a href=\"http://www.freifunk-myk.de/\">unserer Webseite</a>.</p>"
"<p>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 "
"Mode neustarten.</p>"
"<p>Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!</p>"
37 changes: 37 additions & 0 deletions i18n/en.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2015-08-21 14:01+0000\n"
"Last-Translator: Florian Knodt <[email protected]>\n"
"Language-Team: English\n"
"Language: en\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 ""
"Welcome the the setup wizard of your new Freifunk Mayen-Koblenz node. "
"Please fill out the following form and transmit it."

msgid "gluon-config-mode:pubkey"
msgstr ""
"This is your Freifunk node's public key. The node won't be able to "
"connect to the mesh VPN until the key has been registered on the Freifunk "
"Mayen-Koblenz servers. To do so please use the registration system provided "
"on our website. If you are connected to the internet you can also "
"<a href=\"http://register.freifunk-myk.de/nodenew?mac=<%=sysconfig.primary_mac%>&amp;key=<%=pubkey%>&amp;host=<%=hostname%>\">click here</a> to register your node. It may take up to 15 minutes until your "
"registration is transfered to all our servers. "


msgid "gluon-config-mode:reboot"
msgstr ""
"<p>The node is currently rebooting and will try to connect to other "
"nearby Freifunk nodes after that. "
"Your can find lots of information on the Freifunk Mayen-Koblenz community on "
"<a href=\"http://freifunk-myk.de/\">our homepage</a>.</p>"
"<p>To get back to this configuration interface, press the reset button for "
"3 seconds during normal operation. The device will then reboot into config "
"mode.</p>"
"<p>Have fun with your node and exploring the Freifunk network!</p>"
11 changes: 11 additions & 0 deletions i18n/gluon-site.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"

msgid "gluon-config-mode:welcome"
msgstr ""

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

msgid "gluon-config-mode:reboot"
msgstr ""
3 changes: 3 additions & 0 deletions modules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
GLUON_SITE_FEEDS='ffmyk_packages'
PACKAGES_FFMYK_PACKAGES_REPO=https://github.com/FreifunkMYK/gluon-packages-extra.git
PACKAGES_FFMYK_PACKAGES_COMMIT=0ad4e0e2f7475649a1bcb5624b8f3523d16f2618
104 changes: 31 additions & 73 deletions site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
--
{
-- Used for generated hostnames, e.g. freifunk-abcdef123456.
hostname_prefix = 'ffmyk',
hostname_prefix = 'ffmyk-',

-- Name of the community.
site_name = 'Freifunk Mayen-Koblenz',

-- Shorthand of the community.
site_code = 'ff-myk',
site_code = 'ffmyk',

-- Prefixes used within the mesh. Both are required.
prefix4 = '10.222.0.0/20',
Expand Down Expand Up @@ -79,34 +79,36 @@
configurable = false,
mtu = 1194,
enabled = true,
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 2,

-- List of peers.
peers = {
fastd1 = {
key = 'd78c8c9b2977f732cdd00d2d4b557cfb5de1438897d33b9ec04037512dd11d6a',
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 2,

-- List of peers.
peers = {
fastd1 = {
key = 'd78c8c9b2977f732cdd00d2d4b557cfb5de1438897d33b9ec04037512dd11d6a',

-- This is a list, so you might add multiple entries.
remotes = {'"fastd1.services.freifunk-myk.de" port 10001'},
},
fastd2 = {
key = 'f753af06aff1e765a0601c21343965cd3a9abd91f98a76867589e742c041a550',
remotes = {'"fastd2.services.freifunk-myk.de" port 10001'},
},
fastd3 = {
key = '70a561adcea747e4758376222cddf7d43db43fac55b43e3840b6e3bc5042b170',
remotes = {'"fastd3.services.freifunk-myk.de" port 10001'},
},
fastd4 = {
key = '30e707472d8eed4397295554764846f309a4b046ba628d24f2acee79543d671c',
remotes = {'"fastd4.services.freifunk-myk.de" port 10001'},
},
fastd5 = {
key = 'c785f8d8f59b75ffbec7eb417e1971dc5a123ff3507e3121352102fdea646e89',
remotes = {'"fastd5.services.freifunk-myk.de" port 10001'},
},
-- This is a list, so you might add multiple entries.
remotes = {'"fastd1.services.freifunk-myk.de" port 10001'},
},
fastd2 = {
key = 'f753af06aff1e765a0601c21343965cd3a9abd91f98a76867589e742c041a550',
remotes = {'"fastd2.services.freifunk-myk.de" port 10001'},
},
fastd3 = {
key = '70a561adcea747e4758376222cddf7d43db43fac55b43e3840b6e3bc5042b170',
remotes = {'"fastd3.services.freifunk-myk.de" port 10001'},
},
fastd4 = {
key = '30e707472d8eed4397295554764846f309a4b046ba628d24f2acee79543d671c',
remotes = {'"fastd4.services.freifunk-myk.de" port 10001'},
},
fastd5 = {
key = 'c785f8d8f59b75ffbec7eb417e1971dc5a123ff3507e3121352102fdea646e89',
remotes = {'"fastd5.services.freifunk-myk.de" port 10001'},
},
},
},
},
},
Expand Down Expand Up @@ -156,48 +158,4 @@
limit_ingress = 3000,
},
},

-- These strings are shown in config mode. Some HTML is permissible.
--
-- msg_welcome: shown at startup
-- msg_pubkey: shown when VPN is enabled
-- msg_reboot: shown during reboot (after finishing configuration)
--
-- You may use some variables, e.g.:
--
-- <%=hostname%> - the node's hostname
-- <%=pubkey%> - the fastd public key
-- <%=sysconfig.primary_mac%> - the node's primary MAC
config_mode = {
msg_welcome = [[
Willkommen zum Einrichtungsassistenten für deinen neuen Mayen-Koblenzer
Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
entsprechend aus und sende es ab. Die Angaben helfen den Standort
des Routers zu finden und dich im Falle eines Fehlers deines Routers zu
kontaktieren.
]],
msg_pubkey = [[
Dies ist der öffentliche Schlüssel deines Freifunk-Knotens. Erst nachdem
er auf den Servern des Mayen-Koblenzer Freifunk-Projektes eingetragen wurde,
kann sich dein Knoten mit dem Mesh-VPN verbinden. Bitte
registriere dazu den Knoten auf unserer Webseite.

Wenn dein Browser einen Internetzugang besitzt kannst du auch
<a href="http://register.freifunk-myk.de/nodenew?mac=<%=sysconfig.primary_mac%>&amp;key=<%=pubkey%>&amp;host=<%=hostname%>">hier klicken</a>.
Bitte beachte, dass es einige Minuten dauern kann, bis dein Knoten bei allen
VPN-Servern bekannt ist und sich verbinden kann.
]],
msg_reboot = [[
<p>
Dein Knoten startet gerade neu und wird anschließend versuchen
sich mit anderen Freifunk-Knoten in seiner Nähe zu
verbinden. Weitere Informationen zur
Mayen-Koblenzer Freifunk-Community findest du auf
<a href="https://www.freifunk-myk.de/">unserer Webseite</a>.
</p>
<p>
Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
</p>
]],
},
}
12 changes: 8 additions & 4 deletions site.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ GLUON_SITE_PACKAGES := \
gluon-alfred \
gluon-announced \
gluon-autoupdater \
gluon-config-mode-core \
gluon-config-mode-hostname \
gluon-config-mode-autoupdater \
gluon-config-mode-mesh-vpn \
gluon-config-mode-geo-location \
gluon-config-mode-geo-location-ffmyk \
gluon-config-mode-contact-info \
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-mesh-vpn-fastd \
gluon-radvd \
gluon-setup-mode \
gluon-status-page \
iwinfo \
iptables \
Expand All @@ -32,7 +33,7 @@ GLUON_SITE_PACKAGES := \
# gluon relies on
# opkg compare-versions "$1" '>>' "$2"
# to decide if a version is newer or not.
DEFAULT_GLUON_RELEASE := 0.4+0-ffmyk-exp$(shell date '+%Y%m%d')
DEFAULT_GLUON_RELEASE := 0.6-ffmyk-exp$(shell date '+%Y%m%d')


## GLUON_RELEASE
Expand All @@ -47,3 +48,6 @@ GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)

# Default priority for updates.
GLUON_PRIORITY ?= 0

# Languages to include
GLUON_LANGS ?= en de

0 comments on commit 2081cd4

Please sign in to comment.