Commit Graph

2386 Commits

Author SHA1 Message Date
Nils Schneider
1e1363f17e ar71xx: Meraki MR12/MR62/MR16/MR66 support
OpenWRT now supports the CISCO Meraki enterprise class routers
MR12, MR16, MR62 and MR66. The fabric firmware demands the yearly
renewal of a support license.

This firmware was successfully tested by @Garunda for the MR62 (and
the MR12 with it for which this is an alias). The initial firmware
pre OpenWRT adoption was prepared and adapted for Gluon by @tcatm.
The confirmation of the functionality of the image for the MR66
(and the aliased MR16 with it) is still pending.

The devices are of strategic interest to the Freifunk community as
they are making a rock-solid impression. However, these come with
fairly hefty annual license. The Freifunk may offer an escape route
for those who had signed up and want to keep their investment into the
similarly expensive hardware. Used evices sell for $60 on eBay/Amazon
in the US. Here in the old world it is all >300 €, still.

Credits go to @Garunda for testing, to @tcatm for finding the
OpenWRT patch prior to its adoption and preparing the initial Gluon
adaptation, to @smoe for the update once that patch had arrived in
OpenWRT, and to @NeoRaider for his review and advice to use
GluonModelAlias for MR62 and MR66 to point to MR12 and MR16,
respectively.
2016-04-03 22:56:17 +02:00
Jan-Philipp Litza
3a3c922a4d gluon-core: use exec on uci commit 2016-04-03 16:14:48 +02:00
Matthias Schiffer
4658afb2c6 gluon-core: commit all UCI configs at the end
Avoid commiting configs inbetween to decrease number of flash writes.

Fixes #714.
2016-04-02 18:56:45 +02:00
Matthias Schiffer
827d81aab3 gluon-config-mode-mesh-vpn: fix save() call for traffic limits
It doesn't seem like this mistake had any effect.
2016-04-02 18:53:56 +02:00
Matthias Schiffer
19f248c755 build: ensure the early path doesn't leak into later build steps
Leads to broken symlink setup by OpenWrt, usually breaking the build with
a "Too many levels of symbolic links" message.

Fixes #716.
2016-04-02 04:31:50 +02:00
Matthias Schiffer
4511ef15d6 Merge pull request #717 from kb-light/ar71xx-generic-image-renaming
ar71xx-generic: update profiles.mk to match new naming
2016-04-02 03:59:55 +02:00
kb-light
24d8695d8c ar71xx-generic: update profiles.mk to match new naming
Update the naming of some TP-Link devices corresponding to commit 0fd48fd7dab066db8a46e51775579c9ef507ca25 within git.openwrt.org/15.05/openwrt.git
2016-04-02 03:35:29 +02:00
Matthias Schiffer
3732c26e95 ar71xx-generic: add support for TP-Link TL-WR710N v2.1 2016-04-02 00:59:19 +02:00
Matthias Schiffer
196722663a ar71xx-generic: backport a few TP-Link model detection and upgrade check patches 2016-04-02 00:54:07 +02:00
Matthias Schiffer
4f051061de Update OpenWrt base 2016-04-01 21:09:29 +02:00
Matthias Schiffer
b78a53c5af docs, README: Gluon v2016.1.3 2016-03-31 21:19:47 +02:00
Matthias Schiffer
657f6812c4 Merge pull request #712 from mokkin/patch-1
added site for Leipzig
2016-03-31 21:00:32 +02:00
mokkin
d7eb477ef5 added site for Leipzig 2016-03-31 20:54:08 +02:00
Matthias Schiffer
f4208f2a2b build: support LibreSSL as provider of openssl
Fixes #709
2016-03-30 03:01:26 +02:00
Matthias Schiffer
fddf2073f8 Merge pull request #708 from kb-light/rename
docs: Freifunk Paderborn is now called Freifunk Hochstift
2016-03-29 22:30:52 +02:00
Matthias Schiffer
d9ca449ed0 generic: mtd: spi-nor: disable protection for Winbond flash at startup 2016-03-29 22:00:58 +02:00
kb-light
954e378a5f docs: Freifunk Paderborn is now called Freifunk Hochstift
link to site-repo updated
2016-03-29 12:41:26 +02:00
Matthias Schiffer
0b25275976 Update to libuecc v7 and fastd v18 2016-03-29 00:35:02 +02:00
Matthias Schiffer
d4d9c349a2 Revert "generic: mtd: spi-nor: always disable software protection"
This reverts commit 1ccd24df77.

