Commit Graph

2032 Commits

Author SHA1 Message Date
Matthias Schiffer
bae721a9bb
Add target ar71xx-mikrotik
Fixes #121

Based-on-patch-by: Tobias Hachmer <tobias@hachmer.de>
2016-06-23 00:29:28 +02:00
Matthias Schiffer
acd5cc903e
build: allow profiles to supply an additional file to be copied to the image directory 2016-06-23 00:24:54 +02:00
Matthias Schiffer
dc485f7356
gluon-core: make gluon.platform.match() match all boards when no boards are given 2016-06-23 00:07:25 +02:00
Matthias Schiffer
4251b4d4f5
Update Gluon packages 2016-06-22 23:11:20 +02:00
Sven Eckelmann
93fe275000 batman-adv: Fix speedy join in gateway client mode
Speedy join only works when the received packet is either broadcast or an
4addr unicast packet. Thus packets converted from broadcast to unicast via
the gateway handling code have to be converted to 4addr packets to allow
the receiving gateway server to add the sender address as temporary entry
to the translation table.

Not doing it will make the batman-adv gateway server drop the DHCP response
in many situations because it doesn't yet have the TT entry for the
destination of the DHCP response.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2016-06-21 12:26:46 +02:00
Sven Eckelmann
fa04fff88d ar71xx-generic: Add support for OpenMesh MR1750v2
The new MR1750v2 device support is only available in LEDE master. The
relevant patches have to backported to add support for them in Gluon

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-06-17 20:04:00 +02:00
Sven Eckelmann
3ccd516971 ar71xx-generic: Add support for OpenMesh OM2P-HSv3
The new OM2P-HSv3 device support is only available in LEDE master. The
relevant patches have to backported to add support for them in Gluon

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-06-17 20:04:00 +02:00
Sven Eckelmann
f640573b5d docs: Fix list alignment of OpenMesh devices
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-06-17 13:15:25 +02:00
Matthias Schiffer
7a2dd8b3e4
Revert "ar71xx: backport fixes for better CPE210/510 support"
This reverts commit ffd1f0b3a5.
2016-06-17 11:21:39 +02:00
Matthias Schiffer
04106989bb
Update routing packages
batman-adv & alfred 2016.2.
2016-06-16 06:03:09 +02:00
Matthias Schiffer
2b5bf4c2a2
Update OpenWrt and LuCI packages 2016-06-16 04:40:45 +02:00
Matthias Schiffer
80751d9b6d
kernel: change kmod-crypto-{core,arc4} to builtin
Another backported upstream change.
2016-06-16 04:29:22 +02:00
Matthias Schiffer
d7c1c7fffe
kernel: make IPv6 builtin
Packages in the openwrt-routing master have adjusted to this upstream
change, so we follow. Also saves a bit of space.
2016-06-16 01:24:43 +02:00
Matthias Schiffer
20e57a1c71
build: backport a few patches for better Make 4.2+ support 2016-06-15 19:32:15 +02:00
Jan Niehusmann
1059a798ef ar71xx: add GL-AR150 support
Mainly applying a vendor patch from https://github.com/domino-team/OpenWrt-patches

