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
3 changed files with 26 additions and 84 deletions

View File

@@ -1,6 +1,6 @@
GLUON_BUILD_DIR := gluon-build
GLUON_GIT_URL := https://github.com/freifunk-gluon/gluon.git
GLUON_GIT_REF := 72e554fcff0c9f67c62630a41557eac30fa480a8
GLUON_GIT_URL := https://github.com/freifunkMUC/gluon.git
GLUON_GIT_REF := e05ca52e0359a182b49e0fb44e68f1972aa69016
SECRET_KEY_FILE ?= ${HOME}/.gluon-secret-key
@@ -41,15 +41,15 @@ build: gluon-prepare
manifest: build
${GLUON_MAKE} manifest
mv ${GLUON_BUILD_DIR}/output .
mv ${GLUON_BUILD_DIR}/images .
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}:
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} \
&& git remote set-url origin ${GLUON_GIT_URL} \
&& git fetch origin \
@@ -60,7 +60,7 @@ gluon-prepare: output-clean ${GLUON_BUILD_DIR}
gluon-clean:
rm -rf ${GLUON_BUILD_DIR}
output-clean:
rm -rf output
images-clean:
rm -rf images
clean: gluon-clean output-clean
clean: gluon-clean images-clean

View File

@@ -1,8 +1,7 @@
{
hostname_prefix = '',
site_name = 'Freifunk München',
site_code = 'ffmuc',
opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',
site_code = 'ffmuc-babel',
prefix4 = '10.80.0.0/16',
prefix6 = 'fdef:ffc0:4fff::/64',
@@ -15,18 +14,18 @@
regdom = 'DE',
wifi24 = {
channel = 6,
channel = 11,
htmode = 'HT20',
ap = {
ssid = 'muenchen.freifunk.net',
ssid = 'babel.muenchen.freifunk.net',
},
mesh = {
id = 'ffmuc-mesh',
id = 'ffmuc-mesh-babel',
mcast_rate = 12000,
},
ibss = {
ssid = 'mesh.ffmuc',
bssid = '02:0E:8E:1E:61:17',
ssid = 'mesh.ffmuc.babel',
bssid = '02:0E:8E:1E:61:10',
mcast_rate = 12000,
},
},
@@ -35,23 +34,21 @@
channel = 44,
htmode = 'HT40+',
ap = {
ssid = 'muenchen.freifunk.net',
ssid = 'babel.muenchen.freifunk.net',
},
mesh = {
id = 'ffmuc-mesh',
id = 'ffmuc-mesh-babel',
mcast_rate = 12000,
},
ibss = {
ssid = 'mesh.ffmuc',
bssid = '02:0E:8E:1E:61:17',
ssid = 'mesh.ffmuc.babel',
bssid = '02:0E:8E:1E:61:10',
mcast_rate = 12000,
},
},
mesh = {
batman_adv = {
gw_sel_class = 3,
},
babel_mesh = {
prefix = 'fdef:ffc0:4fff:ffff::/64',
},
next_node = {
@@ -67,60 +64,10 @@
backbone = {
limit = 1,
peers = {
gw03 = { --[[ fpletz ]]
key = '4b856fca91077d08ea79f13e139c33b1d1a62e1566e0d447bbfd9cf640c74c41',
gw_test = { --[[ fpletz ]]
key = '23280df37b96cb587a3eeeb51c806bceeb627b8d063bb7dcc5492f4c9e3af356',
remotes = {
'ipv4 "gw03.ffmuc.net" port 10001',
'ipv4 "gw03.freifunk-muenchen.de" port 10001',
},
},
gw04 = {
key = 'adee58f70829e6a03e568ca8273070b38c1b4cfe0beb69c53eea429646908126',
remotes = {
'ipv4 "gw04.ffmuc.net" port 10001',
'ipv4 "gw04.freifunk-muenchen.de" port 10001',
},
},
gw05 = {
key = '2242fe7fff1def15233a364487545e57c3c69e1b624d97bd5d72359b9851cb6e',
remotes = {
'ipv4 "gw05.ffmuc.net" port 10001',
'ipv4 "gw05.freifunk-muenchen.de" port 10001',
},
},
gw06 = {
key = 'd6834aa47a14358d804139630812276b3297e767d159c9cfd13fa6fb638000e0',
remotes = {
'ipv4 "gw06.ffmuc.net" port 10001',
'ipv4 "gw06.freifunk-muenchen.de" port 10001',
},
},
gw07 = {
key = '77b5f5189c360b245e1c934941468cc9cf57f0646465be5765593a95e54449d6',
remotes = {
'ipv4 "gw07.ffmuc.net" port 10001',
'ipv4 "gw07.freifunk-muenchen.de" port 10001',
},
},
gw08 = {
key = 'e476fb3a72365b550a23b587c0962eed362ed0c237175552b3261d22daaa2055',
remotes = {
'ipv4 "gw08.ffmuc.net" port 10001',
'ipv4 "gw08.freifunk-muenchen.de" port 10001',
},
},
gw09 = {
key = 'b86f436c9bb13b308dc92c3889fd468c46679d9df0bf4892244372ab415694d0',
remotes = {
'ipv4 "gw09.ffmuc.net" port 10001',
'ipv4 "gw09.freifunk-muenchen.de" port 10001',
},
},
gw10 = {
key = 'c04358d4818ec108fa4715e4517300cb2d0fa848dfa872770c4b8487d525e8bf',
remotes = {
'ipv4 "gw10.ffmuc.net" port 10001',
'ipv4 "gw10.freifunk-muenchen.de" port 10001',
'ipv4 "hermes.bpletza.de" port 16000',
},
},
},
@@ -129,7 +76,7 @@
},
autoupdater = {
enabled = 1,
enabled = 0,
branch = 'stable',
branches = {
stable = {

View File

@@ -1,6 +1,5 @@
GLUON_SITE_PACKAGES := \
gluon-mesh-batman-adv-15 \
gluon-alfred \
gluon-mesh-babel \
gluon-announced \
gluon-autoupdater \
gluon-config-mode-core \
@@ -9,8 +8,6 @@ GLUON_SITE_PACKAGES := \
gluon-config-mode-mesh-vpn \
gluon-config-mode-geo-location \
gluon-config-mode-contact-info \
gluon-ebtables-filter-multicast \
gluon-ebtables-filter-ra-dhcp \
gluon-luci-admin \
gluon-luci-autoupdater \
gluon-luci-portconfig \
@@ -23,9 +20,7 @@ GLUON_SITE_PACKAGES := \
gluon-status-page \
iwinfo \
iptables \
haveged \
gluon-ebtables-filter-arp-ffmuc \
gluon-ebtables-filter-multicast-ffmuc
haveged
DEFAULT_GLUON_RELEASE := snapshot~$(shell date '+%Y%m%d')