Skip to content

Commit

Permalink
docs: Add v2019.1 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Sep 14, 2019
1 parent a3fd203 commit 9ad4768
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Several Freifunk communities in Germany use Gluon as the foundation of their Fre
:caption: Releases
:maxdepth: 1

releases/v2019.1
releases/v2018.2.3
releases/v2018.2.2
releases/v2018.2.1
Expand Down
233 changes: 233 additions & 0 deletions docs/releases/v2019.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
Gluon 2019.1
############

Important notes
***************

If you are upgrading from a version prior to v2018.1 please note that the flash layout on some
devices (TP-Link CPE/WBS 210/510) was changed. To avoid upgrade failures, make sure to upgrade
to Gluon 2017.1.8 or the latest Gluon 2016.2.x (unreleased) before installing Gluon 2018.1, 2018.2 or 2019.1.

Routers will now only respond to queries on ``[ff05::2]:1001``, this will most likely required
updates to your respondd queriers. This change was required due to cross-domain leakage of respondd data.

Added hardware support
**********************

ar71xx-generic
==============

* D-Link

- DAP-1330 A1

* TP-Link

- CPE210 v3


ar71xx-nand
===========

* Aerohive

- HiveAP 121

ar71xx-tiny [#deprecated]_
==========================

* TP-Link

- TL-WR840N v2

ipq40xx
=======

* 8devices

- Jalapeno

mpc85xx-p1020 [#newtarget]_
===========================

* Aerohive

- HiveAP 330

ramips-mt76x8
=============

* TP-Link

- TL-MR3420 v5

ramips-mt7621
=============

* ASUS

- RT-AC57U [#noibss]_

.. [#deprecated]
This target will be reaching its end of life soon.
.. [#newtarget]
This is a new target.
.. [#noibss]
Device or target does not support AP+IBSS mode: This device or target will not be built
when *GLUON_WLAN_MESH* is set to ``ibss``.
.. note::

The ``ipq806x`` target has been flagged as broken, as all of its devices are not yet fully supported in this OpenWrt release. You might have to update your build scripts accordingly.



New features
************

batman-adv coexistence
======================

To allow a migration from B.A.T.M.A.N. compat 14, this Gluon release offers the ability to ship both B.A.T.M.A.N adv compat versions 14 and 15 in the same image. The ``mesh.batman_adv.routing_algo`` option decides which module gets loaded and the scheduled domain switching functionality can be used to migrate between the two versions.

See the :ref:`mesh <user-site-mesh>` section for the *site.conf* configuration of this feature.

Outdoor Mode
============

Radio devices hosted outdoors are often affected by different regulation than if they were installed indoors. The outdoor mode allows for the reconfiguration of 5 GHz radios onto different channels and channel ranges. Honoring stipulations like DFS currently make it difficult to use the 5 GHz band for mesh networking because it's never certain that nodes would stay on the same channel.
If enabled, by setting ``wifi5.outdoor_chanlist``, a number of devices that are commonly installed outdoors will have outdoor mode automatically enabled during their initial setup, specifically:

* Ubiquiti

- Bullet M
- Litebeam M5
- Nanostation M5
- Nanostation M5 Loco
- Rocket M5
- Rocket M5 TI
- Unifi AC Mesh
- Unifi AC Mesh Pro
- Unifi Outdoor

* TP-Link

- CPE510
- WBS510

See the :ref:`wifi5 <user-site-wifi5>` section for the *site.conf* configuration of this feature.


Hoodselector: Geolocation Mode
==============================

Hoodselector is a new concept for continuous reevaluation of the node's domain. As a first step we support its geolocation feature. It can be used to automatically switch nodes during their runtime between domains.

See the :doc:`../package/gluon-hoodselector` documentation for details.


Device Deprecation
==================

The ar71xx-tiny and several devices in the ramips-rt305x target have been marked as deprecated. The `GLUON_DEPRECATED` flag was introduced to offer downstream communities the choice on how to deal with the ending support for those devices. Devices or targets marked as deprecated will very likely not be included in following Gluon releases anymore, usually due to their insufficient flash size.

See the :ref:`Build configuration <user-site-build-configuration>` section for details.


x86 images support firstboot
============================

x86 images are now using squashfs over ext4 and can now have their configuration reset by using ``firstboot``.


Bugfixes
********

* Fixes passwordless SSH access when gluon-authorized-keys was used without gluon-setup-mode. (`#1777 <https://github.com/freifunk-gluon/gluon/issues/1777>`_)

- Fixes cross-domain leakage of respondd data by not joining the link-local multicast group on br-client. Nodes now only listen on ``[ff05::2]:1001`` for respondd queries. This may require an update to your respondd querying tooling. (`#1701 <https://github.com/freifunk-gluon/gluon/issues/1701>`_)


Site changes
************

When updating a site configuration from Gluon 2018.2.x, the following changes
must be made:

site.mk
=======

- We now require the ``GLUON_DEPRECATED`` variable to be set to decide how to handle the image generation for deprecated devices. (`#1745 <https://github.com/freifunk-gluon/gluon/pull/1745>`_)

- The variable ``DEVICES``, that controls which devices to build images for, has been renamed to ``GLUON_DEVICES``. (`#1686 <https://github.com/freifunk-gluon/gluon/pull/1686>`_)

site.conf
=========

- The options ``wifi*.basic_rates`` and ``wifi*.supported_rates`` have been removed, as the legacy 802.11b rates are now disabled by default. (`#1716 <https://github.com/freifunk-gluon/gluon/pull/1716>`_)


Internals
*********

batman-adv multicast optimizations
==================================

The batman-adv routing protocol has its multicast optimizations reactivated. This should further reduce the background noise as for example ICMPv6 Neighbor Discovery is now directed to nodes instead of being broadcasted.

Debug Build-Flag
================

Setting ``GLUON_DEBUG=1`` will provide firmware images including debugging symbols usable with GDB or similar tools. Requires a device or target with at least 16 MB of flash space, e.g. `x86-64`. Unset by default.

lua target files
================

Target definitions were rewritten in Lua, this was required due to the need to deprecate devices. It also offers the option for more flexible tagging of devices in the future. (`#1745 <https://github.com/freifunk-gluon/gluon/pull/1745>`_)

luacheck
========

Lua scripts can now be properly linted and analyzed using luacheck. Run ``luacheck package scripts target`` in the Gluon project root. (`#1741 <https://github.com/freifunk-gluon/gluon/pull/1741>`_)


Docker build-environment
========================

A minimal docker-based build environment is now available in ``contrib/Dockerfile``. (`#1738 <https://github.com/freifunk-gluon/gluon/pull/1738>`_)


Reload of domain related services
=================================

A mechanism to reload domain related services is now available. (`#1710 <https://github.com/freifunk-gluon/gluon/pull/1710>`_)


.. _releases-v2019.1-known-issues:


Known issues
************

* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown (`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)

Reducing the TX power in the Advanced Settings is recommended.

* The MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled (`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)

This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

* Inconsistent respondd API (`#522 <https://github.com/freifunk-gluon/gluon/issues/522>`_)

The current API is inconsistent and will be replaced eventually. The old API will still be supported for a while.

* Frequent reboots due to out-of-memory or high load due to memory pressure on weak hardware especially in larger meshes
(`#1243 <https://github.com/freifunk-gluon/gluon/issues/1243>`_)

Optimizations in Gluon 2018.1 have significantly improved memory usage.
There are still known bugs leading to unreasonably high load that we hope to
solve in future releases.

4 changes: 4 additions & 0 deletions docs/user/site.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ wifi24 \: optional
},
},

.. _user-site-wifi5:

wifi5 \: optional
Same as `wifi24` but for the 5Ghz radio.

Expand Down Expand Up @@ -516,6 +518,8 @@ setup_mode \: package
skip = true,
},

.. _user-site-build-configuration:

Build configuration
-------------------

Expand Down

0 comments on commit 9ad4768

Please sign in to comment.