v2016.1.rst 7.9 KB

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