Commit Graph

2320 Commits

Author SHA1 Message Date
Nils Schneider
68da72b98c Merge pull request #195 from permanentmedia/patch-1
Update site.rst
2014-10-04 00:31:16 +02:00
permanentmedia
371e9e6abb Update site.rst
Added Braunschweig to site-repos in the wild
2014-10-03 23:29:51 +02:00
Matthias Schiffer
17cefcdae1 Update gluon packages 2014-10-03 00:49:24 +02:00
Matthias Schiffer
7496b3d3c1 gluon-luci-admin: fix SSH keys being removed when a password is set 2014-10-03 00:47:48 +02:00
Matthias Schiffer
68a2599f6e Update upstream repos 2014-10-03 00:13:04 +02:00
Nils Schneider
74ae415b0f Merge pull request #192 from poldy79/patch-1
Just corrected a typo
2014-09-24 23:27:54 +02:00
poldy79
d61c063f7d Just corrected a typo 2014-09-24 23:08:04 +02:00
Matthias Schiffer
f9cc73187f gluon-mesh-vpn-fastd: use delete_all instead of foreach to delete the old peers 2014-09-15 21:50:43 +02:00
Matthias Schiffer
0d3a429a51 Update Gluon packages 2014-09-15 20:08:24 +02:00
Matthias Schiffer
1803525745 Configure unique MAC addresses for all WLAN interfaces 2014-09-15 19:55:09 +02:00
Matthias Schiffer
b51e1063b7 Add utility function to generate unique MAC addresses derived from the primary MAC 2014-09-15 19:55:09 +02:00
Matthias Schiffer
b977f00162 Fix mesh-batman-adv-core legacy script path 2014-09-15 19:55:09 +02:00
Matthias Schiffer
2dfe68d50a Remove obsolete legacy upgrade script 2014-09-15 19:55:09 +02:00
Nils Schneider
c06141cff3 gluon-node-info: remove fixup-owner script 2014-09-15 19:54:30 +02:00
Nils Schneider
0de7bf5f64 gluon-core: port initial/020-wireless to lua 2014-09-15 19:50:10 +02:00
Nils Schneider
3b0e596e08 docs: authorized-keys 2014-09-15 19:29:21 +02:00
Nils Schneider
53e56b0853 Merge pull request #74 from freifunk-gluon/authorized-keys
gluon-authorized-keys: add keys from site.conf
2014-09-15 19:20:01 +02:00
Nils Schneider
a753fa79e3 gluon-authorized-keys: add keys from site.conf
This package will run as invariant script after each upgrade and copy
all keys from site.conf's authorized_keys entry to
/etc/dropbear/authorized_keys.

Existing keys will be preserved.

The site.conf entry 'authorized_keys' is required (if this package is
selected) and must contain a list of strings, each representing a line
of the resulting file.
2014-09-15 19:19:21 +02:00
Nils Schneider
f21678dc0d Merge pull request #69 from freifunk-gluon/gluon-neighbour-info
gluon-neighbour-info: query direct neighbours
2014-09-15 18:52:25 +02:00
Matthias Schiffer
a0fb847d55 Update OpenWrt and packages 2014-09-15 16:42:01 +02:00
Matthias Schiffer
bb7e6a69bd Update Gluon modules 2014-09-15 16:40:14 +02:00
Nils Schneider
5fa97f8fdb gluon-core: add node_id() to gluon.util 2014-09-11 12:27:29 +02:00
Matthias Schiffer
bb6d0f1179 Update LuCI 2014-09-09 19:49:44 +02:00
Matthias Schiffer
ebec39f468 docs: add documentation about addings new hardware support 2014-09-09 17:08:46 +02:00
Matthias Schiffer
c388946e82 Update upstream repos 2014-09-09 15:35:32 +02:00
Matthias Schiffer
674f47ffd2 Update Gluon packages 2014-09-09 15:33:32 +02:00
Nils Schneider
e8c52e0758 Merge pull request #181 from pberndro/patch-2
Delete builds.rst
2014-09-09 13:44:26 +02:00
Nils Schneider
8c09f9a53c Merge branch 'pberndro-patch-2' 2014-09-09 13:43:37 +02:00
Philip Berndroth
6543833f06 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-09-09 13:43:16 +02:00
Nils Schneider
a5c44a2a5e Merge pull request #180 from pberndro/patch-1
Update getting_started.rst
2014-09-09 13:42:00 +02:00
Nils Schneider
d87cf05c95 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
abcc86bf8f gluon-neighbour-info: global timeout 2014-09-06 15:40:03 +02:00
Nils Schneider
0222f342af gluon-neighbour-info: newlines between responses 2014-09-06 14:10:43 +02:00
Nils Schneider
b969f3e644 gluon-neighbour-info: cleanup, use recv instead of recvfrom 2014-09-06 14:02:19 +02:00
Nils Schneider
29464a4ba1 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
4e19df098a 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
Matthias Schiffer
83f62c159e TL-WR710N v1: remove BROKEN 2014-09-01 18:45:04 +02:00
Matthias Schiffer
2d9a25a06c Fix build by disabling per-feed repos again
Updating OpenWrt accidentally enabled this option.
2014-09-01 17:43:39 +02:00
Matthias Schiffer
b739881fe4 Update OpenWrt 2014-09-01 15:54:43 +02:00
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