2 Commits

Author SHA1 Message Date
Franz Pletz
7c9b4097db Switch to babel branch from our gluon fork 2015-10-09 01:14:04 +02:00
Franz Pletz
aed8b443c6 Initial config for babel-based test firmware 2015-10-09 01:09:45 +02:00
13 changed files with 58 additions and 811 deletions

1
.gitignore vendored
View File

@@ -1,2 +1 @@
gluon-build gluon-build
output

View File

@@ -1,66 +1,5 @@
# Freifunk München Firmware Changelog # Freifunk München Firmware Changelog
## v2018.0
- Updated to Gluon v2016.2.7-3-g35c9f9ae
- ar71xx: fix MAC addresses on TP-Link TL-WR1043ND v4
- modules: update url to chaos calmer git repository after upstream move
- ar71xx: sysupgrade: improve CPE/WBS 210/510 validation
- Makefile
- Enabled firmware with ath10k WLAN driver
## v2017.1
- Updated to Gluon v2016.2.7
- Changes:
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.7.html
## v2017.0
- Updated to Gluon v2016.2.6 (upstream)
- Changes:
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.1.6.html
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.html
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.1.html
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.2.html
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.3.html
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.4.html
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.5.html
- https://gluon.readthedocs.io/en/v2016.2.7/releases/v2016.2.6.html
- site.mk
- added GLUON_REGION = eu setting
## v2016.0
- Updated to Gluon v2016.1.5 (ffmuc fork)
- Changes:
- https://gluon.readthedocs.org/en/v2016.1/releases/v2016.1.html
- https://gluon.readthedocs.org/en/v2016.1.1/releases/v2016.1.1.html
- https://gluon.readthedocs.org/en/v2016.1.2/releases/v2016.1.2.html
- https://gluon.readthedocs.org/en/v2016.1.3/releases/v2016.1.3.html
- https://gluon.readthedocs.org/en/v2016.1.4/releases/v2016.1.4.html
- https://gluon.readthedocs.org/en/v2016.1.5/releases/v2016.1.5.html
- mesh_no_rebroadcast for mesh-on-wan (8b66da95f1887fc6068a6e9d6b6494c2ff4d2fb4)
- preserve wifi channels feature (76a77902e3624167e81ca6e200519468bb66d5f7)
- new package tecff-ath9k-broken-wifi-workaround (freifunkmuc/gluon-packages)
- added fix for autoupdater (8f5a7c90019085dd8f02f96ab0e7a905f82e1be0)
- site.conf
- changed MTU size to 1280
- due to the decreased MTU fastd can now support IPv6
- site.mk
- added USB support for various devices
## v2015.7
* New stable unified firmware for all segments with site-select feature
* Raised required signatures for stable release to 3
## v2015.6.2
* Bugfix build for welcome version
## v2015.6.1
* Added support of site selection in config mode
* Switch autoupdater URL back to main firmware repo path
## v2015.6 ## v2015.6
- Updated to Gluon 2015.1.2 - Updated to Gluon 2015.1.2
- Changes: https://gluon.readthedocs.org/en/v2015.1.2/releases/v2015.1.2.html - Changes: https://gluon.readthedocs.org/en/v2015.1.2/releases/v2015.1.2.html

51
Jenkinsfile vendored
View File

@@ -1,51 +0,0 @@
def _pipelineNotify(String buildStatus = 'STARTED') {
// build status of null means successful
buildStatus = buildStatus ?: 'SUCCESSFUL'
// Default values
def colorName = 'RED'
def colorCode = '#FF0000'
def subject = "${buildStatus}: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'"
def summary = "${subject} (${env.BUILD_URL})"
// Override default values based on build status
if (buildStatus == 'STARTED') {
color = 'YELLOW'
colorCode = '#FFFF00'
} else if (buildStatus == 'SUCCESSFUL') {
color = 'GREEN'
colorCode = '#00FF00'
} else {
color = 'RED'
colorCode = '#FF0000'
}
try {
mattermostSend (color: colorCode, message: summary)
}
catch (e) {
echo 'Unable to sent Mattermost notification'
}
}
node {
try {
_pipelineNotify()
stage 'Checkout'
checkout scm
stage 'Build'
sh "make V=s"
stage 'Archive'
archive 'output/**/*'
}
catch (e) {
currentBuild.result = "FAILED"
throw e
}
finally {
_pipelineNotify(currentBuild.result)
}
}

