Commit Graph

1811 Commits

Author SHA1 Message Date
Sven Eckelmann
bdf5adc76c 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-09-09 00:20:32 +02:00
Sven Eckelmann
bc318391e4 docs: Fix path to script detecting the primary mac address (#782)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-09 00:20:32 +02:00
Sven Eckelmann
63b8dfa8b6 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-09-09 00:20:32 +02:00
Sven Eckelmann
33b4a9ce68 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-09-09 00:20:32 +02:00
Andreas Fischer
2fac5b0cdc docs: typo repositoy -> repository (#779) 2016-09-09 00:20:32 +02:00
Linus Lüssing
0cd6f95e9f 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-09-09 00:20:32 +02:00
Linus Lüssing
460e795f93 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-09-09 00:20:32 +02:00
Sven Eckelmann
052a81d881 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-09-09 00:20:31 +02:00
Matthias Schiffer
fe00c4ea53 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-09-09 00:20:31 +02:00
Matthias Schiffer
bbd86a8ae9 gluon-mesh-vpn-fastd: add missing iptables dependency confusing Kconfig
This was causing "recursive dependency" errors and potentially broken
configurations.
2016-09-09 00:20:31 +02:00
Sven Eckelmann
e0894a7780 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-09-09 00:20:31 +02:00
Sven Eckelmann
1159957dfc 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-09-09 00:20:31 +02:00
Matthias Schiffer
43f2adebef Update Gluon packages 2016-09-09 00:20:31 +02:00
Matthias Schiffer
c6bdd68553 ar71xx-generic: switch default WAN/LAN assignment on Ubiquiti UAP Pro
Fixes #764
2016-09-09 00:20:31 +02:00
Matthias Schiffer
7c0f77b566 ar71xx-generic: add support for UniFi AC PRO/LITE (LITE untested)
Also backport some patches improving QCA956x support.
2016-09-09 00:20:31 +02:00
Matthias Schiffer
5150b49dfb Fix creation of IBSS interfaces on devices with two radios
Lua's tables are 1-based, so we must decrement the index by 1 to get the
desired MAC addresses. By not doing this, the second IBSS interface would
get the address with index 8, but only indices 0..7 are available.

Fixes: c73a12e0ea
2016-09-09 00:20:31 +02:00
Matthias Schiffer
97fc1aef2d mpc85xx-generic: fix flash detection after spi-nor backport 2016-09-09 00:20:31 +02:00
Matthias Schiffer
5a3601980a Fix build with GCC 6
Make pkg-config, mkimage and gcc build with GCC 6 as host compiler. Fix
miscompilation of node.

Fixes #755
2016-09-09 00:20:31 +02:00
Matthias Schiffer
0bc2fd6a92 kernel: backport spi-nor driver from 4.4.9
Fixes #687
2016-09-09 00:20:31 +02:00
Matthias Schiffer
2f0746dda6 docs: clean up and update Ubiquiti hardware support list 2016-09-09 00:20:31 +02:00
Matthias Schiffer
273a1cb52d ar71xx-generic: remove BROKEN for Ubiquiti Rocket M XW 2016-09-09 00:20:31 +02:00
Matthias Schiffer
28c34bed50 netifd: update and revert problematic patch
Fixes VLANs with shell protos on top of WLAN devices.

Fixes #754
2016-09-09 00:20:31 +02:00
Matthias Schiffer
464023d3d7 README: add Roadmap link 2016-09-09 00:20:31 +02:00
JuS
abf5e610ae Merge Datei-Leichen Entfernt 2016-09-09 00:20:31 +02:00
Matthias Schiffer
7e6acb0ac5 x86/generic: enable pata_atiixp driver 2016-09-09 00:20:31 +02:00
Matthias Schiffer
71a23bc461 kernel: disable software protection bits for macronix flash chips at init
The bootloader of AirOS 5.6.x doesn't remove the flash protection for us,
so we have to do this ourselves.
2016-09-09 00:20:15 +02:00
Matthias Schiffer
580326dcf5 firmware-utils: mkfwimage: fix firmware_max_length for XM layout
This should fix problems with flashing from AirOS 5.6.x.
2016-09-09 00:20:15 +02:00
Matthias Ludwig
b4a378d9d8 ar71xx-generic: add support for TP-Link MR13U 2016-09-09 00:20:15 +02:00
Matthias Schiffer
6d3de131bf ar71xx/lzma-loader: fix O32 ABI conformance
Backport of r48279
2016-09-09 00:20:06 +02:00
Matthias Schiffer
549187b66c kernel/gpio_keys: load module on pre-init
fix rescue mode on wdr4900

Backport of r48793
2016-09-09 00:20:06 +02:00
Matthias Schiffer
cfb4c36848 brcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after cleaning the kernel tree
Backport of r48732
2016-09-09 00:20:06 +02:00
Nils Schneider
ba62b698c0 uradvd: set default lifetime to 900 2016-05-03 23:30:56 +02:00
Nils Schneider
0c73685ff9 gluon-next-node: remove local_node_route6 2016-05-03 23:30:45 +02:00
Christof Schulze
1ea8066820 add l3roamd dev package (#736) 2016-05-02 12:03:04 +02:00
Nils Schneider
eed61af7a3 gluon-radvd: HACK: free ebtables from bat0 2016-05-02 11:27:44 +02:00
Nils Schneider
18cd79c037 gluon-l3roamd: HACK: unfinished l3roamd package 2016-05-02 11:27:44 +02:00
Nils Schneider
3247ca0e4a gluon-mesh-babel: HACK: basic, experimental babel config 2016-05-02 11:27:44 +02:00
Nils Schneider
33264bec97 gluon-next-node: split gluon-next-node-batman-adv
Move ebtables rules dealing with bat0 to gluon-next-node-batman-adv.
This new package should be used in batman-adv based setups instead
of gluon-next-node.
2016-05-02 11:27:44 +02:00
Nils Schneider
f7c240496f gluon-radvd: run on local-node instead of br-client
On a layer 3 mesh, we'd like the default route to point to all node's
local-node interface for roaming to work.
2016-05-02 11:27:44 +02:00
Nils Schneider
872d0690cd gluon-next-node: mark local-node ip6 as deprecated
Prevent the local-node ip6 from being eligible for source address
selection. This is highly undesireable in a layer 3 mesh.
2016-05-02 11:27:44 +02:00
Nils Schneider
46991e927f Update Gluon packages 2016-05-02 11:27:05 +02:00
Matthias Schiffer
794738b268 ar71xx-generic: add support for TP-LINK TL-WA901ND v4
Fixes #731
2016-04-29 18:33:52 +02:00
Matthias Schiffer
7fd60ac48a Update OpenWrt base
This also reverts commit 24d8695d8ceeb09d6c84bcd6ee4ffe087c9b386b...
2016-04-29 17:55:51 +02:00
Matthias Schiffer
ce563f25ad ar71xx-generic: remove BROKEN for TL-WR841N/ND v11 2016-04-29 17:44:04 +02:00
Matthias Schiffer
086a10676d docs, README: Gluon v2016.1.4 2016-04-29 17:43:32 +02:00
kb-light
f68a5662b6 gluon-node-info: add a script to fix whitespaces within the coordinates
Signed-off-by: kb-light <freifunk@kb-light.de>
2016-04-28 09:34:33 +02:00
Matthias Schiffer
10638960c9 Merge pull request #739 from lemoer/dev-fix-broken
build: fix inconsistent handling of BROKEN variable.
2016-04-27 23:19:28 +02:00
lemoer
32f40303f0 build: fix inconsistent handling of BROKEN variable. 2016-04-27 22:48:18 +02:00
Matthias Schiffer
d77bfe9da9 gluon-mesh-batman-adv-core: fix rssid for setups without 11s 2016-04-27 21:07:46 +02:00
Matthias Schiffer
9b63127aa5 build: fix race condition on make clean without preceeding normal make 2016-04-27 20:27:26 +02:00