1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-13 18:53:56 +02:00
Commit Graph

660 Commits

Author SHA1 Message Date
Nils Schneider
b42c6a65fe Merge pull request #75 from freifunk-gluon/node_id
gluon-core: add node_id() to gluon.util
2014-09-11 12:52:45 +02:00
Nils Schneider
52e704ee86 gluon-core: add node_id() to gluon.util 2014-09-11 12:27:29 +02:00
Matthias Schiffer
2a1c9f11b4 lua-platform-info: add x86 support 2014-09-09 17:30:45 +02:00
Matthias Schiffer
c1068fef42 autoupdater: exit when the image name is not defined for a hardware model 2014-09-09 16:07:35 +02:00
Nils Schneider
f36a58e77d Merge pull request #73 from freifunk-gluon/igmp-snoop-disable
mesh-batman-adv-core: disable igmp_snooping on br-client
2014-09-09 14:06:35 +02:00
Nils Schneider
1fafaeb558 mesh-batman-adv-core: disable igmp_snooping on br-client
IGMP snooping causes serious trouble with IPv6 neighbour discovery.
2014-09-09 11:29:51 +02:00
Nils Schneider
862a480506 gluon-neighbour-info: global timeout 2014-09-06 15:40:03 +02:00
Nils Schneider
396ff9ce49 gluon-neighbour-info: newlines between responses 2014-09-06 14:10:43 +02:00
Nils Schneider
da924e5a61 gluon-neighbour-info: cleanup, use recv instead of recvfrom 2014-09-06 14:02:19 +02:00
Nils Schneider
aa9d6b662d Merge pull request #72 from freifunk-gluon/fastd-site-enable
mesh-vpn-fastd: enable from site.conf
2014-09-06 13:38:43 +02:00
Nils Schneider
34a40708af Merge pull request #70 from jplitza/patch-2
gluon-core: Remove VERSION_DIR hack
2014-09-06 13:33:51 +02:00
Nils Schneider
31976c242d mesh-vpn-fastd: enable from site.conf
This patch allows fastd's enabled flag's default value to be set from
site.conf.
2014-09-03 20:37:17 +02:00
Jan-Philipp Litza
6160f1a966 gluon-core: Remove VERSION_DIR hack
As the (removed) comment said, this was a one-time-hack that was obsoleted long ago.
2014-08-30 15:13:52 +02:00
Nils Schneider
70f19a5596 gluon-neighbour-info: query direct neighbours
This is a simple client for gluon-announced.
2014-08-28 18:48:57 +02:00
Nils Schneider
e4fc1955cc gluon-luci-admin: restructure firmware upgrades 2014-08-28 16:36:04 +02:00
NeoRaider
24d7f1e875 Merge pull request #68 from FreifunkBremen/gluon-cron-fix
gluon-cron: Fix endless loop parsing invalid lines
2014-08-27 10:33:34 +02:00
Jan-Philipp Litza
53e9630da1 gluon-cron: Fix endless loop parsing invalid lines
Using the line
```
* * * * echo "foobar"
```
(notice the missing fifth time field) in a crontab causes gluon-cron
to enter an endless loop while parsing it, thus it won't even execute
the other, valid crontabs.

This is caused by the loop in [line 138] where `begin - min`
substracts the unsigned `min` from the signed `begin`. If now `begin`
is invalid, `strict_atoi` returns -1 and the loop starts at
`(-1)-1=MAX_INT` and runs while `i <= MAX_INT` which is always true.

The real culprit lies in [line 134] where exactly this case
`begin < min` is checked - but because of the signedness, this check doesn't
work as expected either.

The easiest solution is to make `min` a signed integer instead of an unsigned
one, as we do not require it to be very large and only pass the constants 0 or
1 to it.

To avoid other similar problems, this patch makes the input variable `n` a
signed integer as well.
2014-08-27 10:20:04 +02:00
Nils Schneider
8a71c02ce6 gluon-announced: avoid spawning zombies 2014-08-25 21:53:21 +02:00
Nils Schneider
955cc686db Merge pull request #62 from freifunk-gluon/clientcount
mesh-batman-adv-core: add clientcount statistics
2014-08-22 14:40:09 +02:00
Nils Schneider
817aff13c4 Merge pull request #65 from ohrensessel/overlayusage
add overlay usage to statistics.d
2014-08-18 14:12:30 +02:00
ohrensessel
5821b5b998 calculate rootfs usage instead of overlayfs
in case a target does not use overlayfs
2014-08-18 14:07:23 +02:00
ohrensessel
9bb443c6a6 adapt overlay_usage to match the comments from luebeck 2014-08-18 13:08:54 +02:00
ohrensessel
ed50873b27 overlay: rename to clarify value 2014-08-18 12:12:00 +02:00
ohrensessel
155e261099 overlay: change to normalized, fix error handling 2014-08-18 12:10:54 +02:00
ohrensessel
c64fbd8140 add overlay usage to statistics.d 2014-08-18 11:40:13 +02:00
Matthias Schiffer
6421f01502 Remove gluon-ath9k-workaround 2014-08-17 19:34:03 +02:00
Matthias Schiffer
e7dfba0d03 gluon-setup-mode: cleanup and upgrade fix
Since switching to Barrier Breaker/procd, we'd not notice if we were
upgrading from a version before renaming the config file to gluon-setup-mode
as the upgrade scripts run after the preinit.