View File

@@ -1,18 +1,14 @@
GLUON_BUILD_DIR := gluon-build GLUON_BUILD_DIR := gluon-build
GLUON_GIT_URL := https://github.com/freifunk-gluon/gluon.git GLUON_GIT_URL := https://github.com/freifunkMUC/gluon.git
GLUON_GIT_REF := 35c9f9aecc5de53324ee61904faa1c5763d61134 # latest v2016.2.x GLUON_GIT_REF := e05ca52e0359a182b49e0fb44e68f1972aa69016
SECRET_KEY_FILE ?= ${HOME}/.gluon-secret-key SECRET_KEY_FILE ?= ${HOME}/.gluon-secret-key
GLUON_TARGETS ?= \ GLUON_TARGETS ?= \
ar71xx-generic \ ar71xx-generic \
ar71xx-nand \ ar71xx-nand \
mpc85xx-generic \
x86-64 \
x86-generic \ x86-generic \
x86-kvm_guest \ x86-kvm_guest
brcm2708-bcm2708 \
brcm2708-bcm2709
GLUON_RELEASE := $(shell git describe --tags 2>/dev/null) GLUON_RELEASE := $(shell git describe --tags 2>/dev/null)
ifneq (,$(shell git describe --exact-match --tags 2>/dev/null)) ifneq (,$(shell git describe --exact-match --tags 2>/dev/null))
@@ -25,8 +21,7 @@ JOBS ?= $(shell cat /proc/cpuinfo | grep processor | wc -l)
GLUON_MAKE := ${MAKE} -j ${JOBS} -C ${GLUON_BUILD_DIR} \ GLUON_MAKE := ${MAKE} -j ${JOBS} -C ${GLUON_BUILD_DIR} \
GLUON_RELEASE=${GLUON_RELEASE} \ GLUON_RELEASE=${GLUON_RELEASE} \
GLUON_BRANCH=${GLUON_BRANCH} \ GLUON_BRANCH=${GLUON_BRANCH}
GLUON_ATH10K_MESH=ibss
all: info all: info
${MAKE} manifest ${MAKE} manifest
@@ -34,7 +29,7 @@ all: info
info: info:
@echo @echo
@echo '#########################' @echo '#########################'
@echo '# FFMUC Firmware build' @echo '# FFMUC Firmare build'
@echo '# Building release ${GLUON_RELEASE} for branch ${GLUON_BRANCH}' @echo '# Building release ${GLUON_RELEASE} for branch ${GLUON_BRANCH}'
@echo @echo
@@ -46,15 +41,15 @@ build: gluon-prepare
manifest: build manifest: build
${GLUON_MAKE} manifest ${GLUON_MAKE} manifest
mv ${GLUON_BUILD_DIR}/output . mv ${GLUON_BUILD_DIR}/images .
sign: manifest sign: manifest
${GLUON_BUILD_DIR}/contrib/sign.sh ${SECRET_KEY_FILE} output/images/sysupgrade/${GLUON_BRANCH}.manifest ${GLUON_BUILD_DIR}/contrib/sign.sh ${SECRET_KEY_FILE} images/sysupgrade/${GLUON_BRANCH}.manifest
${GLUON_BUILD_DIR}: ${GLUON_BUILD_DIR}:
git clone ${GLUON_GIT_URL} ${GLUON_BUILD_DIR} git clone ${GLUON_GIT_URL} ${GLUON_BUILD_DIR}
gluon-prepare: output-clean ${GLUON_BUILD_DIR} gluon-prepare: images-clean ${GLUON_BUILD_DIR}
(cd ${GLUON_BUILD_DIR} \ (cd ${GLUON_BUILD_DIR} \
&& git remote set-url origin ${GLUON_GIT_URL} \ && git remote set-url origin ${GLUON_GIT_URL} \
&& git fetch origin \ && git fetch origin \
@@ -65,7 +60,7 @@ gluon-prepare: output-clean ${GLUON_BUILD_DIR}
gluon-clean: gluon-clean:
rm -rf ${GLUON_BUILD_DIR} rm -rf ${GLUON_BUILD_DIR}
output-clean: images-clean:
rm -rf output rm -rf images
clean: gluon-clean output-clean clean: gluon-clean images-clean

View File

@@ -8,5 +8,5 @@ Check out this repository and execute `make`, i.e. like this:
## Further Resources ## Further Resources
Look at the [site configuration related Gluon documentation](https://gluon.readthedocs.io/en/v2016.2.3/user/site.html) Look at the [site configuration related Gluon documentation](http://gluon.readthedocs.org/en/v2014.3.1/user/site.html)
for information on site configuration options and examples from other communities. for information on site configuration options and examples from other communities.

View File

@@ -1,154 +0,0 @@
{
hostname_prefix = '',
site_name = 'Freifunk München',
site_code = 'ffmuc',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%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 = {
channel = 6,
ap = {
ssid = 'muenchen.freifunk.net',
},
--mesh = {
-- id = 'ffmuc-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc',
bssid = '02:0E:8E:1E:61:17',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'muenchen.freifunk.net',
},
--mesh = {
-- id = 'ffmuc-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc',
bssid = '02:0E:8E:1E:61:17',
mcast_rate = 12000,
},
},
mesh = {
batman_adv = {
gw_sel_class = 3,
},
},
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 = 1280,
groups = {
backbone = {
limit = 1,
peers = {
gw01 = {
key = '8ddaa67325583c64adf6e60cbe78e3436e5765fd0a2a632fae9e0ad68c855803',
remotes = {
'"gw01.ffmuc.net" port 10001',
'"gw01.freifunk-muenchen.de" port 10001',
},
},
gw02 = {
key = 'b860304fce2e0a701d4c13fa5e01f08832291a5c85d11e191639b9276ab53a45',
remotes = {
'"gw02.ffmuc.net" port 10001',
'"gw02.freifunk-muenchen.de" port 10001',
},
},
gw03 = {
key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41',
remotes = {
'"gw03.ffmuc.net" port 10001',
'"gw03.freifunk-muenchen.de" port 10001',
},
},
gw04 = {
key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126',
remotes = {
'"gw04.ffmuc.net" port 10001',
'"gw04.freifunk-muenchen.de" port 10001',
},
},
gw05 = {
key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e',
remotes = {
'"gw05.ffmuc.net" port 10001',
'"gw05.freifunk-muenchen.de" port 10001',
},
},
},
},
},
bandwidth_limit = {
enabled = false,
egress = 1500,
ingress = 12000,
},
},
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 = 3,
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)
},
},
},
},
}
-- vim: set ft=lua:ts=2:sw=2:et

