v2015.2.rst 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. Gluon 2015.2 (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. x86-xen_domu
  19. ^^^^^^^^^^^^
  20. New target containing the necessary drivers for use in Xen.
  21. x86-64
  22. ^^^^^^
  23. 64bit version of `x86-generic`. The generic image can also be used in KVM with VirtIO.
  24. New features
  25. ~~~~~~~~~~~~
  26. Bugfixes
  27. ~~~~~~~~
  28. Site changes
  29. ~~~~~~~~~~~~
  30. * ``site.conf``
  31. - New WLAN configuration
  32. ``wifi24`` and ``wifi5`` need to be updated to a new more flexible format.
  33. A configuration using the old format
  34. ::
  35. {
  36. channel = 1,
  37. htmode = 'HT20'
  38. ssid = 'entenhausen.freifunk.net',
  39. mesh_ssid = 'xe:xx:xx:xx:xx:xx',
  40. mesh_bssid = 'xe:xx:xx:xx:xx:xx',
  41. mesh_mcast_rate = 12000,
  42. }
  43. would look like this in the new format::
  44. {
  45. channel = 1,
  46. ap = {
  47. ssid = 'entenhausen.freifunk.net',
  48. },
  49. ibss = {
  50. ssid = 'xe:xx:xx:xx:xx:xx',
  51. bssid = 'xe:xx:xx:xx:xx:xx',
  52. mcast_rate = 12000,
  53. },
  54. }
  55. The ``htmode`` option has been dropped, the channel width is now always set to 20MHz
  56. (see https://github.com/freifunk-gluon/gluon/issues/487 for a discussion of this change).
  57. In addition to the old IBSS (Adhoc) based meshing, 802.11s-based meshing can be configured
  58. using the ``mesh`` section. Example::
  59. {
  60. channel = 1,
  61. ap = {
  62. ssid = 'entenhausen.freifunk.net',
  63. },
  64. mesh = {
  65. id = 'mesh.entenhausen.freifunk.net', -- can by any string, human-readable or random
  66. mcast_rate = 12000,
  67. },
  68. }
  69. While using ``ibss`` and ``mesh`` at the same time is possible, is causes high load in
  70. very active meshes, so it is advisable to avoid such configurations.
  71. - Bandwidth limitation defaults
  72. The old section ``simple_tc.mesh_vpn`` has been moved to ``fastd_mesh_vpn.bandwidth_limit`` and the ``ifname``
  73. field isn't used anymore. What looked like this
  74. before
  75. ::
  76. simple_tc = {
  77. mesh_vpn = {
  78. ifname = 'mesh-vpn',
  79. enabled = false,
  80. limit_ingress = 3000,
  81. limit_egress = 200,
  82. }
  83. }
  84. needs to be changed to
  85. ::
  86. fastd_mesh_vpn = {
  87. -- ...
  88. bandwidth_limit = {
  89. enabled = false,
  90. ingress = 3000,
  91. egress = 200,
  92. },
  93. }
  94. - opkg repository configuration
  95. The opkg configuration has been changed to be more flexible and allow specifying custom repositories.
  96. Example::
  97. opkg = {
  98. openwrt = 'http://opkg.services.ffeh/openwrt/%n/%v/%S/packages',
  99. extra = {
  100. modules = 'http://opkg.services.ffeh/modules/gluon-%GS-%GR/%S',
  101. },
  102. }
  103. The keys of the ``extra`` table (like ``modules`` in this example) can be chosen arbitrarily.
  104. Instead of explicitly specifying the whole URL, using patterns is recommended. The following
  105. patterns are understood:
  106. - ``%n`` is replaced by the OpenWrt version codename (e.g. "chaos_calmer")
  107. - ``%v`` is replaced by the OpenWrt version number (e.g. "15.05")
  108. - ``%S`` is replaced by the target architecture (e.g. "ar71xx/generic")
  109. - ``%GS`` is replaced by the Gluon site code (as specified in ``site.conf``)
  110. - ``%GV`` is replaced by the Gluon version
  111. - ``%GR`` is replaced by the Gluon release (as specified in ``site.mk``)
  112. * ``i18n/``
  113. - The translations of ``gluon-config-mode:pubkey`` now have to show the fastd
  114. public key itself if desired, making the formatting of the key and whether it is shown at
  115. all configurable. To retain the old format, add ``<p>`` to the beginning of
  116. your translations and append::
  117. "</p>"
  118. "<div class=\"the-key\">"
  119. " # <%= hostname %>"
  120. " <br/>"
  121. "<%= pubkey %>"
  122. "</div>"
  123. Internals
  124. ~~~~~~~~~
  125. Known Issues
  126. ~~~~~~~~~~~~