12 Commits

Author SHA1 Message Date
Franz Pletz
0d1ff59fac Release 2015.6.2 2015-10-15 23:03:08 +02:00
Franz Pletz
904652abdd Switch autoupdater URL back to main firmware repo path 2015-10-14 21:20:42 +02:00
Franz Pletz
378e517ff7 Release 2015.6.1 2015-10-14 19:39:26 +02:00
Christian Obersteiner
4e8364d02b using our own gluon-config-site-select module 2015-10-11 15:17:08 +02:00
Franz Pletz
42fe0d31fd Remove extra site symlink, fix site code 2015-10-05 12:34:51 +02:00
Franz Pletz
53e3c5dbe8 Merge branch 'site-select' into welcome 2015-10-04 17:05:04 +02:00
Franz Pletz
b96a4d3f3a Revert to HT20 for 2.4GHz Wifi
See https://github.com/freifunk-gluon/gluon/issues/487.
2015-09-19 20:49:50 +02:00
Franz Pletz
865a7bd177 Require 2 signatures for experimental (LQFB i139) 2015-09-19 20:48:08 +02:00
Franz Pletz
d017574397 Disable mesh on WAN by default 2015-09-19 20:44:23 +02:00
Franz Pletz
739bda2a16 Change site_code & use different ports for gateways 2015-09-15 12:37:35 +02:00
Franz Pletz
bc8dfbed2e Use correct ipv4 & ipv6 prefixes 2015-09-13 12:44:39 +02:00
Franz Pletz
bf148b9269 Changes for new partition 'welcome' 2015-09-13 12:13:40 +02:00
13 changed files with 188 additions and 505 deletions

1
.gitignore vendored
View File

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

View File

@@ -1,59 +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 ## v2015.6.2
* Bugfix build for welcome version * Bugfix build for welcome version

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,6 +1,6 @@
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 := 4268d32a8d70fa734b2d025972c5caca27705142
SECRET_KEY_FILE ?= ${HOME}/.gluon-secret-key SECRET_KEY_FILE ?= ${HOME}/.gluon-secret-key
@@ -8,11 +8,8 @@ GLUON_TARGETS ?= \
ar71xx-generic \ ar71xx-generic \
ar71xx-nand \ ar71xx-nand \
mpc85xx-generic \ 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 +22,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
@@ -46,15 +42,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 +61,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

