site.conf 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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!
  39. mesh_ssid = 'XX:XX:XX:XX:XX:XX', -- ESSID used for mesh
  40. mesh_bssid = 'XX:XX:XX:XX:XX:XX', -- BSSID used for mesh
  41. -- Bitrate used for multicast/broadcast packets.
  42. mesh_mcast_rate = 12000,
  43. -- (optional) mesh VLAN on 802.11 ad-hoc interface (1-4095)
  44. -- mesh_vlan = 14,
  45. },
  46. -- Wireless configuration for 5 GHz interfaces.
  47. -- This should be equal to the 2.4 GHz variant, except
  48. -- for channel and htmode.
  49. wifi5 = {
  50. ssid = 'luebeck.freifunk.net',
  51. channel = 44,
  52. htmode = 'HT20',
  53. mesh_ssid = 'XX:XX:XX:XX:XX:XX',
  54. mesh_bssid = 'XX:XX:XX:XX:XX:XX',
  55. mesh_mcast_rate = 12000,
  56. -- mesh_vlan = 14,
  57. },
  58. -- The next node feature allows clients to always reach the node it is
  59. -- connected to using a known IP address.
  60. next_node = {
  61. -- anycast IPs of all nodes
  62. ip4 = '10.130.0.1',
  63. ip6 = 'fdef:ffc0:3dd7::1',
  64. -- anycast MAC of all nodes
  65. mac = '16:41:95:40:f7:dc',
  66. },
  67. -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
  68. -- what these options do.
  69. fastd_mesh_vpn = {
  70. -- List of crypto-methods to use.
  71. methods = {'salsa2012+gmac'},
  72. mtu = 1426,
  73. backbone = {
  74. -- Limit number of connected peers to reduce bandwidth.
  75. limit = 2,
  76. -- List of peers.
  77. peers = {
  78. burgtor = {
  79. key = '657af03e36ff1b8bbe5a5134982a4f110c8523a9a63293870caf548916a95a03',
  80. -- This is a list, so you might add multiple entries.
  81. remotes = {'ipv4 "burgtor.mesh.ffhl.chaotikum.org" port 10000'},
  82. },
  83. holstentor = {
  84. key = '8c660f7511bf101ea1b599fe53af20e1146cd923c9e9d2a3a0d534ee75af9067',
  85. remotes = {'ipv4 "holstentor.mesh.ffhl.chaotikum.org" port 10000'},
  86. },
  87. },
  88. },
  89. },
  90. autoupdater = {
  91. -- Default branch. Don't forget to set GLUON_BRANCH when building!
  92. branch = 'stable',
  93. -- List of branches. You may define multiple branches.
  94. branches = {
  95. stable = {
  96. name = 'stable',
  97. -- List of mirrors to fetch images from. IPv6 required!
  98. mirrors = {'http://1.updates.services.ffhl/stable/sysupgrade'},
  99. -- Number of good signatures required.
  100. -- Have multiple maintainers sign your build and only
  101. -- accept it when a sufficient number of them have
  102. -- signed it.
  103. good_signatures = 2,
  104. -- List of public keys of maintainers.
  105. pubkeys = {
  106. 'daa19b44bbd7033965e02088127bad9516ba0fea8f34267a777144a23ec8900c', -- Linus
  107. 'a8dd60765b07330a4bbfdf8406102befca132881a4b65f3efda32cf2d5b362d9', -- Nils
  108. '323bd3285c4e5547a89cd6da1f2aef67f1654b0928bbd5b104efc9dab2156d0b', -- NeoRaider
  109. },
  110. },
  111. },
  112. },
  113. -- Bandwidth limiting
  114. simple_tc = {
  115. mesh_vpn = {
  116. ifname = 'mesh-vpn',
  117. -- You may enable it by default here.
  118. enabled = false,
  119. -- Default upload limit (kbit/s).
  120. limit_egress = 200,
  121. -- Default download limit (kbit/s).
  122. limit_ingress = 3000,
  123. },
  124. },
  125. -- These strings are shown in config mode. Some HTML is permissible.
  126. --
  127. -- msg_welcome: shown at startup
  128. -- msg_pubkey: shown when VPN is enabled
  129. -- msg_reboot: shown during reboot (after finishing configuration)
  130. --
  131. -- You may use some variables, e.g.:
  132. --
  133. -- <%=hostname%> - the node's hostname
  134. -- <%=pubkey%> - the fastd public key
  135. -- <%=sysconfig.primary_mac%> - the node's primary MAC
  136. config_mode = {
  137. msg_welcome = [[
  138. Willkommen zum Einrichtungsassistenten für deinen neuen Lübecker
  139. Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
  140. entsprechend aus und sende es ab.
  141. ]],
  142. msg_pubkey = [[
  143. Dies ist der öffentliche Schlüssel deines Freifunk-Knotens. Erst nachdem
  144. er auf den Servern des Lübecker Freifunk-Projektes eingetragen wurde,
  145. kann sich dein Knoten mit dem Lübecker Mesh-VPN zu verbinden. Bitte
  146. schicke dazu diesen Schlüssel und den Namen deines Knotens
  147. (<em><%=hostname%></em>) an
  148. <a href="mailto:keys@luebeck.freifunk.net">keys@luebeck.freifunk.net</a>.
  149. ]],
  150. msg_reboot = [[
  151. <p>
  152. Dein Knoten startet gerade neu und wird anschließend versuchen,
  153. sich anschließend mit anderen Freifunk-Knoten in seiner Nähe zu
  154. verbinden. Weitere Informationen zur
  155. Lübecker Freifunk-Community findest du auf
  156. <a href="https://luebeck.freifunk.net/">unserer Webseite</a>.
  157. </p>
  158. <p>
  159. Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
  160. </p>
  161. ]],
  162. },
  163. }