v2015.2.rst 3.6 KB

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