v2017.1.rst 6.8 KB

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