v2016.1.rst 8.0 KB

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