Skip to content
Snippets Groups Projects
v2014.3.rst 5.60 KiB

Gluon 2014.3

New hardware support

  • Linksys WRT160NL

New features

New autoupdater

The autoupdater has been rewritten.

Two now fields have been added to the manifest:

DATE
Specifies the time and date the update was released. make manifest will take care of setting it to the correct value.
PRIORITY
Specifies the maximum number of days until the update should be attempted (thus lower numbers mean the priority is higher). It must be set either in site.mk or on the make manifest command line.

Updates will be attempted at night, between 04:00 and 5:00, with a specific probability. When less than PRIORITY days have passed (calculated using DATE and the current time), the probability will proportional to the time passed. I.e. the update probability will start at 0 and slowly increase to 1 until PRIORITY days have passed. From then, the probability will be fixed at 1.

Note: For the new update logic to work, a valid NTP server reachable over the mesh (using IPv6) must be configured in site.mk. If the autoupdater is unable to determine the correct time, it will fall back to a behavior similar to the old implementation (i.e. hourly update attempts).

Seperation of announced data

The data announced by alfred has been split into two data types:

  • nodeinfo (type 158) contains all static information about a node
  • statistics (type 159) contains all dynamic information about a node

Both types also contain a new field node_id which contains an arbitrary unique ID (currently the primary MAC address, sans colons) which can be used to match the nodeinfo with statistics information.

gluon-announced

A new daemon has been added in a new package gluon-announced. This daemon can be used for querying the nodeinfo data of a node via link-local multicast on the ad-hoc interfaces.

At the moment, this daemon is not used, but we recommend including it in site.mk nevertheless as we plan to implement a new status page showing some information about neighbor nodes in the next version of Gluon.

VPN over IPv6

It is now possible to use fastd in IPv6 WAN networks. This still needs testing, but it should work well.

Please note that the MTU of 1426 used by many communities for VPN over IPv4 is too big for IPv6 as the IPv6 header is 20 bytes longer (fastd over IPv4 has an overhead of 66 bytes, fastd over IPv6 has an overhead of 86 bytes).

More modular Config Mode

The package gluon-config-mode has been split into multiple packages to simplify the development of extensions. The low-level logic (handling of the button, starting the services for the config mode) has been moved into a new package gluon-setup-mode, while gluon-config-mode only contains the frontend now.

Extended Expert Mode

The Expert Mode now has a nice info page. In addition, the new package gluon-luci-portconfig has been added which allows simple configuration of batman-adv on the WAN interface.

Site validators

The content of the site.conf is now validated when the images are built to make it less likely to accidentially build broken images.

gluon-firewall

The package gluon-firewall has been removed. Its features are now part of the packages gluon-core and gluon-mesh-batman-adv.

gluon-ath9k-workaround