forked from Freifunk-Troisdorf/site
commit
4f3e55f776
4
modules
Normal file
4
modules
Normal file
@ -0,0 +1,4 @@
|
||||
GLUON_SITE_FEEDS='tro'
|
||||
|
||||
PACKAGES_TRO_REPO=https://github.com/stebifan/tro-packages.git
|
||||
PACKAGES_TRO_COMMIT=608002a06ebf75c625cddc536cdd5c047a5fa2bd
|
158
site.conf
Normal file
158
site.conf
Normal file
@ -0,0 +1,158 @@
|
||||
{
|
||||
hostname_prefix = 'freifunk',
|
||||
site_name = 'Freifunk Troisdorf',
|
||||
site_code = 'Troisdorf',
|
||||
opkg_repo = 'http://openwrt.freifunk-troisdorf.de/gluon/14.07/%S/packages',
|
||||
prefix4 = '10.188.0.0/16',
|
||||
prefix6 = 'fda0:747e:ab29:7405::/64',
|
||||
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
|
||||
ntp_servers = {
|
||||
'0.de.pool.ntp.org',
|
||||
'1.de.pool.ntp.org',
|
||||
},
|
||||
regdom = 'DE',
|
||||
wifi24 = {
|
||||
ssid = 'Freifunk',
|
||||
channel = 5,
|
||||
htmode = 'HT40-',
|
||||
mesh_ssid = 'troisdorf-ff-mesh',
|
||||
mesh_bssid = '02:74:05:d0:4f:00',
|
||||
mesh_mcast_rate = 12000,
|
||||
},
|
||||
wifi5 = {
|
||||
ssid = 'Freifunk',
|
||||
channel = 52,
|
||||
htmode = 'HT40+',
|
||||
mesh_ssid = 'troisdorf-ff-mesh',
|
||||
mesh_bssid = '02:74:05:d0:4f:00',
|
||||
mesh_mcast_rate = 12000,
|
||||
},
|
||||
next_node = {
|
||||
ip4 = '10.188.0.1',
|
||||
ip6 = 'fda0:747e:ab29:7405::1',
|
||||
mac = '04:74:05:d0:4f:aa',
|
||||
},
|
||||
fastd_mesh_vpn = {
|
||||
methods = {
|
||||
'salsa2012+umac',
|
||||
'salsa2012+gmac'
|
||||
},
|
||||
mtu = 1426,
|
||||
backbone = {
|
||||
limit = 2,
|
||||
peers = {
|
||||
wupper0 = {
|
||||
key = '7142f897f4e55d2c19207aa59db92ec54d7517cf558d5ecaef33689234952a4b',
|
||||
remotes = {'ipv4 "wupper0.freifunk-troisdorf.de" port 53840'},
|
||||
},
|
||||
wupper1 = {
|
||||
key = 'c3fe61335a6c92d2557cdaf93db2b80e7e5b9704290ccdb0ad34ee01c56b9116',
|
||||
remotes = {'ipv4 "wupper1.freifunk-troisdorf.de" port 53840'},
|
||||
},
|
||||
gateway1 = {
|
||||
key = 'f355e18e0e442723548d21db8d762deeb1cfef18abd3c27180e7ca1ff6639422',
|
||||
remotes = {'ipv4 "gateway1.freifunk-troisdorf.de" port 53840'},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
autoupdater = {
|
||||
enabled = true,
|
||||
branch = 'stable',
|
||||
branches = {
|
||||
stable = {
|
||||
name = 'stable',
|
||||
mirrors = {
|
||||
'http://updates.services.in.freifunk-troisdorf.de/stable/sysupgrade',
|
||||
'http://[fda0:747e:ab29:7405::3]/stable/sysupgrade'
|
||||
},
|
||||
probability = 0.08,
|
||||
good_signatures = 1,
|
||||
pubkeys = {
|
||||
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
|
||||
'15495f8ffa45f7a02fd8889fb90bbf1b3c8f2930962fda566db956904b01733d', -- phip
|
||||
|
||||
},
|
||||
},
|
||||
beta = {
|
||||
name = 'beta',
|
||||
mirrors = {
|
||||
'http://updates.services.in.freifunk-troisdorf.de/beta/sysupgrade',
|
||||
'http://[fda0:747e:ab29:7405::3]/beta/sysupgrade'
|
||||
},
|
||||
probability = 0.08,
|
||||
good_signatures = 1,
|
||||
pubkeys = {
|
||||
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
|
||||
'15495f8ffa45f7a02fd8889fb90bbf1b3c8f2930962fda566db956904b01733d', -- phip
|
||||
},
|
||||
},
|
||||
experimental = {
|
||||
name = 'experimental',
|
||||
mirrors = {
|
||||
'http://updates.services.in.freifunk-troisdorf.de/experimental/sysupgrade',
|
||||
'http://[fda0:747e:ab29:7405::3]/experimental/sysupgrade'
|
||||
},
|
||||
probability = 1.00,
|
||||
good_signatures = 1,
|
||||
pubkeys = {
|
||||
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
|
||||
'15495f8ffa45f7a02fd8889fb90bbf1b3c8f2930962fda566db956904b01733d', -- phip
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
simple_tc = {
|
||||
mesh_vpn = {
|
||||
ifname = 'mesh-vpn',
|
||||
enabled = false,
|
||||
limit_egress = 300,
|
||||
limit_ingress = 5000,
|
||||
},
|
||||
},
|
||||
config_mode = {
|
||||
msg_welcome = [[
|
||||
Willkommen zum Einrichtungsassistenten für deinen neuen Troisdorfer
|
||||
Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
|
||||
entsprechend aus und sende es ab.
|
||||
<br /> Es wird empfohlen – wenn es sein muss – zuerst die Einstellungen
|
||||
für Experten zu bearbeiten, da dies später nicht mehr möglich ist.
|
||||
]],
|
||||
msg_pubkey = [[
|
||||
Dies ist der öffentliche Schlüssel deines Freifunkknotens. Erst nachdem
|
||||
er auf den Servern des Troisdorfer Freifunk-Projektes eingetragen wurde,
|
||||
kann sich dein Knoten mit dem Troisdorfer Mesh-VPN verbinden. Bitte
|
||||
trage dazu diesen Schlüssel und den Namen deines Knotens
|
||||
(<em><%=hostname%></em>) auf
|
||||
<a href="http://register.freifunk-troisdorf.de/">http://register.freifunk-troisdorf.de/</a>
|
||||
ein. Kopiere bitte sofort diesen Schlüssel für deine Unterlagen. Es wird für
|
||||
dich später sehr schwierig werden diesen Schlüssel noch ein mal zu sehen,
|
||||
da dieser Knoten soeben neu gestartet wurde.
|
||||
]],
|
||||
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
|
||||
Troisdorfer Freifunk-Community findest du auf
|
||||
<a href="http://www.freifunk-troisdorf.de/">unserer Webseite</a>.
|
||||
</p>
|
||||
<p>
|
||||
Hast Du Dir den Schlüssel deines Knotens notiert? Bzw. kopiert und irgendwo
|
||||
eingefügt?
|
||||
</p>
|
||||
<p>
|
||||
Viel Spaß mit deinem Knoten und der Erkundung und Nutzung von Freifunk!
|
||||
</p>
|
||||
]],
|
||||
},
|
||||
legacy = {
|
||||
version_files = {'/etc/.freifunk_version_keep', '/etc/.fftro_version_keep'},
|
||||
old_files = {'/etc/config/config_mode', '/etc/config/fftro', '/etc/config/freifunk'},
|
||||
config_mode_configs = {'config_mode', 'fftro', 'freifunk'},
|
||||
fastd_configs = {'fftro_mesh_vpn', 'mesh_vpn'},
|
||||
mesh_ifname = 'freifunk',
|
||||
tc_configs = {'fftro', 'freifunk'},
|
||||
wifi_names = {'wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'},
|
||||
},
|
||||
}
|
31
site.mk
Normal file
31
site.mk
Normal file
@ -0,0 +1,31 @@
|
||||
GLUON_SITE_PACKAGES := \
|
||||
gluon-mesh-batman-adv-15 \
|
||||
gluon-alfred \
|
||||
gluon-announced \
|
||||
gluon-autoupdater \
|
||||
gluon-config-mode-autoupdater \
|
||||
gluon-config-mode-hostname \
|
||||
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-legacy \
|
||||
gluon-luci-admin \
|
||||
gluon-luci-autoupdater \
|
||||
gluon-luci-portconfig \
|
||||
gluon-next-node \
|
||||
gluon-mesh-vpn-fastd \
|
||||
gluon-radvd \
|
||||
gluon-status-page \
|
||||
iwinfo \
|
||||
iptables \
|
||||
haveged \
|
||||
tro-configurator \
|
||||
tro-nodewatcher
|
||||
|
||||
DEFAULT_GLUON_RELEASE := 2014.4-beta-2
|
||||
# Allow overriding the release number from the command line
|
||||
|
||||
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
|
||||
GLUON_PRIORITY ?= 0
|
Loading…
Reference in New Issue
Block a user