This commit probably causes problems with some flash chips:

http://patchwork.ozlabs.org/patch/549173/
http://patchwork.ozlabs.org/patch/553683/
2016-03-26 14:28:26 +01:00
Matthias Schiffer
1ccd24df77 generic: mtd: spi-nor: always disable software protection
Fixes unwriteable flash when the bootloader leaves it protected.
2016-03-26 13:23:13 +01:00
Matthias Schiffer
d5f5ce74e8 build: add module separators/headings to patch/update/update-patches scripts
Suggested-by: Steffen Möller <steffen_moeller@gmx.de>
2016-03-26 00:03:04 +01:00
Matthias Schiffer
33d028783f build: remove rather useless "patch" and "unpatch" make targets 2016-03-25 23:57:15 +01:00
Matthias Schiffer
a26f781404 ar71xx: make bootconsole wait for both THRE and TEMT
Original commit message:

    MIPS: ath79: make bootconsole wait for both THRE and TEMT

    This makes the ath79 bootconsole behave the same way as the generic 8250
    bootconsole.

    Also waiting for TEMT (transmit buffer is empty) instead of just THRE
    (transmit buffer is not full) ensures that all characters have been
    transmitted before the real serial driver starts reconfiguring the serial
    controller (which would sometimes result in garbage being transmitted.)
    This change does not cause a visible performance loss.

    In addition, this seems to fix a hang observed in certain configurations on
    many AR7xxx/AR9xxx SoCs during autoconfig of the real serial driver.

    A more complete follow-up patch will disable 8250 autoconfig for ath79
    altogether (the serial controller is detected as a 16550A, which is not
    fully compatible with the ath79 serial, and the autoconfig may lead to
    undefined behavior on ath79.)
2016-03-24 18:34:34 +01:00
Matthias Schiffer
86894548c5 Explicitly set SHELL to bash
Fixes some messages if /bin/sh doesn't support 'echo -e'.

Suggested-by: Steffen Möller <steffen_moeller@gmx.de>
2016-03-22 13:01:18 +01:00
Matthias Schiffer
7327ad2ff1 Merge pull request #697 from berendt/docs_copyright_year
docs: add 2016 copyright year to sphinx conf file
2016-03-21 23:05:16 +01:00
Christian Berendt
67fe231805 docs: add 2016 copyright year to sphinx conf file 2016-03-21 22:31:46 +01:00
Alexander Dahl
d2b74b4cf0 openwrt: add patch fixing sysupgrade on Xen DomU
Patch tested on v2016.1.x branch with Freifunk Magdeburg firmware on
Debian Jessie amd64 Xen host. See the same patch in our gluon fork here:
https://github.com/FreifunkMD/gluon/blob/fix-sysupgrade-xen/patches/openwrt/0058-x86-fix-platform_export_bootpart-for-Xen-virtual-disks.patch

Sysupgrade was tested successfully by manually making the change before
upgrading in the filesystem of the running node and upgrading to the
fixed FFMD experimental build in config mode via expert settings in
webgui.

Patch also submitted to OpenWRT trunk already.

Signed-off-by: Alexander Dahl <alex@netz39.de>
2016-03-17 22:12:44 +01:00
Matthias Schiffer
d7e6bd2046 Merge pull request #685 from FreifunkChemnitz/master
Add Support for the ALFA Hornet UB and similar devices
2016-03-14 10:53:45 +01:00
Steffen Förster
4e2423c081 Add Support for the ALFA Hornet UB and similar devices
The Hornet UB is sold at least in the varieties. Without case it is a Hornet UB, with case and without connected USB port it is called AP121. If the USB port is present this device is called AP121U.
We have a AP121U in our mesh http://meshviewer.chemnitz.freifunk.net/#!v:m;n:00c0ca6efffa
2016-03-13 15:59:47 +01:00
Matthias Schiffer
b8cb60a8d6 Merge pull request #675 from T-X/preparations-for-mcast-snooping
Preparations for Multicast Snooping
2016-03-11 13:27:33 +01:00
Linus Lüssing
c9aa2672bd bridge: Increase IGMP/MLD robustness parameter to three for br-client
We are mostly dealing with the 2.4GHz crap-band here, so increasing the
IGMP/MLD robustness parameter to three to be able to compensate for up
to two consecutive instead of just one lost packet.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-10 16:44:34 +01:00
Linus Lüssing
4d00c804c0 bridge: Lower IGMP/MLD query intervals for br-client
There are some devices not acting properly to roaming events, in that
they do not timely reissue IGMP/MLD reports after reconnecting.

