Initial configuration for v0.6

pull/1/head v0.6
bdobe 2015-04-23 09:04:38 +02:00
commit fce06e2ad7
5 changed files with 196 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

15
README.md Normal file
View File

@ -0,0 +1,15 @@
#### How to build the Freifunk Helgoland Firmware
git clone https://github.com/freifunk-gluon/gluon.git # Get the official Gluon repository
cd gluon
git clone https://github.com/freifunk-helgoland/site-helgo.git site # Get the Freifunk Helgoland 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.
#### Gluon versions used for specific Helgoland Freifunk Firmware builds
- 0.6: v2014.4

4
modules Normal file
View File

@ -0,0 +1,4 @@
GLUON_SITE_FEEDS='ffhh_packages'
PACKAGES_FFHH_PACKAGES_REPO=git://github.com/freifunkhamburg/ffhh-packages.git
PACKAGES_FFHH_PACKAGES_COMMIT=918d892f15aaf82417b642dc8cd87993bde9d7d6

143
site.conf Normal file
View File

@ -0,0 +1,143 @@
{
hostname_prefix = 'GibMirEinenNamen',
site_name = 'Freifunk Helgoland',
site_code = 'helgo',
opkg_repo = 'http://opkg.services.helgo/barrier_breaker/14.07/%S/packages',
prefix4 = '10.189.0.0/18',
prefix6 = '2a03:2267:4e16:01ad::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {'1.ntp.services.helgo','2.ntp.services.helgo'},
regdom = 'DE',
wifi24 = {
ssid = 'helgoland.freifunk.net',
channel = 1,
htmode = 'HT20',
mesh_ssid = '14:cc:20:92:0f:e9',
mesh_bssid = '14:cc:20:92:0f:e9',
mesh_mcast_rate = 12000,
},
wifi5 = {
ssid = 'helgoland.freifunk.net',
channel = 44,
htmode = 'HT40+',
mesh_ssid = '14:cc:20:92:0f:e9',
mesh_bssid = '14:cc:20:92:0f:e9',
mesh_mcast_rate = 12000,
},
next_node = {
ip4 = '10.189.0.1',
ip6 = '2a03:2267:4e16:01ad::1',
mac = '16:41:95:40:f7:dc',
},
fastd_mesh_vpn = {
enabled = true,
methods = {'salsa2012+umac'},
mtu = 1406,
backbone = {
limit = 2,
peers = {
gateway01 = {
key = '2fa171346f800313145064d5e760af52069a3f3c6d1805c0393c747843b0eb8e',
remotes = {'"gw01.helgoland.freifunk.net" port 10100'},
},
gateway02 = {
key = 'f162c28d1f8f08cc9a6673126fd2d89e29c906c2901a9d8a39ade5ca85a32542',
remotes = {'"gw02.helgoland.freifunk.net" port 10100'},
},
gateway03 = {
key = '164b49d6897633e32cf93feb0249072a4315a32f08444309e0f524f0e55c1250',
remotes = {'"gw03.helgoland.freifunk.net" port 10100'},
},
gateway04 = {
key = '4966066b42bf72c175a381118f47806ccc57e75a0a61bba03043e617076b8b05',
remotes = {'"gw04.helgoland.freifunk.net" port 10100'},
},
},
},
},
autoupdater = {
branch = 'experimental',
branches = {
stable = {
name = 'stable',
mirrors = {'http://1.updates.services.helgo/stable/sysupgrade','http://2.updates.services.helgo/stable/sysupgrade'},
good_signatures = 2,
pubkeys = {
'aee22cdc38b5d792cfc360d11030953ddaea65ad52e7a9a3879e2aa7e2bf9e8b', -- A.Bernhardt
'874a73fab024e3dea99ef4b843ace2b97910fddde9911ce308b1d52add236270', -- bdobe
'76911ba14827d95bf4721297f2f421a697824cc14026e42316f18b392bacc11c', -- Entil\'Zha
},
},
beta = {
name = 'beta',
mirrors = {'http://1.updates.services.helgo/beta/sysupgrade','http://2.updates.services.helgo/beta/sysupgrade'},
good_signatures = 2,
pubkeys = {
'aee22cdc38b5d792cfc360d11030953ddaea65ad52e7a9a3879e2aa7e2bf9e8b', -- A.Bernhardt
'874a73fab024e3dea99ef4b843ace2b97910fddde9911ce308b1d52add236270', -- bdobe
'76911ba14827d95bf4721297f2f421a697824cc14026e42316f18b392bacc11c', -- Entil\'Zha
},
},
experimental = {
name = 'experimental',
mirrors = {'http://1.updates.services.helgo/experimental/sysupgrade','http://2.updates.services.helgo/experimental/sysupgrade'},
good_signatures = 1,
pubkeys = {
'fcd387541ae051eb02f18fd7883e6abb1b7f4c0bcf6ef1ae641a80be49e23d84', -- 1.builder
},
},
},
},
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
enabled = false,
limit_egress = 500,
limit_ingress = 8000,
},
},
config_mode = {
msg_welcome = [[
Willkommen zum Einrichtungsassistenten für deinen neuen Helgoländer
Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
entsprechend aus und sende es ab.
Den unten anzugebenden Knotennamen kannst du beliebig wählen. Denke Dir also etwas schönes aus. Er ist der Name des Knotens im Netzwerk und hat nichts mit dem ausgestrahlten Netzwerknamen (SSID) zu tun. Letzterer ist immer helgoland.freifunk.net.
]],
msg_nopubkey = [[
Bitte trage nun den Namen deines Knotens
(<em><%=hostname%></em>) und ein paar andere Informationen unter
<a href="http://formular.helgoland.freifunk.net/#/new?hostname=<%=hostname%>&mac=<%= sysconfig.primary_mac %>" target="_blank">http://formular.helgoland.freifunk.net/</a>
ein.
]],
msg_pubkey = [[
Dies ist der öffentliche Schlüssel deines Freifunkknotens. Erst nachdem
er auf den Servern des Helgoländer Freifunk-Projektes eingetragen wurde,
kann sich dein Knoten mit dem Helgoländer Mesh-VPN verbinden. Bitte
trage dazu diesen Schlüssel, den Namen deines Knotens
(<em><%=hostname%></em>) und ein paar andere Informationen unter
<a href="http://formular.helgoland.freifunk.net/#/new?hostname=<%=hostname%>&key=<%=pubkey%>&mac=<%= sysconfig.primary_mac %>" target="_blank">http://formular.helgoland.freifunk.net/</a>
ein.
]],
msg_reboot = [[
<p>
Dein Knoten startet gerade neu und wird anschließend versuchen,
sich mit anderen Freifunkknoten in seiner Nähe zu
verbinden. Weitere Informationen zur
Helgoländer Freifunk-Community findest du auf
<a href="https://helgoland.freifunk.net/">unserer Webseite</a>.
</p>
<p>
Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
</p>
]],
},
}

33
site.mk Normal file
View File

@ -0,0 +1,33 @@
GLUON_SITE_PACKAGES := \
gluon-mesh-batman-adv-14 \
gluon-alfred \
gluon-announced \
gluon-autoupdater \
gluon-config-mode-autoupdater \
gluon-config-mode-hostname \
gluon-config-mode-mesh-vpn \
gluon-config-mode-reboot-ffhh \
gluon-ebtables-filter-multicast \
gluon-ebtables-filter-ra-dhcp \
gluon-luci-admin \
gluon-luci-autoupdater \
gluon-luci-portconfig \
gluon-luci-private-wifi \
gluon-next-node \
gluon-mesh-vpn-fastd \
gluon-radvd \
gluon-status-page \
iwinfo \
iptables \
haveged
DEFAULT_GLUON_RELEASE := 0.6
# for experimental firmware:
# DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d')
# Allow overriding the release number from the command line
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
GLUON_PRIORITY ?= 0