Skip to content

Commit

Permalink
initial version used on first builds - needs gluon master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
poldy79 committed Sep 22, 2014
1 parent 838c41c commit fd7e0e7
Show file tree
Hide file tree
Showing 2 changed files with 187 additions and 0 deletions.
143 changes: 143 additions & 0 deletions site.conf
@@ -0,0 +1,143 @@
{
hostname_prefix = 's',
site_name = 'Freifunk Stuttgart',
site_code = 'ffs',

prefix4 = '172.21.24.128/25',
prefix6 = 'fd21:b4dc:4b1e::/64',

timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {
'172.21.24.129', 'fd21:b4dc:4b1e::a38:1', -- gluongw
},
opkg_repo = 'http://172.21.24.129/gluon/stable/%S/packages',
regdom = 'DE',

wifi24 = {
ssid = 'stuttgart.freifunk.net',
channel = 1,
htmode = 'HT20',
mesh_ssid = '02:04:08:16:32:64',
mesh_bssid = '02:04:08:16:32:64',
mesh_mcast_rate = 12000,
},
wifi5 = {
ssid = 'stuttgart.freifunk.net',
channel = 44,
htmode = 'HT40+',
mesh_ssid = '02:04:08:16:32:64',
mesh_bssid = '02:04:08:16:32:64',
mesh_mcast_rate = 12000,
},

next_node = {
ip4 = '172.21.24.254',
ip6 = 'fd21:b4dc:4b1e::1',
mac = '02:00:0a:25:00:01', -- http://freifunk-stuttgart.de/mac.html
},

fastd_mesh_vpn = {
methods = {'salsa2012+gmac'},
mtu = 1406,
enabled = true,
backbone = {
limit = 2,
peers = {
gluongw = {
key = 'd7b89d42b629bd5d419139b4c395e7b47ed7417112d3fcd232ba38137daa58e6',
remotes = {'"gluongw.selfhosted.de" port 10037'},
},
},
},
},

autoupdater = {
branch = 'stable',
branches = {
stable = {
name = 'stable',
mirrors = {
'http://[fd21:b4dc:4b1e::a38:1]/gluon/stable/sysupgrade', -- gluongw
'http://172.21.24.129/gluon/stable/sysupgrade', -- gluongw
},
good_signatures = 1,
pubkeys = {
'eb609ccaa68d681aadbc4d00a4b0870f6cb1559ac9d280f590beee595ac4bc39', -- leonard
},
},
beta = {
name = 'beta',
mirrors = {
'http://[fd21:b4dc:4b1e::a38:1]/gluon/beta/sysupgrade', -- gluongw
'http://172.21.24.129/gluon/beta/sysupgrade', -- gluongw
},
good_signatures = 1,
pubkeys = {
'eb609ccaa68d681aadbc4d00a4b0870f6cb1559ac9d280f590beee595ac4bc39', -- leonard
},
},
nightly = {
name = 'nightly',
mirrors = {
'http://[fd21:b4dc:4b1e::a38:1]/gluon/nightly/sysupgrade', -- gluongw
'http://172.21.24.129/gluon/nightly/sysupgrade', -- gluongw
},
good_signatures = 1,
pubkeys = {
'eb609ccaa68d681aadbc4d00a4b0870f6cb1559ac9d280f590beee595ac4bc39', -- leonard
},
},
},
},

simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
enabled = false,
limit_egress = 400,
limit_ingress = 6000,
},
},

-- enable BATMAN on WAN interface by default (see gluon-luci-portconfig for webinterface)
mesh_on_wan = false,

