Erster Wurf der Firmwarekonfiguration

master
Freifunk Community Prignitz 2017-02-07 14:48:43 +01:00
parent 04dc8cdaad
commit 683b2f8086
6 changed files with 352 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

View File

@ -1 +1,4 @@
# site-ffpr
**site-ffpr**
Dies ist der stabile Branch.

60
i18n/de.po Normal file
View File

@ -0,0 +1,60 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: FFPI 1.1\n"
"PO-Revision-Date: 2017-02-07 14:27+0100\n"
"Last-Translator: Thomas Hooge <thomas@hoogi.de>\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 Prignitzer "
"Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen "
"entsprechend aus und sende es ab."
msgid "gluon-config-mode:pubkey"
msgstr ""
"<p>Dies ist der öffentliche Schlüssel deines Freifunkknotens. Erst nachdem "
"er auf den Servern des Prignitzer Freifunk-Projektes eingetragen wurde, "
"kann sich dein Knoten mit dem Prignitzer Mesh-VPN zu verbinden. Bitte "
"schicke dazu diesen Schlüssel und den Namen deines Knotens "
"(<em><%=hostname%></em>) an "
"<a href=\"mailto:keys@freifunk-prignitz.de\">keys@freifunk-prignitz.de</a>."
"Nach versenden der E-Mail kann es mitunter ein paar Stunden dauern bis dein "
"Knoten sich verbindet.</p>"
"<div class=\"the-key\">"
" # <%= hostname %>"
" <br/>"
"<%= pubkey %>"
"</div>"
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 "
"Prignitzer Freifunk-Community findest du auf "
"<a href=\"https://www.freifunk-prignitz.de/\">unserer Webseite</a>.</p>"
"<p>Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!</p>"
msgid "gluon-luci-node-role:role:node"
msgstr "Normaler Knoten"
msgid "gluon-luci-node-role:role:temp"
msgstr "Knoten nicht 24/7 verfügbar"
msgid "gluon-luci-node-role:role:mobile"
msgstr "Mobiler Knoten"
msgid "gluon-luci-node-role:role:offloader"
msgstr "VPN Offloader"
msgid "gluon-luci-node-role:role:service"
msgstr "Knoten für Dienste"
msgid "gluon-luci-node-role:role:test"
msgstr "Knoten für Tests"

56
i18n/en.po Normal file
View File

@ -0,0 +1,56 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: FFPI 1.1\n"
"PO-Revision-Date: 2017-02-07 14:27+0100\n"
"Last-Translator: Thomas Hooge <thomas@hoogi.de>\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 Prignitz node. "
"Please fill out the following form and transmit it."
msgid "gluon-config-mode:pubkey"
msgstr ""
"<p>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 "
"Prignitz servers. "
"To register the key send it together with your node's name (<em><%=hostname%></em>) to "
"<a href=\"mailto:keys@freifunk-prignitz.de\">keys@freifunk-prignitz.de</a>."
"After sending the mail it can take a few hours until your node gets connected.</p>"
"<div class=\"the-key\">"
" # <%= hostname %>"
" <br/>"
"<%= pubkey %>"
"</div>"
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 Prignitz community on "
"<a href=\"https://www.freifunk-prignitz.de/\">our homepage</a>.</p>"
"<p>Have fun with your node and exploring the Freifunk network!</p>"
msgid "gluon-luci-node-role:role:node"
msgstr "Normal Node"
msgid "gluon-luci-node-role:role:temp"
msgstr "Node not available 24/7"
msgid "gluon-luci-node-role:role:mobile"
msgstr "Mobile Node"
msgid "gluon-luci-node-role:role:offloader"
msgstr "VPN Offloader"
msgid "gluon-luci-node-role:role:service"
msgstr "Service Node"
msgid "gluon-luci-node-role:role:test"
msgstr "Test Node"

116
site.conf Normal file
View File

