Commit Graph

2938 Commits

Author SHA1 Message Date
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
Matthias Schiffer
54bc175cc1
Update Gluon packages 2016-05-16 02:17:39 +02:00
Matthias Schiffer
cab23b1838
ar71xx-generic: switch default WAN/LAN assignment on Ubiquiti UAP Pro
Fixes #764
2016-05-14 01:02:25 +02:00
Matthias Schiffer
087112a09b
ar71xx-generic: add support for UniFi AC PRO/LITE (LITE untested)
Also backport some patches improving QCA956x support.
2016-05-14 00:48:10 +02:00
Matthias Schiffer
86ef9b0e97
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-05-14 00:34:04 +02:00
Matthias Schiffer
c05f28d1a3
mpc85xx-generic: fix flash detection after spi-nor backport 2016-05-11 12:01:57 +02:00
Matthias Schiffer
340df0dbee
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-05-09 17:09:00 +02:00
Matthias Schiffer
40d087de84
kernel: backport spi-nor driver from 4.4.9
Fixes #687
2016-05-07 00:48:34 +02:00
Matthias Schiffer
8bd0ecd9b3
docs: clean up and update Ubiquiti hardware support list 2016-05-06 20:16:44 +02:00
Matthias Schiffer
fdc43ff721
ar71xx-generic: remove BROKEN for Ubiquiti Rocket M XW 2016-05-06 20:10:25 +02:00
Matthias Schiffer
80d5f5f995
netifd: update and revert problematic patch
Fixes VLANs with shell protos on top of WLAN devices.

Fixes #754
2016-05-05 22:23:24 +02:00
Matthias Schiffer
d79bc0b398 README: add Roadmap link 2016-05-03 19:30:43 +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
kb-light
d8092bce62 gluon-config-mode-mesh-vpn: provide contact-information for reboot-message (#671) 2016-04-27 17:08:42 +02:00
kb-light
269a8fbdd4 gluon-config-mode-geo-location: add ability to hide the altitude field (#693) 2016-04-27 12:37:30 +02:00
Matthias Schiffer
937fe715c7 gluon-mesh-batman-adv-core: make mesh_lan config a bridge
There are a few devices which have more than one LAN interface (for example
some revision of the TL-WR941ND, which uses a DSA-based switch, so each
switch port has its own netdev.) On these devices we need a bridge for
mesh-on-lan (as the alternative of adding them to batman-adv individually
would need too many MAC addresses.)
2016-04-27 12:20:27 +02:00
lemoer
c73a12e0ea Change MAC schema generation (#715)
While ath9k/ath10k devices can supprt VIFs with any combination of MAC addresses, there are also adapters which have a hardware MAC filter which only allows a few bits to differ. This commit changes the addresses of all VIFs to ony differ in the last 3 bits, which is required to support many Ralink/Mediatek based WLAN adapters.

Technically, the new addresses are generated by calculating an MD5 hash of the primary MAC address and using a part of this hash as a prefix for the MAC addresses.

The addresses (BSSIDs) of the AP VIFs are also reused for the LAN and WAN interfaces in mesh-on-LAN/WAN mode to reduce the number of needed addresses, and thus reduce the chance of collisions. This is not a problem as the MAC addresses of the AP VIFs are never used except as BSSID, and thus not seen by routing protocols like batman-adv.

Fixes #648

[Matthias Schiffer: rewrote commit message]
2016-04-27 12:16:39 +02:00
corvusmo
82b5b5a8d2 gluon-status-page: refactor creation of table rows and cells (#738) 2016-04-27 08:40:13 +02:00
Matthias Schiffer
7f2b93e7f0 gluon-status-page: remove old status page
We have Git for history, there's no reason to keep old files that aren't
used anymore.
2016-04-26 21:29:48 +02:00
Matthias Schiffer
c936fd8054 Merge branch 'master' of https://github.com/corvusmo/gluon 2016-04-25 18:33:10 +02:00
Matthias Schiffer
8f6cc2dadd ar71xx-generic: add TP-LINK TL-WR841ND v11 support
Fixes #721
2016-04-25 18:18:56 +02:00
Matthias Schiffer
c18d43d2cb gluon-core: use correct file variable in get_site_config() 2016-04-24 15:55:37 +02:00
Matthias Schiffer
069bcb3327 Update Gluon packages 2016-04-24 13:22:43 +02:00
Matthias Schiffer
10a469bcfc Update OpenWrt base 2016-04-24 11:54:32 +02:00
Matthias Schiffer
f38bbf0d2c gluon-mesh-batman-adv-core: remove 'gluon.batman_adv' Lua module
It is not used anymore.
2016-04-24 09:47:06 +02:00
Matthias Schiffer
7f1c11cf7e Backport parallel download locking support
Fixes #733
2016-04-24 09:11:20 +02:00
Matthias Schiffer
db32736d3b Merge pull request #730 from jannic/master
Add support for carambola 2 board
2016-04-22 18:13:10 +02:00
Jan Niehusmann
bdcd166c7c ar71xx-generic: add support for Carambola 2
Device information can be found at:
http://www.8devices.com/products/carambola-2
https://wiki.openwrt.org/toh/8devices/carambola2

I only did some minimal testing of gluon on the carambola 2 development
board:

 - Config mode works
 - Connects to Wifi Mesh
 - Allows clients to connect

Notably, autoupgrade has not yet been tested.

Change to 010-primary-mac is necessary as the mac address printed
on the sticker is the one of eth0, not the wifi mac.
2016-04-22 08:32:19 +02:00
Matthias Schiffer
ff95dd9650 docs: user/faq: fix typo 2016-04-22 07:30:11 +02:00
Matthias Schiffer
ddb9e6b2e5 Merge pull request #679 from T-X/preparations-for-mcast-snooping-final
Preparations for Multicast Snooping Final
2016-04-20 19:44:53 +02:00
Matthias Schiffer
fe1b887f49 docs: user/site: fix formatting of definition list
Newer versions of Sphinx would break lines at the colons.
2016-04-19 05:56:18 +02:00
Matthias Schiffer
9260a8fa15 docs: add info about IPv6 and DNS requirements for NTP/autoupdater 2016-04-19 05:55:11 +02:00
corvusmo
80515c087d gluon-status-page: sort gateways alphabetically
Fixes #698
2016-04-08 21:23:56 +02:00
Nils Schneider
271e864005 docs/user/site.rst: typo 2016-04-08 14:17:45 +02:00
Matthias Schiffer
5bfb06fe36 ar71xx-generic: add support for UBNT Rocket M XW (untested) 2016-04-07 18:08:43 +02:00
Matthias Schiffer
b46589a637 xtables-addons: build: fix configure compatiblity with POSIX shells
Fixes #710.
2016-04-05 20:59:25 +02:00