Commit Graph

1478 Commits

Author SHA1 Message Date
Nils Schneider
2e0e24a992 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
NeoRaider
55578b8375 Merge pull request #283 from freifunk-gluon/setup-skip
docs: skipping of setup mode
2015-01-24 11:28:35 +01:00
Matthias Schiffer
9b172bbaf4 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
20187005d4 gluon-legacy: convert the remaining legacy infrastructure to a simple invariant script 2015-01-24 11:14:09 +01:00
Matthias Schiffer
0371b443d3 gluon-legacy: convert the remaining legacy scripts to invariant scripts 2015-01-24 11:14:09 +01:00
Matthias Schiffer
5e0bad2f25 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
ecfcb4dd6b gluon-mesh-vpn-fastd: get rid of initial script 2015-01-24 11:14:09 +01:00
Matthias Schiffer
7940bad4a9 gluon-lock-password: convert to invariant script and remove legacy script 2015-01-24 11:14:09 +01:00
Matthias Schiffer
6f11279438 gluon-core: convert all initial scripts to invariant scripts 2015-01-24 11:14:09 +01:00
NeoRaider
71c498edd2 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
12304fcb4c 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
4947578d48 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
Nils Schneider
9807d2da7a docs: skipping of setup mode
This PR documents functionality added by
https://github.com/freifunk-gluon/packages/pull/95
2015-01-24 10:18:30 +01:00
Kokel
a80400bb41 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
ba81359c60 "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
629409364b 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
4c8866ffb7 Documentation and helper script for the new upgrade script handling 2015-01-23 03:29:37 +01:00
Matthias Schiffer
8e33dd5075 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
Matthias Schiffer
be19251c42 Remove BROKEN from Ubiquiti Nanostation (Loco) XW 2015-01-22 22:35:49 +01:00
Matthias Schiffer
cfac6fa6e3 Add Archer C5 model (BROKEN because of ath10k) 2015-01-22 22:23:07 +01:00
Matthias Schiffer
415377cc27 doc: remove part about git identity in the "getting started" guide 2015-01-21 17:40:17 +01:00
Matthias Schiffer
1c6e52c9b6 Allow running make update without git identity configuration 2015-01-21 17:37:41 +01:00
Matthias Schiffer
e144c7fae1 Add support for TL-WA830RE v2 (untested) 2015-01-21 11:23:12 +01:00
Matthias Schiffer
27655d216c Update OpenWrt base 2015-01-21 00:10:09 +01:00
Daniel Golle
44011457c9 docs: add docs and example for mesh_vlan site parameter
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-01-18 08:24:56 +01:00
Daniel Golle
3de151c286 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
Matthias Schiffer
8e41ff616a Add support for TP-LINK TL-WA860RE 2015-01-16 20:07:58 +01:00
Matthias Schiffer
90fa002dd7 docs: fix autoupdater URLs in example 2015-01-16 17:25:17 +01:00
Florian Klink
cba844cb5a docs/site-example: cleanup
- generalize, to make it more clear that the site config
   needs to be adapted to the local community.
 - remove some host names and public keys used in Lübeck
 - suggest private space mac adresses
 - change fastd method to salsa2012+umac, which is the recommended default
 - add config for a fastd peer reachable by both ipv4 and ipv6
 - order GLUON_SITE_PACKAGES alphabetically
2015-01-16 15:46:48 +01:00
Matthias Schiffer
fbc1eb12b0 build: explicitly unexport CONFIG_SITE 2015-01-16 04:36:27 +01:00
flokli
63ff54e4bc 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
fc62de55e3 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
Florian Klink
b47609d9dc docs/features/announce.rst: fix typo 2015-01-14 08:37:58 +01:00
flokli
0df0eaeaac 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
NeoRaider
0b7f533be4 Merge pull request #265 from flokli/master
Add support for Netgear WNDR3700/3800
2015-01-13 22:08:17 +01:00
Matthias Schiffer
b67f094138 Fix site modules 2015-01-13 21:56:54 +01:00
alexander eickhoff
a6f67f2d81 Add support for WNDR3700v1
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-12 17:24:51 +01:00
Martin Weinelt
348a819711 Add support for Netgear WNDR3700/3800
Signed-off-by: flokli <florian@darmstadt.freifunk.net>
2015-01-12 17:24:51 +01:00
Nils Schneider
bb950cb69b Merge pull request #268 from adlerweb/patch-1
site.rst -> Add Mayen-Koblenz
2015-01-11 22:04:06 +01:00
Nils Schneider
3bacbc2328 Merge pull request #269 from adlerweb/patch-2
site.rst -> Fix Göttingen
2015-01-11 22:03:30 +01:00
Florian Knodt
5989a9916b site.rst -> Fix Göttingen 2015-01-11 21:55:50 +01:00
Florian Knodt
c7fc0f9d02 site.rst -> Add Mayen-Koblenz 2015-01-11 21:55:11 +01:00
Nils Schneider
56c7cba67f Merge pull request #267 from aeickho/patch-1
+goettingen
2015-01-11 21:14:41 +01:00
Alex
fef1f5ba54 +goettingen 2015-01-11 21:10:32 +01:00
Matthias Schiffer
8cfd64d2db Make module scripts use GLUONDIR and GLUON_SITEDIR
This fixes `make update` not working correctly when GLUON_SITEDIR is set
manually.
2015-01-11 09:48:31 +01:00
Matthias Schiffer
334858f4cf Backport another MacOSX build fix 2015-01-11 09:15:07 +01:00
Matthias Schiffer
99d1bf7774 Update gluon packages 2015-01-11 05:30:47 +01:00
Matthias Schiffer
85d8135136 Update gluon packages 2015-01-11 04:25:25 +01:00
Matthias Schiffer
59a9ea1978 ar71xx: replace "workaround" reboot patch with the real fix (hopefully) 2015-01-09 09:29:25 +01:00
Matthias Schiffer
28f3e182a7 Update fastd package to v16-2 2015-01-08 01:27:43 +01:00