Matthias Schiffer
0880159eb5
gluon-status-page: fix handling of interface names containing dots
2016-01-08 14:54:30 +01:00
Delta / Stefan
bbdc334b43
gluon-status-page: add TB to list of units for transfer volumes
...
Fixes #614
2016-01-07 18:09:30 +01:00
Matthias Schiffer
f23e024787
Convert site.conf to JSON during build
...
This will allow us to use its content from other languages than Lua as
well.
2016-01-02 23:49:25 +01:00
Matthias Schiffer
8ffdcaaa1b
gluon-mesh-batman-adv-core: announce/neighbours.d: use batman-adv-visdata
2015-12-18 17:46:24 +01:00
Matthias Schiffer
939087cec9
gluon-status-page-api: neighbours-batadv: use batman-adv-visdata, increase interval
2015-12-18 17:46:24 +01:00
Matthias Schiffer
90a64ca87f
gluon-status-page-api: use sse-multiplex
2015-12-18 17:46:24 +01:00
Matthias Schiffer
fa504dae8d
gluon-neighbour-info: simplify and fix timeout calculation
...
The timeout was calculated incorrectly (in each iteration the span between
the start time and the current time was substracted from the timeout
again), and would often become negative, causing warnings in the kernel
log.
2015-12-18 17:46:24 +01:00
Matthias Schiffer
a3155c427a
gluon-neighbour-info: fix a few compiler warnings
2015-12-18 17:46:24 +01:00
Matthias Schiffer
d3bc707caa
gluon-neighbour-info: flush after writing the HTTP header
...
sse-multiplex likes to get the header as fast as possible.
2015-12-18 17:46:24 +01:00
Matthias Schiffer
c3150d821f
gluon-announce{,d}: create a new UCI cursor for each run
2015-12-18 17:46:24 +01:00
Matthias Schiffer
077dbe3c08
gluon-status-page-api: decrease dyn/statistics event frequency
...
The statistics data is now cached for 5s, no need to send an event every
second. The new interval is 3s, which is coprime with the cache timeout.
2015-12-18 17:45:45 +01:00
Matthias Schiffer
48d24c2674
gluon-announce: enable caching
2015-12-18 17:43:16 +01:00
Matthias Schiffer
eba7ecbbc0
gluon-announced: add support for caching announced data
2015-12-18 17:43:12 +01:00
Matthias Schiffer
5927fd66db
gluon-status-page: filter out duplicate events in statistics event stream
...
Allows simple handling of cached events.
2015-12-18 17:37:48 +01:00
Matthias Schiffer
5ecb8a7366
gluon-mesh-vpn-fastd: gluon-annouced: fix fastd status always being reported as enabled
2015-12-08 22:47:32 +01:00
Nils Schneider
0bb530d1c6
gluon-status-page: fix display of rx and tx traffic
...
On the status page statistics section counters for transmitted and received traffic were mixed up. Transmitted traffic was shown as received while received traffic was shown as being transmitted.
Fixes #586
2015-12-07 13:44:17 +01:00
Matthias Schiffer
9c7582afe0
gluon-luci-private-wifi: fix typo in code file and regenerate translation files (correctly this time)
2015-11-27 14:33:56 +01:00
Matthias Schiffer
7f0fe061dc
gluon-luci-private-wifi: fix translation files
2015-11-27 09:49:12 +01:00
Matthias Schiffer
d428576ec5
Merge pull request #552 from freifunk-gluon/disable-mesh
...
gluon-mesh-batman-adv-core: keep disabled state even when the mesh interface section name is changed
2015-11-23 00:42:39 +01:00
Matthias Schiffer
81b2142e65
Merge branch 'patch-1' of https://github.com/ohrensessel/gluon
2015-11-22 23:28:39 +01:00
Matthias Schiffer
0335ce10e2
gluon-mesh-batman-adv-core: keep disabled state even when the mesh interface section name is changed
...
Is makes sense to always look for both ibss_radio* and mesh_radio* sections
to determine if the meshing should be enabled when regenerating these
sections. Doing this, the disabled state will survive updates changing the
section name (either updating from pre-2015.2 while keeping IBSS, or
changing from IBSS to 11s or vice-versa).
If both ibss_radio* and mesh_radio* sections exist, the disabled state will
be kept correctly for each section, the behaviour is changed only when
creating a section that didn't exist before.
Fixes #549
2015-11-18 03:01:18 +01:00
Matthias Schiffer
e528977100
gluon-site: set PKG_FILE_DEPENDS to site.conf and i18n/ only
...
PKG_FILE_DEPENDS caused the whole site repo to be hashed to determine if
gluon-site needed rebuilding. While this is normally no problem,
alternative build setups sometimes put the Gluon repo inside the site repo,
causing long build times and parallel build failures.
2015-11-18 02:39:05 +01:00
Leo Krueger
bc15b6c810
gluon-ebtables-filter-multicast: drop icmpv6 type 128 & 139, drop icmp
...
in a layer 2 mesh network, multicast pings cause a lot of traffic in the
network, significantly increasing the 'backgroudn noise' (= Grundrauschen)
and stressing nodes in the network.
this commit blacklists all icmpv4 multicast traffic as well as multicast
icmpv6 echo-requests and node iformation queries. as no application
depending on these types of multicast traffic is known, blacklisting is safe.
2015-11-12 21:16:37 +01:00
Matthias Schiffer
412e1ef147
gluon-core: fix removal of "OpenWrt" default WLAN interface
...
Fixes #534
2015-10-28 17:06:29 +01:00
Matthias Schiffer
3ddcf50b80
Drop htmode field from config, always use HT20
...
Fixes #487
2015-10-27 01:57:10 +01:00
Matthias Schiffer
3647cf1d18
Remove leftover file from gluon-radio-config
2015-10-27 01:57:10 +01:00
Matthias Schiffer
9b46a05de7
Merge pull request #450 from freifunk-gluon/status-page
...
gluon-status-page: new status page
2015-10-26 22:55:00 +01:00
Matthias Schiffer
557a073dc7
gluon-mesh-batman-adv-core/gluon-luci-portconfig: fix configuration of br-client ifname with multiple interfaces in lan_ifname
...
There are a few devices on which lan_ifname contains multiple interface
names separated by spaces.
2015-10-26 22:29:44 +01:00
Nils Schneider
84b6374970
gluon-client-bridge: basic br-client config and wireless AP
...
This package provides br-client and sets up a wireless AP interface for
clients.
2015-10-26 21:14:32 +01:00
Matthias Schiffer
22130e84e8
Merge gluon-radio-config into gluon-core
...
gluon-radio-config contained only a single file. The code has been adjusted
to allow creating a Gluon configuration without WLAN support by removing
the wifi24 and wifi5 sections from site.conf.
2015-10-26 20:59:56 +01:00
Matthias Schiffer
53211b5b46
Replace gluon-cron by micrond
2015-10-15 23:52:30 +02:00
Matthias Schiffer
d0a78ea8ba
Merge branch 'opkg'
2015-10-15 22:28:41 +02:00
Matthias Schiffer
45d1d04ae3
Merge branch 'simple-tc'
2015-10-15 22:28:32 +02:00
Matthias Schiffer
2fefdeee63
gluon-mesh-batman-adv-core: neighbours.d/wifi: output empty object instead of empty list when there are no neighbours on an interface
2015-10-15 02:42:28 +02:00
Matthias Schiffer
26682b24b3
Replace gluon-simple-tc by non-Gluon-specific simple-tc
...
The Gluon-specific functions of the gluon-simple-tc package are moved to
gluon-mesh-vpn-fastd.
2015-10-15 02:38:47 +02:00
Jan-Philipp Litza
daa15290ab
gluon-announce: Remove now unused collect.lua
...
The file promotes the probably unnecessary re-execution of the announce
scripts. Instead, gluon-announced should be queried using
gluon-neighbour-info -d ::1 -p 1001 -t0 -r nodeinfo
if both gluon-announced and gluon-neighbour-info are present. But to not
depend on any of those, no script for this one-liner is provided.
2015-10-15 01:49:20 +02:00
Jan-Philipp Litza
bae6519279
gluon-alfred/gluon-status-page: Query gluon-announced
...
By not executing all scripts from gluon.announce themselves, both should
be considerably faster and lighter on RAM usage.
2015-10-15 01:49:20 +02:00
Jan-Philipp Litza
d2ff7d5c22
gluon-neighbour-info: Add -l and -c parameter, make event type for -s configurable
2015-10-15 01:49:20 +02:00
Matthias Schiffer
3725f7bca3
Merge remote-tracking branch 'origin/announce.d'
2015-10-15 01:31:05 +02:00
Matthias Schiffer
d5c334af6d
gluon-core: replace opkg site configuration to make it more flexible
...
The new options allow specifying custom repositories and are evaluated
in an upgrade script, not during build.
2015-10-14 02:57:29 +02:00
Matthias Schiffer
b46d4fd537
gluon-mesh-batman-adv-core: make gateway selection class configurable
...
Fixes #401
2015-10-12 21:49:02 +02:00
Nils Schneider
9dffb1284f
gluon-announce(d): preload functions, collectgarbage
...
By calling collectgarbage() at various places I was able to reduce heap
usage by ~270kb.
2015-10-12 20:54:03 +02:00
Nils Schneider
435ded0c60
gluon-announce: build a tree of functions first
...
collect_dir() will now pre-load all files and return a function that will
collect all information.
2015-10-12 20:54:03 +02:00
Matthias Schiffer
a22c808634
Merge pull request #466 from kb-light/11s-mesh-dev
...
gluon-mesh-batman-adv-core: prepare for 802.11s mesh
2015-10-11 23:01:08 +02:00
Matthias Schiffer
12f9df7e86
gluon-config-mode-core: don't throw error when no config mode modules are installed
...
The expert mode can still be useful without any cohfig mode modules.
2015-10-11 21:19:28 +02:00
Matthias Schiffer
05f146f817
Validate section names from site.conf in various packages
2015-10-11 19:34:14 +02:00
Ruben Barkow
06a2b2b1d1
gluon-luci-private-wifi: typo seperaten
2015-10-09 11:59:12 +02:00
Matthias Schiffer
98542b015d
i18n: s/noeud/nœud/
2015-10-08 22:16:25 +02:00
kb-light
955dc886a8
gluon-mesh-batman-adv-core: prepare for 802.11s mesh
...
keep macfilter and maclist config after fw-update
2015-09-22 10:48:09 +02:00
srauscher
16888d214d
Add french translation
2015-09-17 07:28:09 +02:00