site.conf 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. -- This is an example site configuration for Gluon v2014.4
  2. --
  3. -- Take a look at the documentation located at
  4. -- http://gluon.readthedocs.org/ for details.
  5. --
  6. -- This configuration will not work as it. You're required to make
  7. -- community specific changes to it!
  8. {
  9. -- Used for generated hostnames, e.g. freifunk-abcdef123456.
  10. hostname_prefix = 'freifunk',
  11. -- Name of the community.
  12. site_name = 'Freifunk Lübeck',
  13. -- Shorthand of the community.
  14. site_code = 'ffhl',
  15. -- Prefixes used within the mesh. Both are required.
  16. prefix4 = '10.130.0.0/20',
  17. prefix6 = 'fdef:ffc0:3dd7::/64',
  18. -- Timezone of your community.
  19. -- See http://wiki.openwrt.org/doc/uci/system#time.zones
  20. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
  21. -- List of NTP servers in your community.
  22. -- Must be reachable using IPv6!
  23. ntp_servers = {'1.ntp.services.ffhl'},
  24. -- Wireless regulatory domain of your community.
  25. regdom = 'DE',
  26. -- Wireless configuratoin for 2.4 GHz interfaces.
  27. wifi24 = {
  28. -- Wireless channel.
  29. channel = 1,
  30. -- ESSID used for client network.
  31. ssid = 'luebeck.freifunk.net',
  32. -- Specifies the channel width in 802.11n and 802.11ac mode.
  33. -- Possible values are:
  34. -- HT20 (single 20MHz channel),
  35. -- HT40- (2x 20MHz channels, secondary below)
  36. -- HT40+ (2x 20MHz channels, secondary above)
  37. htmode = 'HT20',
  38. -- Adjust these values! ff... will not work!
  39. mesh_ssid = 'ff:ff:ff:ff:ff:ff', -- ESSID used for mesh
  40. mesh_bssid = 'ff:ff:ff:ff:ff:ff', -- BSSID used for mesh
  41. -- Bitrate used for multicast/broadcast packets.
  42. mesh_mcast_rate = 12000,
  43. },
  44. -- Wireless configuration for 5 GHz interfaces.
  45. -- This should be equal to the 2.4 GHz variant, except
  46. -- for channel and htmode.
  47. wifi5 = {
  48. ssid = 'luebeck.freifunk.net',
  49. channel = 44,
  50. htmode = 'HT20',
  51. mesh_ssid = 'ff:ff:ff:ff:ff:ff',
  52. mesh_bssid = 'ff:ff:ff:ff:ff:ff',
  53. mesh_mcast_rate = 12000,
  54. },
  55. -- The next node feature allows clients to always reach the node it is
  56. -- connected to using a known IP address.
  57. next_node = {
  58. -- anycast IPs of all nodes
  59. ip4 = '10.130.0.1',
  60. ip6 = 'fdef:ffc0:3dd7::1',
  61. -- anycast MAC of all nodes
  62. mac = '16:41:95:40:f7:dc',
  63. },
  64. -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
  65. -- what these options do.
  66. fastd_mesh_vpn = {
  67. -- List of crypto-methods to use.
  68. methods = {'salsa2012+gmac'},
  69. mtu = 1426,
  70. backbone = {
  71. -- Limit number of connected peers to reduce bandwidth.
  72. limit = 2,
  73. -- List of peers.
  74. peers = {
  75. burgtor = {
  76. key = '657af03e36ff1b8bbe5a5134982a4f110c8523a9a63293870caf548916a95a03',
  77. -- This is a list, so you might add multiple entries.
  78. remotes = {'ipv4 "burgtor.mesh.ffhl.chaotikum.org" port 10000'},
  79. },
  80. holstentor = {
  81. key = '8c660f7511bf101ea1b599fe53af20e1146cd923c9e9d2a3a0d534ee75af9067',
  82. remotes = {'ipv4 "holstentor.mesh.ffhl.chaotikum.org" port 10000'},
  83. },
  84. },
  85. },
  86. },
  87. autoupdater = {
  88. -- Default branch. Don't forget to set GLUON_BRANCH when building!
  89. branch = 'stable',
  90. -- List of branches. You may define multiple branches.
  91. branches = {
  92. stable = {
  93. name = 'stable',
  94. -- List of mirrors to fetch images from. IPv6 required!
  95. mirrors = {'http://1.updates.services.ffhl/stable/sysupgrade'},
  96. -- Number of good signatures required.
  97. -- Have multiple maintainers sign your build and only
  98. -- accept it when a sufficient number of them have
  99. -- signed it.
  100. good_signatures = 2,
  101. -- List of public keys of maintainers.
  102. pubkeys = {
  103. 'daa19b44bbd7033965e02088127bad9516ba0fea8f34267a777144a23ec8900c', -- Linus
  104. 'a8dd60765b07330a4bbfdf8406102befca132881a4b65f3efda32cf2d5b362d9', -- Nils
  105. '323bd3285c4e5547a89cd6da1f2aef67f1654b0928bbd5b104efc9dab2156d0b', -- NeoRaider
  106. },
  107. },
  108. },
  109. },
  110. -- Bandwidth limiting
  111. simple_tc = {
  112. mesh_vpn = {
  113. ifname = 'mesh-vpn',
  114. -- You may enable it by default here.
  115. enabled = false,
  116. -- Default upload limit (kbit/s).
  117. limit_egress = 200,
  118. -- Default download limit (kbit/s).
  119. limit_ingress = 3000,
  120. },
  121. },
  122. -- These strings are shown in config mode. Some HTML is permissible.
  123. --
  124. -- msg_welcome: shown at startup
  125. -- msg_pubkey: shown when VPN is enabled
  126. -- msg_reboot: shown during reboot (after finishing configuration)
  127. --
  128. -- You may use some variables, e.g.:
  129. --
  130. -- <%=hostname%> - the node's hostname
  131. -- <%=pubkey%> - the fastd public key
  132. -- <%=sysconfig.primary_mac%> - the node's primary MAC
  133. config_mode = {
  134. msg_welcome = [[
  135. Willkommen zum Einrichtungsassistenten für deinen neuen Lübecker
  136. Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
  137. entsprechend aus und sende es ab.
  138. ]],
  139. msg_pubkey = [[
  140. Dies ist der öffentliche Schlüssel deines Freifunk-Knotens. Erst nachdem
  141. er auf den Servern des Lübecker Freifunk-Projektes eingetragen wurde,
  142. kann sich dein Knoten mit dem Lübecker Mesh-VPN zu verbinden. Bitte
  143. schicke dazu diesen Schlüssel und den Namen deines Knotens
  144. (<em><%=hostname%></em>) an
  145. <a href="mailto:keys@luebeck.freifunk.net">keys@luebeck.freifunk.net</a>.
  146. ]],
  147. msg_reboot = [[
  148. <p>
  149. Dein Knoten startet gerade neu und wird anschließend versuchen,
  150. sich anschließend mit anderen Freifunk-Knoten in seiner Nähe zu
  151. verbinden. Weitere Informationen zur
  152. Lübecker Freifunk-Community findest du auf
  153. <a href="https://luebeck.freifunk.net/">unserer Webseite</a>.
  154. </p>
  155. <p>
  156. Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
  157. </p>
  158. ]],
  159. },
  160. }