Fix this by checking later during setup mode init again and rebooting into the
regular run mode if we detect this case.
2014-08-16 15:15:24 +02:00
Matthias Schiffer
f2eacad78b gluon-mesh-vpn-fastd: delete all old backbone peers on update 2014-08-16 14:51:18 +02:00
penguineer
6467e74224
Beschreibungstext umformuliert, damit die Option "Mesh-VPN" klarer wird.
Die Bezeichnung "Mesh-VPN" ist etwas irreführend. Man kann denken, dass hiermit das Meshing aktiviert wird, wobei es ja — im Gegenteil — um eine Nutzung des WAN geht.
2014-08-15 15:28:05 +02:00
Nils Schneider
28e332ae11 luci-portconfig: fix dns 2014-08-10 17:13:39 +02:00
Nils Schneider
cb66d542db mesh-batman-adv-core: add clientcount statistics
This adds

  "client" { "total": <int>, "wifi": <int>" }

to statistics.d. "total" will be the number of clients connected.
"wifi" will be the number of clients connected over wifi. I.e. "total"
will always be equal to or greater than "wifi".

The node will not count itself.
2014-08-10 13:24:08 +02:00
Nils Schneider
9e1d5bb4f3 Merge pull request #61 from freifunk-gluon/configurable-wan
Configurable WAN
2014-08-09 23:31:19 +02:00
Nils Schneider
a7360b0420 Merge pull request #59 from freifunk-gluon/form-fields
luci-theme: fix centering of form fields
2014-08-09 20:56:48 +02:00
Matthias Schiffer
78a15063ff gluon-luci-portconfig: expose advanced WAN configuration 2014-08-09 17:36:15 +02:00
Matthias Schiffer
e210f372ab gluon-core: restructure WAN configuration 2014-08-09 14:39:21 +02:00
Matthias Schiffer
1b77ea6694 gluon-wan-dnsmasq: allow configuring static DNS servers 2014-08-09 14:39:05 +02:00
Nils Schneider
f9f3243e4f luci-theme: fix checkboxes on firefox 2014-08-09 09:35:39 +02:00
Nils Schneider
2744293307 Merge pull request #58 from jplitza/patch-1
gluon-announced: fix help message
2014-08-08 21:44:11 +02:00
Matthias Schiffer
5afa7ae59d lua-platform-info: add support for the mpc85xx-generic target 2014-08-08 17:49:50 +02:00
Matthias Schiffer
3c237e2721 lua-platform-info: simplify ar71xx-generic file 2014-08-08 17:46:14 +02:00
Matthias Schiffer
33ae97125c Add gluon-mesh-batman-adv-15 2014-08-08 15:56:36 +02:00
Matthias Schiffer
29c0d89e4c Split gluon-mesh-batman-adv into gluon-mesh-batman-adv-core and gluon-mesh-batman-adv-14 2014-08-08 15:50:52 +02:00
Nils Schneider
8cd3a53d73 luci-theme: fix centering of form fields 2014-08-08 14:53:27 +02:00
Jan-Philipp Litza
d99a1c607d gluon-announced: fix help message
It incorrectly stated "-m" to be the multicast group option, when it really was "-g"
2014-08-08 14:50:00 +02:00
Nils Schneider
ed53d89c5e Revert "gluon-luci-theme: remove top padding cbi-field-title"
This reverts commit f37f1f1ac2.
2014-08-08 14:34:19 +02:00
Matthias Schiffer
2d49f57704 gluon-setup-mode: provide alternative rc.d directory for procd 2014-08-07 15:52:38 +02:00
Nils Schneider
21b459b556 Merge pull request #57 from digineo/private-wifi
gluon-luci-private-wifi: fix package naming
2014-08-07 12:43:16 +02:00
Julian Kornberger
99539da947 gluon-luci-private-wifi: fix package naming
previously it was gluon-luci-privatewifi
2014-08-06 23:21:33 +02:00
Matthias Schiffer
1eff492575 Remove gluon-luci-core
The package luci-base now contains everything we need.
2014-08-06 12:07:34 +02:00
Matthias Schiffer
02bc9f4e66 Dependency fixes for the new LuCi version 2014-08-06 12:06:49 +02:00