v2015.1.rst 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. Gluon 2015.1
  2. ============
  3. Added hardware support
  4. ~~~~~~~~~~~~~~~~~~~~~~
  5. Gluon v2015.1 is the first release to officially support hardware
  6. that is not handled by the `ar71xx-generic` OpenWrt target. This also
  7. means that `ar71xx-generic` isn't the default target anymore, the ``GLUON_TARGET``
  8. variable must be set for all runs of ``make`` and ``make clean`` now.
  9. ar71xx-generic
  10. ^^^^^^^^^^^^^^
  11. * Allnet
  12. - ALL0315N
  13. * D-Link
  14. - DIR-615 (C1)
  15. * GL-Inet
  16. - 6408A (v1)
  17. - 6416A (v1)
  18. - WRT160NL
  19. * Netgear
  20. - WNDR3700 (v1, v2)
  21. - WNDR3800
  22. - WNDRMAC (v2)
  23. * TP-Link
  24. - TL-MR3220 (v2)
  25. - TL-WA701N/ND (v1)
  26. - TL-WA860RE (v1)
  27. - TL-WA901N/ND (v2, v3)
  28. - TL-WR743N/ND (v1, v2)
  29. - TL-WR941N/ND (v5)
  30. - TL-WR2543N/ND (v1)
  31. * Ubiquiti
  32. - Nanostation M XW
  33. - Loco M XW
  34. - UniFi AP Pro
  35. ar71xx-nand
  36. ^^^^^^^^^^^
  37. * Netgear
  38. - WNDR3700 (v4)
  39. - WNDR4300 (v1)
  40. mpc85xx-generic
  41. ^^^^^^^^^^^^^^^
  42. * TP-Link
  43. - TL-WDR4900 (v1)
  44. x86-generic
  45. ^^^^^^^^^^^
  46. * x86-generic
  47. * x86-virtualbox
  48. * x86-vmware
  49. x86-kvm_guest
  50. ^^^^^^^^^^^^^
  51. * x86-kvm
  52. New features
  53. ~~~~~~~~~~~~
  54. Multilingual config mode
  55. ^^^^^^^^^^^^^^^^^^^^^^^^
  56. All config and expert mode modules contain both English and German texts now. The English
  57. locale should always be enabled in ``site.mk`` (as English is the fallback language),
  58. German can be enabled in addition using the ``GLUON_LANGS`` setting.
  59. The language shown is autmatically determined from the headers sent by the user's
  60. browser.
  61. Mesh-on-LAN
  62. ^^^^^^^^^^^
  63. Gluon now supports meshing using a node's LAN ports. It can be enabled by
  64. default in `site.conf`, and configured by the user using the `gluon-luci-portconfig`
  65. expert mode package.
  66. Please note that nodes without the `mesh-on-lan` feature enabled must never be connected
  67. via their LAN ports.
  68. Extended WLAN configuration
  69. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  70. The new ``client_disabled`` and ``mesh_disabled`` keys in the ``wifi24`` and ``wifi5`` sections allow
  71. to disable the client and mesh networks by default, which may make sense for images for
  72. special installations.
  73. The new package `gluon-luci-wifi-config` allows the user to change these settings; in addition,
  74. the WLAN adapters' transmission power can be changed in this package.
  75. fastd "performance mode"
  76. ^^^^^^^^^^^^^^^^^^^^^^^^
  77. The new package `gluon-luci-mesh-vpn-fastd` allows the user to switch between the `security` and
  78. `performance` VPN settions. In `performance mode`, the method `null` will be prepended to the
  79. method list.
  80. The new option ``configurable`` in the ``fastd_mesh_vpn`` section of ``site.conf`` must be set to `true`
  81. so firmware upgrades don't overwrite the method list completely (non-`null` methods will still
  82. be overwritten). Adding the `gluon-luci-mesh-vpn-fastd` package enforces this setting.
  83. Altitude setting in `gluon-config-mode-geo-location`
  84. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  85. The `gluon-config-mode-geo-location` config mode module
  86. now contains an optional altitude field.
  87. `gluon-announced` rework
  88. ^^^^^^^^^^^^^^^^^^^^^^^^
  89. The `gluon-announced` package has been reworked to allow querying it from anywhere in the mesh.
  90. In contrast to `gluon-alfred`, it is based on a query-response model (the master multicasts a query,
  91. the nodes respond), while `gluon-alfred` uses periodic announcements.
  92. For now, we recommend including both `gluon-alfred` and `gluon-announced` in Gluon-based firmwares,
  93. until `gluon-announced` is ready to replace `gluon-alfred` completely, and software like the
  94. ffmap backend has been adjusted accordingly.
  95. Nested peer groups
  96. ^^^^^^^^^^^^^^^^^^
  97. Nested peer groups for the `fastd-mesh-vpn-fastd` package can now be configured in ``site.conf``,
  98. each with its own peer limit. This allows to add additional constaints, for example to connect
  99. to 2 peers altogether, but only 1 peer in each data center.
  100. Autoupdater manual branch override
  101. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  102. When running the updater manually on the command line, the branch to use can now be
  103. overridden using the ``-b`` option.
  104. Bugfixes
  105. ~~~~~~~~
  106. Accidental factory reset fix
  107. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  108. Pressing a node's reset button for more than 5 seconds would completely reset a node's
  109. configuration under certain conditions.
  110. WAN IPv6 issues
  111. ^^^^^^^^^^^^^^^
  112. The WAN port would stop to respond to IPv6 packets sometimes, also breaking IPv6 VPN connectivity.
  113. WDR4900 WAN MAC address
  114. ^^^^^^^^^^^^^^^^^^^^^^^
  115. The MAC address on the WAN port of the WDR4900 was broken, making this device unusable for `mesh-on-wan`
  116. configurations.
  117. Site changes
  118. ~~~~~~~~~~~~
  119. * ``site.conf``
  120. - ``hostname_prefix`` is now optional, and is concatenated directly with the
  121. generated node ID, in particular no hyphen is inserted anymore. If you want
  122. to keep the old behaviour, you have to append the hyphen to the
  123. ``hostname_prefix`` field of your ``site.conf``.
  124. - ``mesh_vpn_fastd``: The default peer group name ``backbone`` isn't hardcoded anymore, any
  125. group name can be used. Instead, the ``fastd_mesh_vpn`` table must now contain an element ``groups``,
  126. for example::
  127. fastd_mesh_vpn = {
  128. methods = {'salsa2012+umac'},
  129. mtu = 1426,
  130. groups = {
  131. backbone = {
  132. limit = 2,
  133. peers = {
  134. -- ...
  135. }
  136. }
  137. }
  138. }
  139. - ``config_mode``: The config mode messages aren't configured in ``site.conf`` anymore. Instead, they are
  140. defined language-specific gettext files in the ``i18n`` subdirectory of the site configuration (see
  141. :ref:`site-config-mode-texts`).
  142. - ``roles``: The display strings for the node roles aren't configured in the ``site.conf`` anymore, but
  143. in the site i18n files. The ``site.conf`` section becomes::
  144. roles = {
  145. default = 'foo',
  146. list = {
  147. 'foo',
  148. 'bar',
  149. }
  150. }
  151. The display string use i18n message IDs like ``gluon-luci-node-role:role:foo`` and ``gluon-luci-node-role:role:bar``.
  152. * ``site.mk``
  153. - ``gluon-mesh-batman-adv-15`` is now the recommended batman-adv version for new Gluon deployments.
  154. - The packages ``gluon-setup-mode`` and ``gluon-config-mode-core`` must now be
  155. added to ``GLUON_SITE_PACKAGES`` explicitly (to allow replacing them with
  156. community-specific implementations).
  157. - The new ``GLUON_LANGS`` variable selects the config mode languages to include. It defaults to ``en``,
  158. setting it to ``en de`` will select both the English and German locales. ``en`` must always be
  159. included.
  160. Internals
  161. ~~~~~~~~~
  162. New upgrade script directory
  163. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  164. The distinction between `initial` and `invariant` scripts has been removed,
  165. all scripts are now run on each upgrade. Instead of having one script directory
  166. per package, all upgrade scripts lie in ``/lib/gluon/upgrade`` now, so it is
  167. possible to define the run order across packages.
  168. Merged package repository
  169. ^^^^^^^^^^^^^^^^^^^^^^^^^
  170. The Gluon-specific packages have been moved to the ``package`` directory of the Gluon
  171. main repository. The ``packages`` repository now only contains packages that will be
  172. submitted to the OpenWrt upstream eventually.
  173. Known Issues
  174. ~~~~~~~~~~~~
  175. Alfred/respondd crashes
  176. ^^^^^^^^^^^^^^^^^^^^^^^
  177. https://github.com/freifunk-gluon/gluon/issues/177
  178. Occasional alfred crashes may still occur. As this is caused by a kernel issue,
  179. we suspect that respondd, which gluon-announced is based on, is affected
  180. in the same way.
  181. Ignored TX power offset on Ubiquiti AirMax devices
  182. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  183. https://github.com/freifunk-gluon/gluon/issues/94
  184. The default transmission power setting on many of these devices
  185. is too high. It may be necessary to make manual adjustments, for example
  186. using the ``gluon-luci-wifi-config`` package. The values shown by
  187. ``gluon-luci-wifi-config`` generally include the TX power offset
  188. (amplifier and antenna gain) where available, but on many devices
  189. the offset is inaccurate or unavailable.