Commit Graph

3581 Commits

Author SHA1 Message Date
Philip Berndroth
e496c17cc8 Delete builds.rst
This chapter is no longer needed (duplicate content).
The content is alrady in http://gluon.readthedocs.org/en/latest/user/getting_started.html#getting-started .
2014-08-30 20:00:43 +02:00
Matthias Schiffer
db9376ed4a Update batman-adv (15) to v2014.3 2014-08-30 19:57:59 +02:00
Philip Berndroth
4947eaff98 Update getting_started.rst
add information about the environment variables.
2014-08-30 19:55:17 +02:00
Matthias Schiffer
62268d4ab0 Update OpenWrt and packages
This significantly improves fastd performance, to the level it was before
Barrier Breaker.
2014-08-30 19:49:13 +02:00
Matthias Schiffer
31a3bfc18f Update gluon packages 2014-08-30 19:41:19 +02:00
Jan-Philipp Litza
ae43f3dc3e 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
Matthias Schiffer
d3aecbfc6c Add support for the TL-WR710N v1 (untested) 2014-08-28 21:12:43 +02:00
Nils Schneider
fe57f93bc7 gluon-neighbour-info: query direct neighbours
This is a simple client for gluon-announced.
2014-08-28 18:48:57 +02:00
Nils Schneider
e2ff6a6ed3 gluon-luci-admin: restructure firmware upgrades 2014-08-28 16:36:04 +02:00
NeoRaider
9d11f4bda1 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
afce06c3d3 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
80b0abb941 Update gluon packages 2014-08-25 21:57:55 +02:00
Nils Schneider
a90920e373 gluon-announced: avoid spawning zombies 2014-08-25 21:53:21 +02:00
Nils Schneider
40321595a9 Merge pull request #62 from freifunk-gluon/clientcount
mesh-batman-adv-core: add clientcount statistics
2014-08-22 14:40:09 +02:00
Matthias Schiffer
80fd91d2b1 Re-introduce 'no_rebroadcast' option for batman-adv compat 15 2014-08-22 13:54:10 +02:00
Matthias Schiffer
0efe5e81fd Update OpenWrt patch 2014-08-22 13:53:48 +02:00
Matthias Schiffer
33a1f2c78e Add support for TP-Link TL-MR3040 v2 2014-08-19 21:15:54 +02:00
Matthias Schiffer
35bb4963df Update kernel configs to 14.07-rc3 2014-08-18 20:26:35 +02:00
Matthias Schiffer
5a2065514f Update upstream repositories 2014-08-18 20:11:12 +02:00
ohrensessel
fea00b3603 calculate rootfs usage instead of overlayfs
in case a target does not use overlayfs
2014-08-18 14:07:23 +02:00
Nils Schneider
4be3b3c750 Merge pull request #171 from eriu/patch-1
fix typo
2014-08-18 13:13:25 +02:00
ohrensessel
4d747c09c4 adapt overlay_usage to match the comments from luebeck 2014-08-18 13:08:54 +02:00
eriu
9baa9ec4d0 fix typo
the command autoupdate not work, so a fix smal fix necessary
2014-08-18 12:47:47 +02:00
ohrensessel
42c43ba2af overlay: rename to clarify value 2014-08-18 12:12:00 +02:00
ohrensessel
0e95c90e21 overlay: change to normalized, fix error handling 2014-08-18 12:10:54 +02:00
ohrensessel
4e76436932 add overlay usage to statistics.d 2014-08-18 11:40:13 +02:00
Matthias Schiffer
54f577e931 Add experimental support for the Ubiquiti UniFi AP Pro 2014-08-17 19:55:45 +02:00
Matthias Schiffer
fe2fc8785e Remove gluon-ath9k-workaround 2014-08-17 19:34:03 +02:00
Matthias Schiffer
70e72db074 Add experimental support for the TP-Link Archer C7 v2 2014-08-16 18:31:55 +02:00
Matthias Schiffer
c504c5e118 ar71xx: correctly detect hardware revision on TP-Link Archer C5 and C7 2014-08-16 17:59:32 +02:00
Matthias Schiffer
956de71122 Update gluon packages 2014-08-16 15:18:52 +02:00
Matthias Schiffer
f9e5e3325f 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
f3ff07b1a5 gluon-mesh-vpn-fastd: delete all old backbone peers on update 2014-08-16 14:51:18 +02:00
Nils Schneider
3fa2f2bf8a Update gluon packages 2014-08-15 15:40:03 +02:00
penguineer
31fe529e92 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
3a6f223a5e README: urge users to use a release 2014-08-15 08:44:43 +02:00
Matthias Schiffer
6d1fa648e7 Add support for TL-WA801N/ND v2 (tested) 2014-08-14 19:02:49 +02:00
Matthias Schiffer
d4b0ca5434 TL-WR703N: Remove BROKEN flag 2014-08-14 18:55:26 +02:00
Nils Schneider
e6dee34ff2 Update gluon packages 2014-08-13 13:53:51 +02:00
Nils Schneider
3652628e96 luci-portconfig: fix dns 2014-08-10 17:13:39 +02:00
Nils Schneider
a1d27aefbb 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
d90b1d66fd Merge pull request #61 from freifunk-gluon/configurable-wan
Configurable WAN
2014-08-09 23:31:19 +02:00
Nils Schneider
5145eab954 Merge pull request #59 from freifunk-gluon/form-fields
luci-theme: fix centering of form fields
2014-08-09 20:56:48 +02:00
Nils Schneider
9961ff43dd Merge pull request #158 from freifunk-gluon/form-label
luci: add label to fvalue
2014-08-09 20:56:41 +02:00
Matthias Schiffer
62d910edde gluon-luci-portconfig: expose advanced WAN configuration 2014-08-09 17:36:15 +02:00
Matthias Schiffer
3762f52c69 gluon-core: restructure WAN configuration 2014-08-09 14:39:21 +02:00
Matthias Schiffer
d8f0c531c9 gluon-wan-dnsmasq: allow configuring static DNS servers 2014-08-09 14:39:05 +02:00
Nils Schneider
793e422c10 luci: add label to fvalue 2014-08-09 09:59:38 +02:00
Nils Schneider
25e0c6e07b luci-theme: fix checkboxes on firefox 2014-08-09 09:35:39 +02:00
Nils Schneider
488ed1bdd7 Merge pull request #58 from jplitza/patch-1
gluon-announced: fix help message
2014-08-08 21:44:11 +02:00