To compensate for that this commit reduces the query interval from 125
seconds to 20 and the query response interval from 20 seconds to 5.
This reduces a timeout to 20+5 seconds in the worst-case (12.5s average)
after a roaming event for such broken devices. This should be below the
30s "impatient user threshold" and below any connection timeout.

Until the bridge multicast snooping + querier gets re-enabled this is a
no-op.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-10 16:44:05 +01:00
Matthias Schiffer
06685ef0ec Merge pull request #682 from kb-light/docs
docs: fix typo in upgrade.rst
2016-03-10 08:41:26 +01:00
Matthias Schiffer
4c9a0a143e Merge pull request #681 from FreifunkChemnitz/master
Add support for TP-Link TL-WA7510N
2016-03-10 08:41:03 +01:00
kb-light
4511da0aee docs: fix typo in upgrade.rst 2016-03-10 00:38:19 +01:00
Steffen Förster
ea90788315 Add support for TP-Link TL-WA7510N
This CPE is supported by OpenWRT and already running in Chemnitz
2016-03-09 22:17:06 +01:00
Matthias Schiffer
2ee35f3102 docs, README: add release notes for v2016.1.2, update version numbers 2016-03-09 19:21:40 +01:00
Matthias Schiffer
e729d33bab netifd: update to latest git master 2016-03-09 06:47:53 +01:00
Matthias Schiffer
fc6d4d6c97 gluon-mesh-batman-adv-core: respondd: add uci.h include
This include wasn't actually missing, but well hidden behind the iwinfo.h
include. Make this more obvious.
2016-03-08 07:57:06 +01:00
Linus Lüssing
0fc9e1d966 update config: "firewall: Allow IGMP and MLD input on WAN" (r45613)
Adopt the according modifications to the default firewall settings of
the WAN interface from OpenWRT, revision 45613.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-08 07:55:55 +01:00
Linus Lüssing
ca9a6f34f3 gluon-mesh-batman-adv-core: Always forward towards mesh/batman-adv
An IGMP/MLD domain split will prevent us from being able to track
multicast listeners on other nodes.

Therefore we need to always hand any multicast packets we received from
local clients to batman-adv. With bridge multicast snooping disabled,
the current setting in Gluon, this is already the case.

However, in preparation to enabling multicast snooping, we need to
enforce forwarding towards batman-adv by setting the bridge port
option "multicast_router" to 2.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-08 07:55:55 +01:00
Matthias Schiffer
01878f4bbc Backport GPIO control support
Backport of rr46271 and r46922.

Based-on-patch-by: Julian Kornberger <jk+github@digineo.de>
2016-03-07 06:08:32 +01:00
Matthias Schiffer
85b857d98a Merge pull request #676 from PowerPan/PowerPan-gitsubmodules-1
git submodules
2016-03-06 20:56:23 +01:00
Johannes Rudolph
13658879e5 git submodules
Possibility to work with git submodules
2016-03-06 03:09:09 +01:00
Matthias Schiffer
1f06d20705 ath10k: remove hard dependency on ath10k-firmware-qca988x
We use our own firmware package.
2016-03-04 17:40:56 +01:00
Matthias Schiffer
3b61a768b9 Update Gluon packages 2016-03-04 00:51:28 +01:00
Matthias Schiffer
8272a8f807 Update OpenWrt base 2016-03-03 23:49:58 +01:00
Matthias Schiffer
0320b4da03 docs, README: add release notes for v2016.1.1, update version numbers 2016-03-02 16:23:10 +01:00
Matthias Schiffer
6f4ca79d01 docs: update list of supported hardware 2016-03-02 01:03:33 +01:00
Matthias Schiffer
595cba1bfa Update OpenWrt base 2016-03-01 23:33:00 +01:00