(https://raw.githubusercontent.com/domino-team/OpenWrt-patches/master/AR150%2C%20AR300%2C%20Domino%20-%20CC1505/000-gl-ar150-cc.patch)
2016-06-15 15:04:04 +02:00
Matthias Schiffer
ffd1f0b3a5
ar71xx: backport fixes for better CPE210/510 support
This patchset enables the RX LNA for the CPE210/510, improving RX by about
20dB. The profiles for CPE210 and CPE510 is split into two images, so the
CPE510 can use the correct ART offset, improving the TX power by 10dB.

Fixes #796
2016-06-09 05:53:57 +02:00
Thomas Weißschuh
0a936e4de5 gluon-batman-adv-core: respondd: add gateway_nexthop field 2016-06-02 16:14:13 +02:00
Matthias Schiffer
a852056c37
Update Gluon packages 2016-05-31 17:33:51 +02:00
Matthias Schiffer
5ea9c0833a
node: fix CXXFLAGS on host install
Now really fixes the build on Debian Jessie...
2016-05-30 01:00:00 +02:00
Matthias Schiffer
ca7c71a52b
node: fix build on Debian Jessie 2016-05-29 20:19:21 +02:00
copyrights
0c8f637daa
ar71xx-generic: add D-Link DIR-505 rev. A2 as alias of D-Link DIR-505 rev. A1 2016-05-29 16:49:49 +02:00
Matthias Schiffer
3f24aa248a
docs: add documentation about site modules 2016-05-29 16:40:33 +02:00
Stefan Tabbert
8342294b47
sunxi: add Lamobo-R1
No sysupgrade support yet.
2016-05-29 15:09:50 +02:00
Matthias Schiffer
60aaa426e6
ar71xx-generic: add support for NETGEAR WNR2200 2016-05-29 15:06:10 +02:00
Matthias Schiffer
4becc7dbbd
Backport fixes for the WNR2200 2016-05-29 14:28:16 +02:00
Matthias Schiffer
b56b6640e6
mac80211: backport ath9k GPIO support 2016-05-29 13:47:29 +02:00
Matthias Schiffer
59d4b3056f
Update patches
For some reason, the filenames of the OpenMesh support patches were
truncated.
2016-05-29 12:00:17 +02:00
Metatron321
5c67b4909d docs: added site for Regio Aachen 2016-05-29 10:28:24 +02:00
Matthias Schiffer
9fc0dcdd7a
Merge remote-tracking branch 'origin/doubles-fmt' 2016-05-28 16:17:04 +02:00
Matthias Schiffer
13465e9365
node: downgrade to v0.12.14
Allow to build Gluon with GCC 4.7 (e.g. on Debian Wheezy) as host compiler
again.
2016-05-28 16:06:43 +02:00
Matthias Schiffer
efc004abf2
scripts/patch: never GPG-sign automated commits, regardless of the default configuration 2016-05-28 16:04:40 +02:00
Jan-Philipp Litza
76c3456787 gluon-node-info: simplify respondd module code a bit 2016-05-27 22:40:17 +02:00
Jan-Tarek Butt
22ec5f1c83
docs: fix 404 error for nordwest site repo url 2016-05-27 00:14:27 +02:00
Jan-Philipp Litza
f7eda9381f respondd modules: Use proper formatting of doubles
Most doubles that are delivered via respondd have limited input
precision, but are converted with up to 17 digits of precision. That can
cause ugly blowups like 0.2800000000000001 in the output, which is
avoided by specifying better format strings (like "%.2f" in most cases).
2016-05-26 17:38:36 +02:00
Johannes Rudolph
4c09783723 docs: autoupdater's fallback option (#786) 2016-05-26 16:46:32 +02:00
Matthias Schiffer
cbb1f804f0
docs, README: Gluon v2016.1.5 2016-05-26 02:17:58 +02:00
Matthias Schiffer
35690aeb58
Merge branch 'openmesh-primary_mac' of https://github.com/ecsv/gluon 2016-05-24 00:34:05 +02:00
Matthias Schiffer
a054e4783d
Merge branch 'openmesh' of https://github.com/ecsv/gluon 2016-05-24 00:33:36 +02:00
Sven Eckelmann
780f7cad2a ar71xx-generic: Use eth0 as OpenMesh primary mac address
The OpenMesh devices have a sticker with the eth0 mac address on the
bottom. Also all other mac addresses are calculated based on this address.
Therefore, it is better to use this as primary mac address instead of the
WiFi mac address.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-23 21:39:27 +02:00
Sven Eckelmann
3039ba15a0 docs: Fix path to script detecting the primary mac address (#782)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-23 21:02:05 +02:00
Sven Eckelmann
101595ead8 ar71xx-generic: Remove extra dash between v2 and OpenMesh device name (#781)
The returned name for OpenMesh devices with a an extra vX when calling

    lua -e 'print(require("platform_info").get_image_name())'

doesn't contain a dash between the vX and the device name. Thus the image
should also not contain a dash.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-23 17:13:51 +02:00
Sven Eckelmann
69ce123457 ar71xx-generic: Add support for OpenMesh MR1750/OM5P-AC
The new ath9k/ath10k based devices are only available in OpenWrt trunk. The
relevant patches have to backported to add support for them in Gluon

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-23 11:15:30 +02:00
Andreas Fischer
38f70cfd81 docs: typo repositoy -> repository (#779) 2016-05-22 19:06:01 +02:00
Linus Lüssing
4199b216c6 ebtables-segment-mld: Segment IGMP/MLD domain
This patch adds a new gluon-ebtables package to filter IGMP/MLD messages
via ebtables.

For one thing this reduces multicast overhead: About one third of all
ICMPv6 multicast traffic in Lübeck or Hamburg is MLD.

Furthermore it removes a potential Distributed Denial-of-Service vector
(see Gluon ticket #553).

Finally, it is a prerequisite for enabling bridge multicast snooping in
a decentral and robust fashion.

Note that IGMP/MLD are filtered for multicast traffic coming from
the mesh, too (new MULTICAST_IN), as unfortunately there seem to
be other queriers somewhere in the mesh at least for Freifunk
Lübeck. Also adding these rules to be prepared to anyone intentionally
or unintentionally disabling these filters on his/her node.

Node operators not running Gluon (for instance gateway nodes) should
make sure to either enable multicast_router towards bat0 or disable
multicast snooping entirely if they have a bridge on top of bat0.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-05-20 22:59:31 +02:00
Linus Lüssing
8e891b2cc4 ebtables-filter-mcast: Remove redundant allow-filter for hop-by-hop
ebtables actually skips any IPv6 extension headers like the hop-by-hop
one. So this rule is actually void.

The intend back then was to allow passing MLD messages into the mesh.
Since extension headers are skipped, the general icmpv6 rule will
actually match MLD messages. So the hop-by-hop rule is unnecessary,
too.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-05-20 02:04:25 +02:00
Sven Eckelmann
62feb04fe1 ar71xx-generic: Generate OpenMesh sysupgrades in OpenWrt
The workaround to generate sysupgrade images for OpenMesh devices in gluon
is replaced in LEDE/OpenWrt by a special patch. It is therefore better to
drop the workaround and use the upstream version.

Reported-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-19 20:59:34 +02:00
Matthias Schiffer
97879e80ad
gluon-config-mode-core: clean up reboot handling
Don't fork reboot process before all package hooks have been handled and
rendering is complete.

Replace debug.setfenv hack to close stdout with nixio.dup.

Fixes #772
2016-05-19 15:31:47 +02:00
Matthias Schiffer
4a60e5a02a
gluon-mesh-vpn-fastd: add missing iptables dependency confusing Kconfig
This was causing "recursive dependency" errors and potentially broken
configurations.
2016-05-18 01:24:11 +02:00
Sven Eckelmann
a5c8e60172 ar71xx-generic: Add support for OpenMesh devices
Integrate OpenMesh devices available in OpenWrt Chaos Calmer:

 - MR600
 - MR600v2
 - MR900
 - MR900v2
 - OM2P
 - OM2P-HS
 - OM2P-HSv2
 - OM2P-LC
 - OM2Pv2
 - OM5P
 - OM5P-AN

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-16 13:31:25 +02:00
Sven Eckelmann
d30a6ff1db gluon-luci-admin: Fix uploaded image validation
The image validation currently fails on some devices (tested OpenMesh)
because it isn't done via sysupgrade. But the checks depend partially on
the integration in sysupgrade (e.g. via loops that can be stopped via
"break statements").

Instead of hacking its own version check, it is easier and better tested to
just use 'sysupgrade -T' like it is already done by LuCI.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-16 13:31:25 +02:00