v2016.1.rst 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. Gluon 2016.1 (in development)
  2. =============================
  3. Added hardware support
  4. ~~~~~~~~~~~~~~~~~~~~~~
  5. ar71xx-generic
  6. ^^^^^^^^^^^^^^
  7. * Buffalo
  8. - WZR-HP-G300NH
  9. * D-Link
  10. - DIR-505 (A1)
  11. * TP-Link
  12. - CPE210/220/510/520 v1.1
  13. - TL-WA901N/ND v1
  14. - TL-WR710N v2
  15. - TL-WR801N/ND v1, v2
  16. - TL-WR841N/ND v10
  17. - TL-WR940N v1, v2, v3
  18. - TL-WR941ND v6
  19. - TL-WR1043N/ND v3
  20. * Ubiquiti
  21. - airGateway
  22. * Western Digital
  23. - My Net N600
  24. - My Net N750
  25. x86-xen_domu
  26. ^^^^^^^^^^^^
  27. New target containing the necessary drivers for use in Xen.
  28. x86-64
  29. ^^^^^^
  30. 64bit version of `x86-generic`. The generic image can also be used in KVM with VirtIO.
  31. New features
  32. ~~~~~~~~~~~~
  33. Kernel module opkg repository
  34. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  35. We've not been able to keep ABI compatiblity with the kernel of the official OpenWrt images.
  36. Therefore, Gluon now generates a opkg repository with modules itself.
  37. The repository can be found at `output/modules/` by default, the image output directory has
  38. been moved from `images/` to `output/images/`. See the updated :doc:`../user/getting_started` guide
  39. for information on the handling of the signing keys for this repository.
  40. The `opkg_repo` site.conf option has been replaced to allow specifying this and other additional repositories.
  41. New status page
  42. ^^^^^^^^^^^^^^^
  43. The new status page provides a visually pleasing experience, and displays all important information
  44. on a node in a clear manner. It also contains a real-time signal strength graph for all neighbouring
  45. nodes to aid with the alignment of antennas.
  46. 802.11s mesh support
  47. ^^^^^^^^^^^^^^^^^^^^
  48. Gluon now supports using 802.11s for its mesh links instead of IBSS (Adhoc). This will allow supporting
  49. WLAN hardware which can't to AP and IBSS mode simultaneously in the future (like Ralink/Mediatek).
  50. Note that batman-adv is still used on top of 802.11s (and 802.11s forwarding is disabled), the mesh routing protocol
  51. provided by 802.11s is not used.
  52. Multicast filter extension
  53. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  54. The `gluon-ebtables-filter-multicast` package has been extended to filter out multicast
  55. ICMP and ICMPv6 Echo Requests (ping) and Node Information Queries (RFC4620). This prevents
  56. pings to multicast addresses like ff02::1 to cause traffic peaks
  57. (as all nodes and clients would answer such a ping).
  58. French translation
  59. ^^^^^^^^^^^^^^^^^^
  60. A French translation for the Config Mode/Expert Mode has been added.
  61. Bugfixes
  62. ~~~~~~~~
  63. * Update kernel code for the QCA953x
  64. Might improve stability of the TP-Link TL-WR841N/ND v9.
  65. * Fix model detection on some Netgear WNDR3700v2
  66. The broken devices will identify as "NETGEAR ".
  67. This also breaks the autoupdater, making a manual upgrade necessary.
  68. * Ensure that `odhcp6c` doesn't spawn multiple instances of ``dhcpv6.script``
  69. * Fix support for Buffalo WZR-600DHP
  70. A flashable factory image is generated now. The sysupgrade image is still shared
  71. with the WZR-HP-AG300H.
  72. Site changes
  73. ~~~~~~~~~~~~
  74. * ``site.conf``
  75. - New WLAN configuration
  76. ``wifi24`` and ``wifi5`` need to be updated to a new more flexible format.
  77. A configuration using the old format
  78. ::
  79. {
  80. channel = 1,
  81. htmode = 'HT20'
  82. ssid = 'entenhausen.freifunk.net',
  83. mesh_ssid = 'xe:xx:xx:xx:xx:xx',
  84. mesh_bssid = 'xe:xx:xx:xx:xx:xx',
  85. mesh_mcast_rate = 12000,
  86. }
  87. would look like this in the new format::
  88. {
  89. channel = 1,
  90. ap = {
  91. ssid = 'entenhausen.freifunk.net',
  92. },
  93. ibss = {
  94. ssid = 'xe:xx:xx:xx:xx:xx',
  95. bssid = 'xe:xx:xx:xx:xx:xx',
  96. mcast_rate = 12000,
  97. },
  98. }
  99. The ``htmode`` option has been dropped, the channel width is now always set to 20MHz
  100. (see https://github.com/freifunk-gluon/gluon/issues/487 for a discussion of this change).
  101. In addition to the old IBSS (Adhoc) based meshing, 802.11s-based meshing can be configured
  102. using the ``mesh`` section. Example::
  103. {
  104. channel = 1,
  105. ap = {
  106. ssid = 'entenhausen.freifunk.net',
  107. },
  108. mesh = {
  109. id = 'mesh.entenhausen.freifunk.net', -- can by any string, human-readable or random
  110. mcast_rate = 12000,
  111. },
  112. }
  113. While using ``ibss`` and ``mesh`` at the same time is possible, is causes high load in
  114. very active meshes, so it is advisable to avoid such configurations.
  115. - Bandwidth limitation defaults
  116. The old section ``simple_tc.mesh_vpn`` has been moved to ``fastd_mesh_vpn.bandwidth_limit`` and the ``ifname``
  117. field isn't used anymore. What looked like this
  118. before
  119. ::
  120. simple_tc = {
  121. mesh_vpn = {
  122. ifname = 'mesh-vpn',
  123. enabled = false,
  124. limit_ingress = 3000,
  125. limit_egress = 200,
  126. }
  127. }
  128. needs to be changed to
  129. ::
  130. fastd_mesh_vpn = {
  131. -- ...
  132. bandwidth_limit = {
  133. enabled = false,
  134. ingress = 3000,
  135. egress = 200,
  136. },
  137. }
  138. - opkg repository configuration
  139. The opkg configuration has been changed to be more flexible and allow specifying custom repositories.
  140. Example::
  141. opkg = {
  142. openwrt = 'http://opkg.services.ffeh/openwrt/%n/%v/%S/packages',
  143. extra = {
  144. modules = 'http://opkg.services.ffeh/modules/gluon-%GS-%GR/%S',
  145. },
  146. }
  147. The keys of the ``extra`` table (like ``modules`` in this example) can be chosen arbitrarily.
  148. Instead of explicitly specifying the whole URL, using patterns is recommended. The following
  149. patterns are understood:
  150. - ``%n`` is replaced by the OpenWrt version codename (e.g. "chaos_calmer")
  151. - ``%v`` is replaced by the OpenWrt version number (e.g. "15.05")
  152. - ``%S`` is replaced by the target architecture (e.g. "ar71xx/generic")
  153. - ``%GS`` is replaced by the Gluon site code (as specified in ``site.conf``)
  154. - ``%GV`` is replaced by the Gluon version
  155. - ``%GR`` is replaced by the Gluon release (as specified in ``site.mk``)
  156. * ``i18n/``
  157. - The translations of ``gluon-config-mode:pubkey`` now have to show the fastd
  158. public key themselves if desired, making the formatting of the key and whether it is shown at
  159. all configurable. To retain the old format, add ``<p>`` to the beginning of
  160. your translations and append::
  161. "</p>"
  162. "<div class=\"the-key\">"
  163. " # <%= hostname %>"
  164. " <br/>"
  165. "<%= pubkey %>"
  166. "</div>"
  167. Internals
  168. ~~~~~~~~~
  169. * OpenWrt has been updated to Chaos Calmer
  170. * mac80211 has been backported from OpenWrt trunk r47249 (wireless-testing 2015-07-21)
  171. This allows us to support the TL-WR940N v3/TL-WR941ND v6, which uses a TP9343 (QCA956x) SoC.
  172. * Several packages have been moved from the Gluon repo to the packages repo, removing references to Gluon:
  173. - gluon-cron -> micrond (the crontabs are now read from ``/usr/lib/micron.d`` instead of ``/lib/gluon/cron``)
  174. - gluon-radvd -> uradvd
  175. - gluon-simple-tc -> simple-tc (the config file has been renamed as well)
  176. * Some of the Gluon-specific i18n support code in the build system has been removed, as LuCI now provides
  177. similar facilities
  178. * The C-based `luci-lib-jsonc` library is now used for JSON encoding/decoding instead of the pure Lua `luci-lib-json`
  179. Known Issues
  180. ~~~~~~~~~~~~
  181. * Default TX power on many Ubiquiti devices is too high, correct offsets are unknown (`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
  182. Reducing the TX power in the Expert Mode is recommended.
  183. * batman-adv causes stability issues for both alfred and respondd/announced (`#177 <https://github.com/freifunk-gluon/gluon/issues/177>`_)
  184. * 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>`_)
  185. This may lead to issues in environments where a fixed MAC address is expected (like VMware when promicious mode is disallowed).
  186. * Inconsistent respondd/announced API (`#522 <https://github.com/freifunk-gluon/gluon/issues/522>`_)
  187. The current API is inconsistent and will be replaced in the next release. The old API will still be supported for a while.