@@ -2,10 +2,7 @@
hostname_prefix = '', hostname_prefix = '',
site_name = 'Freifunk München', site_name = 'Freifunk München',
site_code = 'ffmuc', site_code = 'ffmuc',
opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%S/packages',
},
prefix4 = '10.80.32.0/19', prefix4 = '10.80.32.0/19',
prefix6 = 'fdef:ffc0:4fff::/64', prefix6 = 'fdef:ffc0:4fff::/64',
@@ -18,41 +15,21 @@
regdom = 'DE', regdom = 'DE',
wifi24 = { wifi24 = {
ssid = 'muenchen.freifunk.net',
channel = 6, channel = 6,
ap = { htmode = 'HT20',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc',
}, mesh_bssid = '02:0E:8E:1E:61:17',
--mesh = { mesh_mcast_rate = 12000,
-- id = 'ffmuc-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc',
bssid = '02:0E:8E:1E:61:17',
mcast_rate = 12000,
},
}, },
wifi5 = { wifi5 = {
ssid = 'muenchen.freifunk.net',
channel = 44, channel = 44,
ap = { htmode = 'HT40+',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc',
}, mesh_bssid = '02:0E:8E:1E:61:17',
--mesh = { mesh_mcast_rate = 12000,
-- 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 = { next_node = {
@@ -63,54 +40,70 @@
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 = {
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 = { gw03 = {
key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41', key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41',
remotes = { remotes = {
'"gw03.ffmuc.net" port 10001', 'ipv4 "gw03.ffmuc.net" port 10000',
'"gw03.freifunk-muenchen.de" port 10001', 'ipv4 "gw03.freifunk-muenchen.de" port 10000',
}, },
}, },
gw04 = { gw04 = {
key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126', key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126',
remotes = { remotes = {
'"gw04.ffmuc.net" port 10001', 'ipv4 "gw04.ffmuc.net" port 10000',
'"gw04.freifunk-muenchen.de" port 10001', 'ipv4 "gw04.freifunk-muenchen.de" port 10000',
}, },
}, },
gw05 = { gw05 = {
key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e', key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e',
remotes = { remotes = {
'"gw05.ffmuc.net" port 10001', 'ipv4 "gw05.ffmuc.net" port 10000',
'"gw05.freifunk-muenchen.de" port 10001', 'ipv4 "gw05.freifunk-muenchen.de" port 10000',
},
},
gw06 = {
key = 'd6834aa47a14358d804139630812276b3297e767d159c9cfd13fa6fb638000e0',
remotes = {
'ipv4 "gw06.ffmuc.net" port 10000',
'ipv4 "gw06.freifunk-muenchen.de" port 10000',
},
},
gw07 = {
key = '77b5f5189c360b245e1c934941468cc9cf57f0646465be5765593a95e54449d6',
remotes = {
'ipv4 "gw07.ffmuc.net" port 10000',
'ipv4 "gw07.freifunk-muenchen.de" port 10000',
},
},
gw08 = {
key = 'e476fb3a72365b550a23b587c0962eed362ed0c237175552b3261d22daaa2055',
remotes = {
'ipv4 "gw08.ffmuc.net" port 10000',
'ipv4 "gw08.freifunk-muenchen.de" port 10000',
},
},
gw09 = {
key = 'b86f436c9bb13b308dc92c3889fd468c46679d9df0bf4892244372ab415694d0',
remotes = {
'ipv4 "gw09.ffmuc.net" port 10000',
'ipv4 "gw09.freifunk-muenchen.de" port 10000',
},
},
gw10 = {
key = 'c04358d4818ec108fa4715e4517300cb2d0fa848dfa872770c4b8487d525e8bf',
remotes = {
'ipv4 "gw10.ffmuc.net" port 10000',
'ipv4 "gw10.freifunk-muenchen.de" port 10000',
}, },
}, },
}, },
}, },
}, },
bandwidth_limit = {
enabled = false,
egress = 1500,
ingress = 12000,
},
}, },
autoupdater = { autoupdater = {
@@ -124,7 +117,7 @@
'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 = {
'2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole
'7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz
@@ -150,5 +143,13 @@
}, },
}, },
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

View File