config_mode = {
msg_welcome = [[
Willkommen zum Einrichtungsassistenten für deinen neuen Freifunk-Knoten.
Fülle das folgende Formular deinen Vorstellung entsprechend aus und sende es ab.
]],
msg_pubkey = [[
Dies ist der öffentliche Schlüssel deines Freifunk-Knotens. Erst nachdem er auf
den Servern des Stuttgarter Freifunk-Projektes eingetragen wurde
kann sich dein Knoten mit den Mesh-VPNs in Stuttgart verbinden.
Bitte schicke dazu diesen Schlüssel und den Namen deines Knotens (<em><%=hostname%></em>)
an <a href="mailto:leonard@penzer.de?&amp;subject=Neuer%20Freifunk-Knoten%3A%20<%=hostname%>&amp;body=Name%3A%20<%=hostname%>%0D%0AKey%3A%20<%=pubkey%>%0D%0AMAC%3A%20<%=sysconfig.primary_mac%>%0D%0A">leonard@penzer.de</a>.
<small>Ein Klick auf den E-Mail Link müsste&trade; dein E-Mail Programm
öffnen und alle benötigten Informationen in eine neue Mail einfügen.</small>
]],
msg_reboot = [[
Dein Knoten startet gerade neu und wird anschließend versuchen, sich mit anderen
Freifunk-Knoten in seiner Nähe zu verbinden.

<h2>Und was jetzt?</h2>

Weitere Informationen zur Freifunk-Community findest du auf den Webseiten von
<a href="http://stuttgart.freifunk.net/">Freifunk Stuttgart</a> oder unter <a href="http://www.freifunk.net/">freifunk.net</a>.

<dl>
<dt>Karte</dt>
<dd>Die Karten sind unter <a href="http://map.freifunk-stuttgart.de/">map.freifunk-stuttgart.de</a> erreichbar.</dd>

<dt>Next Node</dt>
<dd>Den Router mit dem man momentan verbunden ist, kann man immer unter der sogenannten Next Node Adresse erreichen. Diese ist für jeden Router gleich:</dd>
<dd>&bull; Stuttgart &mdash; <a href="http://[fd21:b4dc:4b1e::1]/">fd21:b4dc:4b1e::1</a> &ndash; <a href="http://172.21.24.254/">172.21.24.254</a></dd>
</dl>

Viel Spaß mit deinem Knoten und bei der Erkundung von Freifunk!<br />

<small>Hilf uns weitere Anleitungen, Texte, Grafiken, Applikationen, Schaubilder, und ähnliches zu erstellen die wir hier verlinken können, um jedem neuen Freifunker einen guten Start zu ermöglichen</small>

]],
},
}
44 changes: 44 additions & 0 deletions site.mk
@@ -0,0 +1,44 @@
GLUON_SITE_PACKAGES := \
gluon-mesh-batman-adv-15 \
gluon-alfred \
gluon-announced \
gluon-autoupdater \
gluon-ebtables-filter-multicast \
gluon-ebtables-filter-ra-dhcp \
gluon-config-mode-hostname \
gluon-config-mode-autoupdater \
gluon-config-mode-mesh-vpn \
gluon-config-mode-geo-location \
gluon-config-mode-contact-info \
gluon-luci-private-wifi \
gluon-luci-admin \
gluon-luci-autoupdater \
gluon-luci-portconfig \
gluon-mesh-vpn-fastd \
gluon-next-node \
gluon-radvd \
gluon-status-page \
iwinfo \
iptables \
haveged

FOO := \


# * opkg_install_cmd: Cannot install package gluon-config-mode-autoupdater.
# * opkg_install_cmd: Cannot install package gluon-config-mode-contact-info.
# * opkg_install_cmd: Cannot install package gluon-config-mode-geo-location.
# * opkg_install_cmd: Cannot install package gluon-config-mode-hostname.
# * opkg_install_cmd: Cannot install package gluon-config-mode-mesh-vpn.
# * opkg_install_cmd: Cannot install package gluon-luci-private-wifi.
# * opkg_install_cmd: Cannot install package gluon-mesh-batman-adv-15.



DEFAULT_GLUON_RELEASE := 0.1+0-$(shell date '+%Y.%m.%d-%H.%M')-g.$(shell git -C $(GLUONDIR) log --pretty=format:'%h' -n 1)-s.$(shell git -C $(GLUONDIR)/site log --pretty=format:'%h' -n 1)

# Allow overriding the release number from the command line
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)

# Default priority for updates.
GLUON_PRIORITY ?= 0.1

0 comments on commit fd7e0e7

Please sign in to comment.