@ -0,0 +1,116 @@
{
hostname_prefix = 'ffpr-',
site_name = 'Freifunk Prignitz',
site_code = 'ffpr',
opkg = {
openwrt = 'http://download.ffpr/openwrt/%n/%v/%S/packages',
extra = {
modules = 'http://download.ffpr/stable/modules/gluon-%GS-%GR/%S',
},
},
prefix4 = '10.15.192.0/20',
prefix6 = 'fde8:21c6:370b::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {'ntp.ffpr'},
regdom = 'DE',
wifi24 = {
channel = 9,
htmode = 'HT20',
ap = {
ssid = 'prignitz.freifunk.net'
},
ibss = {
ssid = '0a:00:ba:dc:ab:1e',
bssid = '0a:00:ba:dc:ab:1e',
mcast_rate = 12000
},
},
wifi5 = {
channel = 40,
htmode = 'HT40+',
master = {
ssid = 'prignitz.freifunk.net',
},
ibss = {
ssid = '0a:00:ba:dc:ab:1e',
bssid = '0a:00:ba:dc:ab:1e',
mcast_rate = 12000,
},
},
next_node = {
ip4 = '10.15.192.1',
ip6 = 'fde8:21c6:370b::1',
mac = '16:41:95:40:f7:dc',
},
fastd_mesh_vpn = {
methods = {'salsa2012+umac'},
mtu = 1426,
groups = {
backbone = {
limit = 1,
peers = {
gate01 = {
key = 'bf98ec39cf0cbd895389993aade1dbfc31d7da9daf8e789c69ba9f950fcad85d',
remotes = {
'ipv4 "gate01.freifunk-prignitz.de" port 10000'
},
},
gate02 = {
key = 'c7e38e8aefe35ef16cec5ea0a777f36fe9a503d06660dcd7e73727e668c1c496',
remotes = {
'ipv4 "gate02.freifunk-prignitz.de" port 10000'
},
},
},
},
},
bandwidth_limit = {
enabled = false,
limit_ingress = 3000,
limit_egress = 200,
}
},
autoupdater = {
branch = 'stable',
branches = {
stable = {
name = 'stable',
mirrors = {'http://updates.ffpr/stable/sysupgrade'},
good_signatures = 2,
pubkeys = {
'5197c6033a6d4d3d0521701345116f3ac18270b3f4c32ec7673e87b32107243b', -- Develop
'81d70b6510b9ff6eb0e35e66517e2f3ea80ff2eaa97af787565db3feb4af163f', -- Thomas
},
},
beta = {
name = 'beta',
mirrors = {'http://updates.ffpr/beta/sysupgrade'},
good_signatures = 2,
pubkeys = {
'5197c6033a6d4d3d0521701345116f3ac18270b3f4c32ec7673e87b32107243b', -- Develop
'81d70b6510b9ff6eb0e35e66517e2f3ea80ff2eaa97af787565db3feb4af163f', -- Thomas
},
},
experimental = {
name = 'experimental',
mirrors = {'http://updates.ffpr/experimental/sysupgrade'},
good_signatures = 1,
pubkeys = {
'5197c6033a6d4d3d0521701345116f3ac18270b3f4c32ec7673e87b32107243b', -- Develop
'81d70b6510b9ff6eb0e35e66517e2f3ea80ff2eaa97af787565db3feb4af163f', -- Thomas
},
},
},
},
roles = {
default = 'node',
list = {
'node',
'temp',
'mobile',
'offloader',
'service',
'test',
},
},
}

115
site.mk Normal file
View File

@ -0,0 +1,115 @@
GLUON_SITE_PACKAGES := \
gluon-mesh-batman-adv-15 \
gluon-alfred \
gluon-respondd \
gluon-autoupdater \
gluon-config-mode-autoupdater \
gluon-config-mode-contact-info \
gluon-config-mode-core \
gluon-config-mode-geo-location \
gluon-config-mode-hostname \
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-luci-node-role \
gluon-next-node \
gluon-mesh-vpn-fastd \
gluon-radvd \
gluon-setup-mode \
gluon-status-page \
iwinfo \
iptables \
haveged
# basic support for USB stack
USB_PACKAGES_BASIC := \
kmod-usb-core \
kmod-usb2
# support for USB UMTS/3G devices
USB_PACKAGES_3G := \
kmod-usb-serial \
kmod-usb-serial-wwan \
kmod-usb-serial-option \
chat \
ppp
# support for USB GPS devices
USB_PACKAGES_GPS := \
kmod-usb-acm \
ugps
# support for HID devices (keyboard, mouse, ...)
USB_PACKAGES_HID := \
kmod-usb-hid \
kmod-hid-generic
# storage support for USB devices
USB_PACKAGES_STORAGE := \
block-mount \
blkid \
kmod-fs-ext4 \
kmod-fs-vfat \
kmod-usb-storage \
kmod-usb-storage-extras \
kmod-nls-cp1250 \
kmod-nls-cp1251 \
kmod-nls-cp437 \
kmod-nls-cp775 \
kmod-nls-cp850 \
kmod-nls-cp852 \
kmod-nls-cp866 \
kmod-nls-iso8859-1 \
kmod-nls-iso8859-13 \
kmod-nls-iso8859-15 \
kmod-nls-iso8859-2 \
kmod-nls-koi8r \
kmod-nls-utf8 \
swap-utils
# ar71xx-generic
GLUON_ARCHERC7_SITE_PACKAGES := $(USB_PACKAGES_BASIC)
GLUON_GLINET_SITE_PACKAGES := $(USB_PACKAGES_BASIC)
GLUON_TLWDR4300_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(USB_PACKAGES_3G)
GLUON_TLWR1043_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(USB_PACKAGES_3G)
GLUON_TLWR2543_SITE_PACKAGES := $(USB_PACKAGES_BASIC)
GLUON_TLWR842_SITE_PACKAGES := $(USB_PACKAGES_BASIC)
GLUON_WNDR3700_SITE_PACKAGE := $(USB_PACKAGES_BASIC)
GLUON_WRT160NL_SITE_PACKAGE := $(USB_PACKAGES_BASIC)
GLUON_WZRHPAG300H_SITE_PACKAGES := $(USB_PACKAGES_BASIC)
GLUON_WZRHPG450H_SITE_PACKAGES := $(USB_PACKAGES_BASIC)
# mpc85xx-generic
GLUON_TLWDR4900_SITE_PACKAGES := $(USB_PACKAGES_BASIC)
# x86-generic
ifeq ($(GLUON_TARGET),x86-generic)
GLUON_SITE_PACKAGES += \
$(USB_PACKAGES_HID) \
$(USB_PACKAGES_BASIC) \
$(USB_PACKAGES_STORAGE)
endif
# x86-64
ifeq ($(GLUON_TARGET),x86-64)
GLUON_SITE_PACKAGES += \
$(USB_PACKAGES_HID) \
$(USB_PACKAGES_BASIC) \
$(USB_PACKAGES_STORAGE)
endif
DEFAULT_GLUON_RELEASE := 0.8
# Allow overriding the release number from the command line
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
GLUON_PRIORITY ?= 0
GLUON_LANGS ?= en de
# Enable autoupdater
export GLUON_BRANCH := stable