@@ -2,10 +2,7 @@
hostname_prefix = '', hostname_prefix = '',
site_name = 'Freifunk München Umland', site_name = 'Freifunk München Umland',
site_code = 'ffmuc_umland', site_code = 'ffmuc_umland',
opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%S/packages',
},
prefix4 = '10.80.96.0/19', prefix4 = '10.80.96.0/19',
prefix6 = 'fdef:ffc0:4fff:2::/64', prefix6 = 'fdef:ffc0:4fff:2::/64',
@@ -18,41 +15,21 @@
regdom = 'DE', regdom = 'DE',
wifi24 = { wifi24 = {
ssid = 'muenchen.freifunk.net',
channel = 6, channel = 6,
ap = { htmode = 'HT20',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc.umland',
}, mesh_bssid = '02:0E:8E:1E:61:19',
--mesh = { mesh_mcast_rate = 12000,
-- id = 'ffmuc-umland-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc.umland',
bssid = '02:0E:8E:1E:61:19',
mcast_rate = 12000,
},
}, },
wifi5 = { wifi5 = {
ssid = 'muenchen.freifunk.net',
channel = 44, channel = 44,
ap = { htmode = 'HT40+',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc.umland',
}, mesh_bssid = '02:0E:8E:1E:61:19',
--mesh = { mesh_mcast_rate = 12000,
-- 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 = { next_node = {
@@ -63,7 +40,7 @@
fastd_mesh_vpn = { fastd_mesh_vpn = {
methods = {'salsa2012+umac'}, methods = {'salsa2012+umac'},
mtu = 1280, mtu = 1426,
groups = { groups = {
backbone = { backbone = {
limit = 1, limit = 1,
@@ -71,39 +48,41 @@
gwu01 = { gwu01 = {
key = '70299e3a589522a89306732fdfe43f35d9af083e4db322d87be52cf45c89771b', key = '70299e3a589522a89306732fdfe43f35d9af083e4db322d87be52cf45c89771b',
remotes = { remotes = {
'"gwu01.ffmuc.net" port 10015', 'ipv4 "gwu01.ffmuc.net" port 10010',
'"gwu01.freifunk-muenchen.de" port 10015', 'ipv4 "gwu01.freifunk-muenchen.de" port 10010',
}, },
}, },
gwu02 = { gwu02 = {
key = '32765d3337be727de5840930a221962a59cf5529ae6c1d3753e58ad460e510a5', key = '32765d3337be727de5840930a221962a59cf5529ae6c1d3753e58ad460e510a5',
remotes = { remotes = {
'"gwu02.ffmuc.net" port 10015', 'ipv4 "gwu02.ffmuc.net" port 10011',
'"gwu02.freifunk-muenchen.de" port 10015', 'ipv4 "gwu02.freifunk-muenchen.de" port 10011',
}, },
}, },
gwu03 = { gwu03 = {
key = '61fe3197ed7e934284adc2571523104d8e5391db2427dca9528f0d34bb60a522', key = '61fe3197ed7e934284adc2571523104d8e5391db2427dca9528f0d34bb60a522',
remotes = { remotes = {
'"gwu03.ffmuc.net" port 10015', 'ipv4 "gwu03.ffmuc.net" port 10012',
'"gwu03.freifunk-muenchen.de" port 10015', 'ipv4 "gwu03.freifunk-muenchen.de" port 10012',
}, },
}, },
gwu04 = { gwu04 = {
key = '443898162e1e9ec09da0904d72d8145026f4452a4b1e880a07dc6699418c69d1', key = '443898162e1e9ec09da0904d72d8145026f4452a4b1e880a07dc6699418c69d1',
remotes = { remotes = {
'"gwu04.ffmuc.net" port 10015', 'ipv4 "gwu04.ffmuc.net" port 10013',
'"gwu04.freifunk-muenchen.de" port 10015', 'ipv4 "gwu04.freifunk-muenchen.de" port 10013',
},
},
gwu05 = {
key = 'b6de9fec8569b1fcdea8e7c45224ec30513d24e01af71148c6d640b5df471950',
remotes = {
'ipv4 "gwu05.ffmuc.net" port 10014',
'ipv4 "gwu05.freifunk-muenchen.de" port 10014',
}, },
}, },
}, },
}, },
}, },
bandwidth_limit = {
enabled = false,
egress = 1500,
ingress = 12000,
},
}, },
autoupdater = { autoupdater = {
@@ -117,7 +96,7 @@
'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 = {
'2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole
'7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz
@@ -143,5 +122,13 @@
}, },
}, },
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

View File

@@ -2,10 +2,7 @@
hostname_prefix = 'welcome', hostname_prefix = 'welcome',
site_name = 'Freifunk München Welcome', site_name = 'Freifunk München Welcome',
site_code = 'ffmuc_welcome', site_code = 'ffmuc_welcome',
opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%S/packages',
},
prefix4 = '10.80.64.0/19', prefix4 = '10.80.64.0/19',
prefix6 = 'fdef:ffc0:4fff:1::/64', prefix6 = 'fdef:ffc0:4fff:1::/64',
@@ -18,41 +15,21 @@
regdom = 'DE', regdom = 'DE',
wifi24 = { wifi24 = {
ssid = 'muenchen.freifunk.net',
channel = 6, channel = 6,
ap = { htmode = 'HT20',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc.welcome',
}, mesh_bssid = '02:0E:8E:1E:61:18',
--mesh = { mesh_mcast_rate = 12000,
-- id = 'ffmuc-welcome-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc.welcome',
bssid = '02:0E:8E:1E:61:18',
mcast_rate = 12000,
},
}, },
wifi5 = { wifi5 = {
ssid = 'muenchen.freifunk.net',
channel = 44, channel = 44,
ap = { htmode = 'HT40+',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc.welcome',
}, mesh_bssid = '02:0E:8E:1E:61:18',
--mesh = { mesh_mcast_rate = 12000,
-- 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 = { next_node = {
@@ -63,7 +40,7 @@
fastd_mesh_vpn = { fastd_mesh_vpn = {
methods = {'salsa2012+umac'}, methods = {'salsa2012+umac'},
mtu = 1280, mtu = 1426,
groups = { groups = {
backbone = { backbone = {
limit = 1, limit = 1,
@@ -71,39 +48,34 @@
gwf01 = { gwf01 = {
key = '89951ed50d591c0a4682ae50cb38806efe44dd736ba91ef64c9ef06b20ec186e', key = '89951ed50d591c0a4682ae50cb38806efe44dd736ba91ef64c9ef06b20ec186e',
remotes = { remotes = {
'"gwf01.ffmuc.net" port 11001', 'ipv4 "gwf01.ffmuc.net" port 11000',
'"gwf01.freifunk-muenchen.de" port 11001', 'ipv4 "gwf01.freifunk-muenchen.de" port 11000',
}, },
}, },
gwf02 = { gwf02 = {
key = 'e255f2671c56f28a65173719be61939e5d48518eaa4da0d19283fd5395908e35', key = 'e255f2671c56f28a65173719be61939e5d48518eaa4da0d19283fd5395908e35',
remotes = { remotes = {
'"gwf02.ffmuc.net" port 11001', 'ipv4 "gwf02.ffmuc.net" port 11000',
'"gwf02.freifunk-muenchen.de" port 11001', 'ipv4 "gwf02.freifunk-muenchen.de" port 11001',
}, },
}, },
gwf03 = { gwf03 = {
key = 'bf16080ab05a4416285638208e6f17055ea8f92cfd496c61eee1f1160cf6d386', key = 'bf16080ab05a4416285638208e6f17055ea8f92cfd496c61eee1f1160cf6d386',
remotes = { remotes = {
'"gwf03.ffmuc.net" port 11001', 'ipv4 "gwf03.ffmuc.net" port 11000',
'"gwf03.freifunk-muenchen.de" port 11001', 'ipv4 "gwf03.freifunk-muenchen.de" port 11002',
}, },
}, },
gwf04 = { gwf04 = {
key = '421a2c8e78f86d08fa7c8c7660b0dc073640ff365acb308ab92155c33488c539', key = '421a2c8e78f86d08fa7c8c7660b0dc073640ff365acb308ab92155c33488c539',
remotes = { remotes = {
'"gwf04.ffmuc.net" port 11001', 'ipv4 "gwf04.ffmuc.net" port 11000',
'"gwf04.freifunk-muenchen.de" port 11001', 'ipv4 "gwf04.freifunk-muenchen.de" port 11003',
}, },
}, },
}, },
}, },
}, },
bandwidth_limit = {
enabled = false,
egress = 1500,
ingress = 12000,
},
}, },
autoupdater = { autoupdater = {
@@ -117,7 +89,7 @@
'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 = {
'2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole
'7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz
@@ -143,5 +115,13 @@
}, },
}, },
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

View File

@@ -18,7 +18,6 @@ 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 ""

View File

@@ -17,7 +17,6 @@ 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 ""

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=985bfad86005c7a9f754ddc8432d88641d8183b3
PACKAGES_FFMUC_COMMIT=30e645af484633893e63bf8daa19da6954b15029

119
site.conf
View File

@@ -1,14 +1,11 @@
{ {
hostname_prefix = '', hostname_prefix = 'welcome',
site_name = 'Freifunk München', site_name = 'Freifunk München Welcome',
site_code = 'ffmuc', site_code = 'ffmuc_welcome',
opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',
opkg = { prefix4 = '10.80.64.0/19',
openwrt = 'http://openwrt.draic.info/%n/%v/%S/packages', prefix6 = 'fdef:ffc0:4fff:1::/64',
},
prefix4 = '10.80.32.0/19',
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',
ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' }, ntp_servers = { '0.ntp.ffmuc.net', '1.ntp.ffmuc.net' },
@@ -18,99 +15,67 @@
regdom = 'DE', regdom = 'DE',
wifi24 = { wifi24 = {
ssid = 'muenchen.freifunk.net',
channel = 6, channel = 6,
ap = { htmode = 'HT20',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc.welcome',
}, mesh_bssid = '02:0E:8E:1E:61:18',
--mesh = { mesh_mcast_rate = 12000,
-- id = 'ffmuc-mesh',
-- mcast_rate = 12000,
--},
ibss = {
ssid = 'mesh.ffmuc',
bssid = '02:0E:8E:1E:61:17',
mcast_rate = 12000,
},
}, },
wifi5 = { wifi5 = {
ssid = 'muenchen.freifunk.net',
channel = 44, channel = 44,
ap = { htmode = 'HT40+',
ssid = 'muenchen.freifunk.net', mesh_ssid = 'mesh.ffmuc.welcome',
}, mesh_bssid = '02:0E:8E:1E:61:18',
--mesh = { mesh_mcast_rate = 12000,
-- 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 = { next_node = {
ip4 = '10.80.32.1', ip4 = '10.80.64.1',
ip6 = 'fdef:ffc0:4fff::1', ip6 = 'fdef:ffc0:4fff:1::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 = { gwf01 = {
key = '8ddaa67325583c64adf6e60cbe78e3436e5765fd0a2a632fae9e0ad68c855803', key = '89951ed50d591c0a4682ae50cb38806efe44dd736ba91ef64c9ef06b20ec186e',
remotes = { remotes = {
'"gw01.ffmuc.net" port 10001', 'ipv4 "gwf01.ffmuc.net" port 11000',
'"gw01.freifunk-muenchen.de" port 10001', 'ipv4 "gwf01.freifunk-muenchen.de" port 11000',
}, },
}, },
gw02 = { gwf02 = {
key = 'b860304fce2e0a701d4c13fa5e01f08832291a5c85d11e191639b9276ab53a45', key = 'e255f2671c56f28a65173719be61939e5d48518eaa4da0d19283fd5395908e35',
remotes = { remotes = {
'"gw02.ffmuc.net" port 10001', 'ipv4 "gwf02.ffmuc.net" port 11000',
'"gw02.freifunk-muenchen.de" port 10001', 'ipv4 "gwf02.freifunk-muenchen.de" port 11001',
}, },
}, },
gw03 = { gwf03 = {
key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41', key = 'bf16080ab05a4416285638208e6f17055ea8f92cfd496c61eee1f1160cf6d386',
remotes = { remotes = {
'"gw03.ffmuc.net" port 10001', 'ipv4 "gwf03.ffmuc.net" port 11000',
'"gw03.freifunk-muenchen.de" port 10001', 'ipv4 "gwf03.freifunk-muenchen.de" port 11002',
}, },
}, },
gw04 = { gwf04 = {
key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126', key = '421a2c8e78f86d08fa7c8c7660b0dc073640ff365acb308ab92155c33488c539',
remotes = { remotes = {
'"gw04.ffmuc.net" port 10001', 'ipv4 "gwf04.ffmuc.net" port 11000',
'"gw04.freifunk-muenchen.de" port 10001', 'ipv4 "gwf04.freifunk-muenchen.de" port 11003',
},
},
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 = {
@@ -124,10 +89,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
@@ -143,8 +106,6 @@
probability = 0.5, probability = 0.5,
good_signatures = 2, good_signatures = 2,
pubkeys = { pubkeys = {
'6dcfc670a4150e16962c1852066669d9b337f168d0f6a863ed930968c2f047eb', -- awlnx
'5700c7a266d80aa1c6c33f29835a7b200bdd500e88ee86c0a63e24a0023364f6', -- krombel
'2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole '2a74ed02120a7d48bb2dc9be988b3480ed99844054b3d7f3e5d3df27d19d814b', -- ole
'7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz '7e3bd782e40189b903b3fb1e488d64b23aa04bc353b1a521b4cd50e70b299113', -- fpletz
'56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris '56c4201f6ce2994678b0142e19099dd28d6ed17775d35ca9a7f12d9235890ffc', -- chris
@@ -154,5 +115,13 @@
}, },
}, },
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

147
site.mk
View File

@@ -1,6 +1,7 @@
GLUON_SITE_PACKAGES := \ GLUON_SITE_PACKAGES := \
gluon-mesh-batman-adv-15 \ gluon-mesh-batman-adv-15 \
gluon-respondd \ gluon-alfred \
gluon-announced \
gluon-autoupdater \ gluon-autoupdater \
gluon-config-mode-core \ gluon-config-mode-core \
gluon-config-mode-autoupdater \ gluon-config-mode-autoupdater \
@@ -25,147 +26,7 @@ GLUON_SITE_PACKAGES := \
iptables \ iptables \
haveged \ haveged \
gluon-ebtables-filter-arp-ffmuc \ gluon-ebtables-filter-arp-ffmuc \
gluon-ebtables-filter-multicast-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 +38,3 @@ GLUON_PRIORITY ?= 0
# Languages to include # Languages to include
GLUON_LANGS ?= en de GLUON_LANGS ?= en de
GLUON_REGION := eu