View File

@@ -1,147 +0,0 @@
{
hostname_prefix = '',
site_name = 'Freifunk München Umland',
site_code = 'ffmuc_umland',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%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 = {
channel = 6,
ap = {
ssid = 'muenchen.freifunk.net',
},
--mesh = {
-- id = 'ffmuc-umland-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc.umland',
bssid = '02:0E:8E:1E:61:19',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'muenchen.freifunk.net',
},
--mesh = {
-- id = 'ffmuc-umland-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc.umland',
bssid = '02:0E:8E:1E:61:19',
mcast_rate = 12000,
},
},
mesh = {
batman_adv = {
gw_sel_class = 3,
},
},
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 = 1280,
groups = {
backbone = {
limit = 1,
peers = {
gwu01 = {
key = '70299e3a589522a89306732fdfe43f35d9af083e4db322d87be52cf45c89771b',
remotes = {
'"gwu01.ffmuc.net" port 10015',
'"gwu01.freifunk-muenchen.de" port 10015',
},
},
gwu02 = {
key = '32765d3337be727de5840930a221962a59cf5529ae6c1d3753e58ad460e510a5',
remotes = {
'"gwu02.ffmuc.net" port 10015',
'"gwu02.freifunk-muenchen.de" port 10015',
},
},
gwu03 = {
key = '61fe3197ed7e934284adc2571523104d8e5391db2427dca9528f0d34bb60a522',
remotes = {
'"gwu03.ffmuc.net" port 10015',
'"gwu03.freifunk-muenchen.de" port 10015',
},
},
gwu04 = {
key = '443898162e1e9ec09da0904d72d8145026f4452a4b1e880a07dc6699418c69d1',
remotes = {
'"gwu04.ffmuc.net" port 10015',
'"gwu04.freifunk-muenchen.de" port 10015',
},
},
},
},
},
bandwidth_limit = {
enabled = false,
egress = 1500,
ingress = 12000,
},
},
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 = 3,
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)
},
},
},
},
}
-- vim: set ft=lua:ts=2:sw=2:et

