Matthias Schiffer
f221d17e1c
lua-platform-info: set image name for x86-kvm_guest target
2015-03-15 18:38:29 +01:00
Matthias Schiffer
596328289c
batman-adv-legacy: use an own build directory for each subtarget
...
This might fix some build issues.
2015-03-14 16:29:02 +01:00
Matthias Schiffer
661fe4e5b0
lua-platform-info: add support for ar71xx-nand target
2015-03-13 20:05:22 +01:00
Matthias Schiffer
8ee69212a3
gluon-core: fix primary MAC address on TP-LINK Archer C5/C7
2015-03-10 13:40:45 +01:00
Matthias Schiffer
34f0ac0bb2
lua-platform-info: add support for the x86-kvm_guest subtarget
2015-03-07 15:34:44 +01:00
Matthias Schiffer
4283a42277
Merge branch 'announce_site_code' of https://github.com/freifunk-mwu/packages
2015-03-02 23:12:53 +01:00
Nils Schneider
317be8aaa4
Merge pull request #100 from eriktews/wget-timeout
...
Added a 120 second timeout for wget to prevent it from stalling forever.
2015-02-23 00:14:01 +01:00
Matthias Schiffer
fe9eca0422
gluon-wan-dnsmasq: don't rewrite resolv.conf when its content hasn't changed
...
This avoids poking dnsmasq every time a DHCP lease is obtained or a router
advertisement received.
2015-02-18 01:23:11 +01:00
Matthias Schiffer
230eebdf1c
lua-platform-info: allow + in image names
...
Otherwise the UAP Outdoor+ can't be distinguished from the old UAP Outdoor.
2015-02-17 20:37:56 +01:00
Erik Tews
ef6b4675d6
autoupdater: Timeout for wget.
...
Added a 120 second timeout for wget to prevent it from stalling forever.
2015-02-11 01:06:59 +01:00
Kokel
fb2728d6ab
gluon-announce: add script to announce site_code
2015-02-10 18:20:44 +01:00
Nils Schneider
bd024a42c9
Merge pull request #99 from freifunk-gluon/allow-ripng
...
ebtables-filter-multicast: allow ripng
2015-02-10 16:38:55 +01:00
Nils Schneider
c858b6d0bb
Merge pull request #96 from freifunk-gluon/mesh-vpn-status
...
gluon-mesh-vpn-fastd: announce peer status using statistics.d
2015-02-10 16:38:43 +01:00
Nils Schneider
0055b140f5
ebtables-filter-multicast: allow ripng
2015-02-09 02:41:28 +01:00
Nils Schneider
1c694d1a53
gluon-mesh-vpn-fastd: announce peer status using statistics.d
...
This adds basic peer statistics to statistics.d:
"mesh_vpn": {
"muehlentor": {
"established": 23.8 // seconds
},
"huextertor": null,
"holstentor": null
}
2015-02-05 21:33:36 +01:00
Matthias Schiffer
1df94acf98
autoupdater: rework command line parsing, allow overriding branch
...
Unexpected command line arguments will now cause the updater to abort.
2015-01-27 00:33:41 +01:00
Matthias Schiffer
7fd3477263
gluon-core: sysconfig: differentiate between nil and empty string
2015-01-26 20:18:33 +01:00
Matthias Schiffer
29add3169b
lua-platform-info: x86: return CPU model
2015-01-25 04:16:58 +01:00
Matthias Schiffer
69d9a419a0
gluon-core: fall back to eth0 for the primary MAC address when there is no WLAN device
2015-01-25 02:29:43 +01:00
Matthias Schiffer
28d47bd778
gluon-mesh-batman-adv-core: explicitly set WLAN client and mesh interfaces' ifname
2015-01-24 23:34:35 +01:00
Matthias Schiffer
0462a92218
gluon-mesh-batman-adv-core: remove unused variable in upgrade script
2015-01-24 23:11:27 +01:00
Matthias Schiffer
eca1bac23f
gluon-mesh-batman-adv-*: move MTU configuration to version-specific upgrade scripts
2015-01-24 17:18:47 +01:00
NeoRaider
89e14fccac
Merge pull request #94 from freifunk-gluon/simple_upgrade
...
Simplified upgrade process
2015-01-24 15:27:17 +01:00
Nils Schneider
04bc4bbd55
announce neighbours using alfred/gluon-announce
...
This adds a new announce.d datum "neighbours" (alfred 160) containing
information about mesh neighbours. It's intended to be an replacement
for batadv-vis.
In addition to the data already provided by batadv-vis it'll also
provide information about direct wifi neighbours.
Unlike batadv-vis, no data about clients is transmitted.
Sample data:
{
"wifi": {
"90:f6:52:82:06:02": {
"neighbours": {
"f8:d1:11:2c:a7:d2": {
"noise": -95,
"inactive": 0,
"signal": 0
},
"96:f6:52:ff:cd:6f": {
"noise": -95,
"inactive": 0,
"signal": -37
}
}
}
},
"batadv": {
"90:f6:52:82:06:02": {
"neighbours": {
"96:f6:52:ff:cd:6f": {
"lastseen": 2.8500000000000001,
"tq": 177
}
}
},
"90:f6:52:82:06:03": {
"neighbours": {
"f8:d1:11:2c:a7:d3": {
"lastseen": 2.3500000000000001,
"tq": 206
}
}
}
},
"node_id": "90f652820602"
}
2015-01-24 12:12:53 +01:00
Matthias Schiffer
3d027847c6
Move all upgrade scripts to a common directory
...
Moving the scripts to a common directory not only vastly simplifies the
zzz-gluon-upgrade script, but also allows to define an ordering of such
scripts across packages.
2015-01-24 11:27:47 +01:00
Matthias Schiffer
32288a824a
gluon-legacy: convert the remaining legacy infrastructure to a simple invariant script
2015-01-24 11:14:09 +01:00
Matthias Schiffer
fead49df47
gluon-legacy: convert the remaining legacy scripts to invariant scripts
2015-01-24 11:14:09 +01:00
Matthias Schiffer
1679e49c2c
gluon-legacy: convert gluon-core legacy scripts to invariant scripts
...
This also fixes a long-broken legacy upgrade script which would leave the
sysconfig variable lan_ifname unset and the LAN ports unusable.
2015-01-24 11:14:09 +01:00
Matthias Schiffer
f2359c88fe
gluon-mesh-vpn-fastd: get rid of initial script
2015-01-24 11:14:09 +01:00
Matthias Schiffer
2792d1fdd1
gluon-lock-password: convert to invariant script and remove legacy script
2015-01-24 11:14:09 +01:00
Matthias Schiffer
8c4d363198
gluon-core: convert all initial scripts to invariant scripts
2015-01-24 11:14:09 +01:00
NeoRaider
d952e124f0
Merge pull request #83 from kokel/node-role
...
add section "system" to gluon-node-info with new option "role" and luci package to change role via config mode
2015-01-24 11:13:42 +01:00
NeoRaider
41acdd3a59
Merge pull request #95 from freifunk-gluon/config-mode-skip
...
gluon-setup-mode: allow skipping on first boot
2015-01-24 11:12:19 +01:00
NeoRaider
f0306cb134
Merge pull request #87 from freifunk-darmstadt/patch-1
...
gluon-announce: rename announce.lua to collect.lua
2015-01-24 11:11:55 +01:00
Kokel
6804d87129
add package gluon-luci-node-role; depends on package "gluon-node-info"; depends on new site.conf section
2015-01-23 12:22:48 +01:00
Kokel
547574d7da
"gluon-node-info": add section system and option role; add announce script to announce the role as nodeinfo;
...
add invariant script "001-node-system" to add section "system" if not exist; add invariant script "010-node-role"
to add section "system" if not exist; add invariant script "010-node-role" to set role to default value
(site.roles.default) if not exist; depends on new site.conf section
2015-01-23 12:22:42 +01:00
Nils Schneider
9cdb40fe46
gluon-setup-mode: allow skipping on first boot
...
By setting setup_mode.skip to true in site.conf the device will skip
setup mode on first boot.
2015-01-23 12:05:26 +01:00
Matthias Schiffer
0da6354ddd
gluon-setup-mode: always finalize the overlay before rebooting
...
When an early reboot is triggered because an upgrade script has disabled the
config mode, we need to explicitly call /etc/init.d/done, otherwise the overlay
will not be finalized after a firstboot and we get an endless reboot loop.
2015-01-22 23:53:56 +01:00
Daniel Golle
addb4ee7a2
mesh-batman-adv-core: allow sites to set VLAN for mesh
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-01-18 08:03:59 +01:00
Nils Schneider
93e48e0a9c
Merge pull request #86 from freifunk-darmstadt/rename-devlist
...
gluon-announced: rename DEVLIST file to gluon-announced.devs
2015-01-15 04:58:33 +01:00
flokli
10c42490fb
gluon-announce: rename announce.lua to collect.lua
...
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-14 10:36:32 +01:00
flokli
1900730d5c
gluon-announced: rename DEVLIST file to gluon-announced.devs
...
was gluon-announce.devs before
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-14 10:31:29 +01:00
Nils Schneider
95816e7deb
Merge pull request #84 from freifunk-darmstadt/gluon-announced-deps
...
gluon-announced: add dependency to gluon-announce
2015-01-14 07:12:18 +01:00
flokli
85c26e4da2
gluon-announced: add dependency to gluon-announce
...
the gluon-announced package installs a hotplug script
that uses announce.lua from the gluon-announce package.
So we need to include gluon-announce as dependency.
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-14 06:20:28 +01:00
Matthias Schiffer
46cd96a82c
batman-adv-legacy: update to latest version
...
Another MacOS X fix.
2015-01-11 05:08:08 +01:00
Matthias Schiffer
81665b6930
batman-adv-legacy: fix patch name regexes
...
While for some reason Linux accepted the broken regexes, we weren't so lucky on
MacOS X, so the patches weren't applied there.
2015-01-11 04:23:40 +01:00
Matthias Schiffer
7b81b4a457
batman-adv-legacy: update
...
Fixes TT memory leak.
2015-01-07 20:26:35 +01:00
Nils Schneider
a1d8c7ea0f
Merge branch 'for-2015.x'
2014-12-31 18:17:45 +01:00
Matthias Schiffer
9330e21bf0
batman-adv-legacy: update to latest version
...
This adds two patches: one potential invalid RCU read, and one originator entry
creation race condition.
2014-12-15 01:36:11 +01:00
Matthias Schiffer
9f0fc73deb
gluon-core, gluon-setup-mode: fix LAN and WAN on nanostation-m-xw
2014-11-26 23:30:56 +01:00