v2017.1.rst 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. Gluon 2017.1
  2. ============
  3. General changes
  4. ~~~~~~~~~~~~~~~
  5. Gluon 2017.1 is the first release of Gluon based on the LEDE 17.01 branch. The
  6. kernel has been updated from 3.18.x to 4.4.x.
  7. We've used the opportunity to greatly simplify the Gluon build system, removing
  8. many hacks that were required to make the build work with older OpenWrt releases.
  9. The *output/modules* directory is now called *output/packages* and provides a
  10. replacement for the whole repository with target-specific packages of LEDE (in
  11. contrast to packages that are common for all targets of the same architecture).
  12. **Note: There is an issue in all Gluon versions before 2016.2.6 that will
  13. lead to x86 systems losing their configuration when upgrading to Gluon 2017.1!**
  14. Older Gluon versions should be upgraded to 2016.2.6 first before switching to
  15. 2017.1.
  16. Another potential issue mostly affects virtual machines: Gluon 2017.1 images are
  17. bigger than 2016.2.x images on x86. If your virtual harddisk is based on a
  18. 2016.2.x image, it must be resized to 273MB or bigger before upgrading to Gluon
  19. 2017.1. Using qemu, the command
  20. ::
  21. qemu-img resize $IMAGE 273MB
  22. can be used to do this.
  23. Added hardware support
  24. ~~~~~~~~~~~~~~~~~~~~~~
  25. ar71xx-generic
  26. ^^^^^^^^^^^^^^
  27. * TP-Link
  28. - RE450
  29. - WBS210 v1.20
  30. - WBS510 v1.20
  31. * Ubiquiti
  32. - AirGateway LR
  33. - AirGateway PRO
  34. - Rocket M2/M5 Ti
  35. - UniFi AP LR
  36. ar71xx-tiny
  37. ^^^^^^^^^^^
  38. The new *ar71xx-tiny* target has split out of *ar71xx-generic*; all
  39. *ar71xx-generic* devices with only 4MB of flash have been moved to this target.
  40. In contrast to *ar71xx-generic*, *ar71xx-tiny* **does not support opkg anymore**
  41. to save some space.
  42. * TP-Link
  43. - TL-WA730RE v1
  44. - TL-WA7210N v2
  45. x86-generic
  46. ^^^^^^^^^^^
  47. The *x86-kvm* and *x86-xen_domu* targets have been removed; the *x86-generic*
  48. images now support these usecases as well, so no separate targets are needed
  49. anymore.
  50. x86-geode
  51. ^^^^^^^^^
  52. The new *x86-geode* target for hardware based on Geode CPUs has been added.
  53. New features
  54. ~~~~~~~~~~~~
  55. * Localization support has been added to the status page. In addition to German,
  56. there are English and Russian translations now (`#1044 <https://github.com/freifunk-gluon/gluon/issues/1044>`_)
  57. * Add support for making nodes a DNS cache for clients
  58. (`#1000 <https://github.com/freifunk-gluon/gluon/issues/1000>`_)
  59. See also: :doc:`../features/dns-cache`
  60. * Add L2TP via tunneldigger as an alternative VPN system
  61. (`#978 <https://github.com/freifunk-gluon/gluon/issues/978>`_)
  62. L2TP will usually give better performance than fastd as it runs in kernel
  63. space, but it does not provide encryption. Also, tunneling over IPv6 is
  64. currently unsupported by tunneldigger.
  65. It is not possible to include both fastd and tunneldigger in the same
  66. firmware.
  67. * Add source filter package (`#1015 <https://github.com/freifunk-gluon/gluon/issues/1015>`_)
  68. The new package *gluon-ebtables-source-filter* can be used to prevent traffic
  69. using unexpected IP addresses or packet types from entering the mesh.
  70. See also: :doc:`../package/gluon-ebtables-source-filter`
  71. Bugfixes
  72. ~~~~~~~~
  73. * Disabling batman-adv on an interface (for example when an Ethernet link is lost
  74. or before sysupgrades) could lead to a kernel crash in certain configurations
  75. (`#680 <https://github.com/freifunk-gluon/gluon/issues/680>`_)
  76. * A race condition in the network setup scripts could lead to incomplete setup
  77. during boot or when interfaces were added or removed from batman-adv after
  78. Ethernet link changes (`#905 <https://github.com/freifunk-gluon/gluon/issues/905>`_)
  79. The fix also solved the long-standing issue of Ethernet-only nodes (i.e. no
  80. WLAN or VPN mesh) not booting up correctly without an Ethernet mesh link.
  81. * Some fixes in the WLAN stack of LEDE have improved the stability of the ath9k
  82. driver (`#605 <https://github.com/freifunk-gluon/gluon/issues/605>`_)
  83. Site changes
  84. ~~~~~~~~~~~~
  85. site.mk
  86. ^^^^^^^
  87. * The *gluon-legacy* package does not exist anymore
  88. * All *gluon-luci-* packages have been renamed to *gluon-web-*
  89. * The *gluon-next-node* package has been merged into the Gluon core and must not
  90. be specified in *site.mk* anymore
  91. site.conf
  92. ^^^^^^^^^
  93. * The *fastd_mesh_vpn* configuration section has been restructured to allow
  94. sharing more options with tunneldigger. Instead of
  95. .. code-block:: lua
  96. fastd_mesh_vpn = {
  97. mtu = 1280,
  98. configurable = true,
  99. methods = {'salsa2012+umac'},
  100. groups = { ... },
  101. bandwidth_limit = { ... },
  102. }
  103. the configuration must look like this now:
  104. .. code-block:: lua
  105. mesh_vpn = {
  106. mtu = 1280,
  107. fastd = {
  108. configurable = true,
  109. methods = {'salsa2012+umac'},
  110. groups = { ... },
  111. }
  112. bandwidth_limit = { ... },
  113. }
  114. * The *opkg.openwrt* option has been renamed to *opkg.lede*
  115. i18n
  116. ^^^^
  117. * The *escape* function has been removed as it was duplicating the existing
  118. *pcdata* function. All uses of *escape* in i18n templates must be changed to
  119. use *pcdata* instead.
  120. * The *gluon-config-mode:altitude-label* and *gluon-config-mode:altitude-help*
  121. translation IDs have been added to allow adjusting the texts for different
  122. kinds of altitudes that might be expected.
  123. * The optional *gluon-config-mode:novpn* label has been added, which will be
  124. shown in place of *gluon-config-mode:pubkey* when mesh VPN is disabled.
  125. Internals
  126. ~~~~~~~~~
  127. * The LuCI base libraries have been replaced by a stripped-down
  128. version called "gluon-web" (`#1007 <https://github.com/freifunk-gluon/gluon/issues/1007>`_)
  129. Custom packages will need to be adjusted; in particular, all uses of *luci.model.uci*
  130. need to be replaced with *simple-uci*. The Gluon documentation explains the most important
  131. changes required to migrate from LuCI to gluon-web.
  132. * respondd now listens on ``ff05::2:1001`` in addition to ``ff02::2:1001`` for mesh-wide
  133. operation (`#984 <https://github.com/freifunk-gluon/gluon/issues/984>`_)
  134. Eventually, ``ff02::2:1001`` will be available for exchanging information
  135. between neighbouring nodes only; map servers should be moved to ``ff05::2:1001``.
  136. * batman-adv has been updated to version 2017.1
  137. * Directly running make commands in the *lede* directory is supported now. Consequently,
  138. build targets like ``target/linux/clean`` and ``package/NAME/compile`` can't be used
  139. in the Gluon repository root anymore.
  140. The command ``make config`` will set up the LEDE *.config* in the way a normal
  141. Gluon build would, so it's possible to build individual packages for testing
  142. and development afterwards.
  143. * Target definitions have been migrated from a Make-based format to a simpler
  144. shell-based DSL
  145. * Gluon does not pass any custom variables into the LEDE build anymore, so things
  146. like *GLUONDIR*, *GLUON_VERSION*, or *GLUON_SITEDIR* aren't available
  147. to package Makefiles in Gluon 2017.1.
  148. Instead of ``$(GLUONDIR)/package.mk``, ``$(TOPDIR)/../package/gluon.mk`` must
  149. be included in custom packages now.
  150. Known issues
  151. ~~~~~~~~~~~~
  152. * Default TX power on many Ubiquiti devices is too high, correct offsets are unknown (`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
  153. Reducing the TX power in the Advanced Settings is recommended.
  154. * 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>`_)
  155. This may lead to issues in environments where a fixed MAC address is expected (like VMware when promicious mode is disallowed).
  156. * Inconsistent respondd API (`#522 <https://github.com/freifunk-gluon/gluon/issues/522>`_)
  157. The current API is inconsistent and will be replaced eventually. The old API will still be supported for a while.