View File

@@ -1,147 +0,0 @@
{
hostname_prefix = 'welcome',
site_name = 'Freifunk München Welcome',
site_code = 'ffmuc_welcome',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%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 = {
channel = 6,
ap = {
ssid = 'muenchen.freifunk.net',
},
--mesh = {
-- id = 'ffmuc-welcome-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc.welcome',
bssid = '02:0E:8E:1E:61:18',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'muenchen.freifunk.net',
},
--mesh = {
-- id = 'ffmuc-welcome-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc.welcome',
bssid = '02:0E:8E:1E:61:18',
mcast_rate = 12000,
},
},
mesh = {
batman_adv = {
gw_sel_class = 3,
},
},
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 = 1280,
groups = {
backbone = {
limit = 1,
peers = {
gwf01 = {
key = '89951ed50d591c0a4682ae50cb38806efe44dd736ba91ef64c9ef06b20ec186e',
remotes = {
'"gwf01.ffmuc.net" port 11001',
'"gwf01.freifunk-muenchen.de" port 11001',
},
},
gwf02 = {
key = 'e255f2671c56f28a65173719be61939e5d48518eaa4da0d19283fd5395908e35',
remotes = {
'"gwf02.ffmuc.net" port 11001',
'"gwf02.freifunk-muenchen.de" port 11001',
},
},
gwf03 = {
key = 'bf16080ab05a4416285638208e6f17055ea8f92cfd496c61eee1f1160cf6d386',
remotes = {
'"gwf03.ffmuc.net" port 11001',
'"gwf03.freifunk-muenchen.de" port 11001',
},
},
gwf04 = {
key = '421a2c8e78f86d08fa7c8c7660b0dc073640ff365acb308ab92155c33488c539',
remotes = {
'"gwf04.ffmuc.net" port 11001',
'"gwf04.freifunk-muenchen.de" port 11001',
},
},
},
},
},
bandwidth_limit = {
enabled = false,
egress = 1500,
ingress = 12000,
},
},
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 = 3,
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)
},
},
},
},
}
-- vim: set ft=lua:ts=2:sw=2:et

View File

@@ -18,16 +18,15 @@ msgstr ""
msgid "gluon-config-mode:pubkey" msgid "gluon-config-mode:pubkey"
msgstr "" msgstr ""
" "
msgid "gluon-config-mode:reboot" msgid "gluon-config-mode:reboot"
msgstr "" msgstr ""
"<p>Dein Knoten startet gerade neu und wird anschließend versuchen, sich " "<p>Dein Knoten startet gerade neu und wird anschließend versuchen, sich "
"mit anderen Freifunk-Knoten in seiner Nähe zu verbinden. Weitere " "mit anderen Freifunk-Knoten in seiner Nähe zu verbinden. Weitere "
"Informationen zur Münchner Freifunk-Community findest du auf " "Informationen zur Münchner Freifunk-Community findest du auf "
"<a href=\"https://ffmuc.net/\">unserer Webseite</a>. Wenn " "<a href=\"http://freifunk-muenchen.de/\">unserer Webseite</a>. Wenn "
"alles geklappt hat, wirst du in ein paar Minuten unter " "alles geklappt hat, wirst du in ein paar Minuten unter "
"<a href=\"https://ffmuc.net/map/\">ffmuc.net/map/</a> " "<a href=\"http://map.freifunk-muenchen.de\">map.freifunk-muenchen.de</a> "
"deinen Knoten finden.</p> " "deinen Knoten finden.</p> "
"<p>Um zu dieser Konfigurationsseite zurückzugelangen, drücke im normalen " "<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 " "Betrieb für drei Sekunden den Reset-Button. Das Gerät wird dann im Config "

View File

@@ -17,13 +17,12 @@ msgstr ""
msgid "gluon-config-mode:pubkey" msgid "gluon-config-mode:pubkey"
msgstr "" msgstr ""
" "
msgid "gluon-config-mode:reboot" msgid "gluon-config-mode:reboot"
msgstr "" msgstr ""
"<p>Your node is currently rebooting and will try to connect to other " "<p>Your node is currently rebooting and will try to connect to other "
"nearby Freifunk nodes. It should appear on our map at " "nearby Freifunk nodes. It should appear on our map at "
"<a href=\"https://ffmuc.net/map/\">ffmuc.net/map/</a> " "<a href=\"http://map.freifunk-muenchen.de\">map.freifunk-muenchen.de</a> "
"in a few minutes.</p> " "in a few minutes.</p> "
"<p>To get back to this configuration interface, press the reset button for " "<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 " "3 seconds during normal operation. The device will then reboot into config "

View File

@@ -1,5 +1,4 @@
GLUON_SITE_FEEDS='ffmuc' GLUON_SITE_FEEDS='ffmuc_packages'
PACKAGES_FFMUC_REPO=https://github.com/freifunkMUC/gluon-packages.git PACKAGES_FFMUC_PACKAGES_REPO=https://github.com/freifunkMUC/gluon-packages.git
PACKAGES_FFMUC_BRANCH=pre-new-segments PACKAGES_FFMUC_PACKAGES_COMMIT=82e721ad5d7c9eca8728954cfa1ab1d5b9168487
PACKAGES_FFMUC_COMMIT=30e645af484633893e63bf8daa19da6954b15029

111
site.conf
View File

@@ -1,13 +1,9 @@
{ {
hostname_prefix = '', hostname_prefix = '',
site_name = 'Freifunk München', site_name = 'Freifunk München',
site_code = 'ffmuc', site_code = 'ffmuc-babel',
opkg = { prefix4 = '10.80.0.0/16',
openwrt = 'http://openwrt.draic.info/%n/%v/%S/packages',
},
prefix4 = '10.80.32.0/19',
prefix6 = 'fdef:ffc0:4fff::/64', prefix6 = 'fdef:ffc0:4fff::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
@@ -18,103 +14,69 @@
regdom = 'DE', regdom = 'DE',
wifi24 = { wifi24 = {
channel = 6, channel = 11,
htmode = 'HT20',
ap = { ap = {
ssid = 'muenchen.freifunk.net', ssid = 'babel.muenchen.freifunk.net',
},
mesh = {
id = 'ffmuc-mesh-babel',
mcast_rate = 12000,
}, },
--mesh = {
-- id = 'ffmuc-mesh',
-- mcast_rate = 12000,
--},
ibss = { ibss = {
ssid = 'mesh.ffmuc', ssid = 'mesh.ffmuc.babel',
bssid = '02:0E:8E:1E:61:17', bssid = '02:0E:8E:1E:61:10',
mcast_rate = 12000, mcast_rate = 12000,
}, },
}, },
wifi5 = { wifi5 = {
channel = 44, channel = 44,
htmode = 'HT40+',
ap = { ap = {
ssid = 'muenchen.freifunk.net', ssid = 'babel.muenchen.freifunk.net',
},
mesh = {
id = 'ffmuc-mesh-babel',
mcast_rate = 12000,
}, },
--mesh = {
-- id = 'ffmuc-mesh',
-- mcast_rate = 12000,
--},
ibss = { ibss = {
ssid = 'mesh.ffmuc', ssid = 'mesh.ffmuc.babel',
bssid = '02:0E:8E:1E:61:17', bssid = '02:0E:8E:1E:61:10',
mcast_rate = 12000, mcast_rate = 12000,
}, },
}, },
mesh = { babel_mesh = {
batman_adv = { prefix = 'fdef:ffc0:4fff:ffff::/64',
gw_sel_class = 3,
},
}, },
next_node = { next_node = {
ip4 = '10.80.32.1', ip4 = '10.80.0.1',
ip6 = 'fdef:ffc0:4fff::1', ip6 = 'fdef:ffc0:4fff::1',
mac = '16:41:95:40:f7:dc', mac = '16:41:95:40:f7:dc',
}, },
fastd_mesh_vpn = { fastd_mesh_vpn = {
methods = {'salsa2012+umac'}, methods = {'salsa2012+umac'},
mtu = 1280, mtu = 1426,
groups = { groups = {
backbone = { backbone = {
limit = 1, limit = 1,
peers = { peers = {
gw01 = { gw_test = { --[[ fpletz ]]
key = '8ddaa67325583c64adf6e60cbe78e3436e5765fd0a2a632fae9e0ad68c855803', key = '23280df37b96cb587a3eeeb51c806bceeb627b8d063bb7dcc5492f4c9e3af356',
remotes = { remotes = {
'"gw01.ffmuc.net" port 10001', 'ipv4 "hermes.bpletza.de" port 16000',
'"gw01.freifunk-muenchen.de" port 10001',
},
},
gw02 = {
key = 'b860304fce2e0a701d4c13fa5e01f08832291a5c85d11e191639b9276ab53a45',
remotes = {
'"gw02.ffmuc.net" port 10001',
'"gw02.freifunk-muenchen.de" port 10001',
},
},
gw03 = {
key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41',
remotes = {
'"gw03.ffmuc.net" port 10001',
'"gw03.freifunk-muenchen.de" port 10001',
},
},
gw04 = {
key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126',
remotes = {
'"gw04.ffmuc.net" port 10001',
'"gw04.freifunk-muenchen.de" port 10001',
},
},
gw05 = {
key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e',
remotes = {
'"gw05.ffmuc.net" port 10001',
'"gw05.freifunk-muenchen.de" port 10001',
}, },
}, },
}, },
}, },
}, },
bandwidth_limit = {
enabled = false,
egress = 1500,
ingress = 12000,
},
}, },
autoupdater = { autoupdater = {
enabled = 1, enabled = 0,
branch = 'stable', branch = 'stable',
branches = { branches = {
stable = { stable = {
@@ -124,10 +86,8 @@
'http://[fdef:ffc0:4fff::130]/stable/sysupgrade/', 'http://[fdef:ffc0:4fff::130]/stable/sysupgrade/',
}, },
probability = 0.1, probability = 0.1,
good_signatures = 3, good_signatures = 2,
pubkeys = { pubkeys = {
'6dcfc670a4150e16962c1852066669d9b337f168d0f6a863ed930968c2f047eb', -- awlnx
'5700c7a266d80aa1c6c33f29835a7b200bdd500e88ee86c0a63e24a0023364f6', -- krombel
'2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole
'7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz
'56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris
@@ -141,18 +101,21 @@
'http://[fdef:ffc0:4fff::130]/experimental/sysupgrade/', 'http://[fdef:ffc0:4fff::130]/experimental/sysupgrade/',
}, },
probability = 0.5, probability = 0.5,
good_signatures = 2, good_signatures = 1,
pubkeys = { pubkeys = {
'6dcfc670a4150e16962c1852066669d9b337f168d0f6a863ed930968c2f047eb', -- awlnx
'5700c7a266d80aa1c6c33f29835a7b200bdd500e88ee86c0a63e24a0023364f6', -- krombel
'2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole
'7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz
'56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris
'2f92051ac4452d6026061e6c3719ffbd4f34ba7fbc474439fc6f857b76159bae', -- build.freifunk-muenchen.de (fpletz) '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 -- vim: set ft=lua:ts=2:sw=2:et

153
site.mk
View File

@@ -1,6 +1,6 @@
GLUON_SITE_PACKAGES := \ GLUON_SITE_PACKAGES := \
gluon-mesh-batman-adv-15 \ gluon-mesh-babel \
gluon-respondd \ gluon-announced \
gluon-autoupdater \ gluon-autoupdater \
gluon-config-mode-core \ gluon-config-mode-core \
gluon-config-mode-autoupdater \ gluon-config-mode-autoupdater \
@@ -8,9 +8,6 @@ GLUON_SITE_PACKAGES := \
gluon-config-mode-mesh-vpn \ gluon-config-mode-mesh-vpn \
gluon-config-mode-geo-location \ gluon-config-mode-geo-location \
gluon-config-mode-contact-info \ gluon-config-mode-contact-info \
gluon-config-mode-site-select \
gluon-ebtables-filter-multicast \
gluon-ebtables-filter-ra-dhcp \
gluon-luci-admin \ gluon-luci-admin \
gluon-luci-autoupdater \ gluon-luci-autoupdater \
gluon-luci-portconfig \ gluon-luci-portconfig \
@@ -23,149 +20,7 @@ GLUON_SITE_PACKAGES := \
gluon-status-page \ gluon-status-page \
iwinfo \ iwinfo \
iptables \ iptables \
haveged \ haveged
gluon-ebtables-filter-arp-ffmuc \
gluon-ebtables-filter-multicast-ffmuc \
tecff-ath9k-broken-wifi-workaround \
tecff-respondd-watchdog
# basic support for USB stack
USB_PACKAGES_BASIC := \
kmod-usb-core \
kmod-usb2
# 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
# network support for USB devices
USB_PACKAGES_NET := \
kmod-mii \
kmod-nls-base \
kmod-usb-net \
kmod-usb-net-asix \
kmod-usb-net-asix-ax88179 \
kmod-usb-net-cdc-eem \
kmod-usb-net-cdc-ether \
kmod-usb-net-cdc-mbim \
kmod-usb-net-cdc-ncm \
kmod-usb-net-cdc-subset \
kmod-usb-net-dm9601-ether \
kmod-usb-net-hso \
kmod-usb-net-huawei-cdc-ncm \
kmod-usb-net-ipheth \
kmod-usb-net-kalmia \
kmod-usb-net-kaweth \
kmod-usb-net-mcs7830 \
kmod-usb-net-pegasus \
kmod-usb-net-qmi-wwan \
kmod-usb-net-rndis \
kmod-usb-net-sierrawireless \
kmod-usb-net-smsc95xx
# broken
# kmod-usb-net-rtl8150 \
# kmod-usb-net-rtl8152 \
# network support for PCI devices
PCI_PACKAGES_NET := \
kmod-3c59x \
kmod-e100 \
kmod-e1000 \
kmod-e1000e \
kmod-forcedeth \
kmod-natsemi \
kmod-ne2k-pci \
kmod-pcnet32 \
kmod-r8169 \
kmod-sis900 \
kmod-sky2 \
kmod-tg3 \
kmod-tulip \
kmod-via-rhine
# broken
# kmod-ixgbe \
# kmod-r8139too \
# additional packages
TOOLS_PACKAGES := \
iperf \
socat \
tcpdump \
usbutils \
vnstat
# broken
# pciutils \
#
# $(GLUON_TARGET) specific settings:
#
# x86-generic
ifeq ($(GLUON_TARGET),x86-generic)
# support the usb stack on x86 devices
# and add a few common USB and PCI NICs
GLUON_SITE_PACKAGES += \
kmod-usb-hid \
kmod-hid-generic \
$(USB_PACKAGES_BASIC) \
$(USB_PACKAGES_STORAGE) \
$(USB_PACKAGES_NET) \
$(PCI_PACKAGES_NET) \
$(TOOLS_PACKAGES)
endif
# x86-64
ifeq ($(GLUON_TARGET),x86-64)
# support the usb stack on x86-64 devices
# and add a few common USB and PCI NICs
GLUON_SITE_PACKAGES += \
kmod-usb-hid \
kmod-hid-generic \
$(USB_PACKAGES_BASIC) \
$(USB_PACKAGES_STORAGE) \
$(USB_PACKAGES_NET) \
$(PCI_PACKAGES_NET) \
$(TOOLS_PACKAGES)
endif
ifeq ($(GLUON_TARGET),x86-kvm_guest)
GLUON_SITE_PACKAGES += \
$(TOOLS_PACKAGES)
endif
# ar71xx-generic
GLUON_TLWR842_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_TLWR1043_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_TLWR2543_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_TLWDR4300_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_WNDR3700_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_WRT160NL_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_ARCHERC7_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_GLINET_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_WZRHPG450H_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
GLUON_WZRHPAG300H_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
# mpc85xx-generic
GLUON_TLWDR4900_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
DEFAULT_GLUON_RELEASE := snapshot~$(shell date '+%Y%m%d') DEFAULT_GLUON_RELEASE := snapshot~$(shell date '+%Y%m%d')
@@ -177,5 +32,3 @@ GLUON_PRIORITY ?= 0
# Languages to include # Languages to include
GLUON_LANGS ?= en de GLUON_LANGS ?= en de
GLUON_REGION := eu