site.conf 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. (optional)
  10. -- hostname_prefix = 'freifunk-',
  11. -- Name of the community.
  12. site_name = 'Freifunk Entenhausen',
  13. -- Shorthand of the community.
  14. site_code = 'ffxx',
  15. -- Prefixes used within the mesh. Both are required.
  16. prefix4 = '10.xxx.0.0/20',
  17. prefix6 = 'fdxx:xxxx:xxxx::/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.ffxx'},
  24. -- Wireless regulatory domain of your community.
  25. regdom = 'DE',
  26. -- Wireless configuration for 2.4 GHz interfaces.
  27. wifi24 = {
  28. -- Wireless channel.
  29. channel = 1,
  30. -- ESSID used for client network.
  31. ssid = 'entenhausen.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 = 'xe:xx:xx:xx:xx:xx', -- ESSID used for mesh
  40. mesh_bssid = 'xe: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. -- client_disabled = true,
  46. -- mesh_disabled = false,
  47. },
  48. -- Wireless configuration for 5 GHz interfaces.
  49. -- This should be equal to the 2.4 GHz variant, except
  50. -- for channel and htmode.
  51. wifi5 = {
  52. ssid = 'entenhausen.freifunk.net',
  53. channel = 44,
  54. htmode = 'HT20',
  55. mesh_ssid = 'xx:xx:xx:xx:xx:xx',
  56. mesh_bssid = 'xx:xx:xx:xx:xx:xx',
  57. mesh_mcast_rate = 12000,
  58. -- mesh_vlan = 14,
  59. -- client_disabled = true,
  60. -- mesh_disabled = false,
  61. },
  62. -- The next node feature allows clients to always reach the node it is
  63. -- connected to using a known IP address.
  64. next_node = {
  65. -- anycast IPs of all nodes
  66. ip4 = '10.xxx.0.xxx',
  67. ip6 = 'fdxx:xxxx:xxxx::xxxx',
  68. -- anycast MAC of all nodes
  69. mac = 'xe:xx:xx:xx:xx:xx',
  70. },
  71. -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
  72. -- what these options do.
  73. fastd_mesh_vpn = {
  74. -- List of crypto-methods to use.
  75. methods = {'salsa2012+umac'},
  76. mtu = 1426,
  77. backbone = {
  78. -- Limit number of connected peers to reduce bandwidth.
  79. limit = 2,
  80. -- List of peers.
  81. peers = {
  82. peer1 = {
  83. key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  84. -- This is a list, so you might add multiple entries.
  85. remotes = {'ipv4 "xxx.somehost.invalid" port xxxxxx'},
  86. },
  87. peer2 = {
  88. key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  89. -- You can also omit the ipv4 to allow both connection via ipv4 and ipv6
  90. remotes = {'"xxx.somehost2.invalid" port xxxxx'},
  91. },
  92. },
  93. },
  94. },
  95. autoupdater = {
  96. -- Default branch. Don't forget to set GLUON_BRANCH when building!
  97. branch = 'stable',
  98. -- List of branches. You may define multiple branches.
  99. branches = {
  100. stable = {
  101. name = 'stable',
  102. -- List of mirrors to fetch images from. IPv6 required!
  103. mirrors = {'http://1.updates.services.ffhl/stable/sysupgrade'},
  104. -- Number of good signatures required.
  105. -- Have multiple maintainers sign your build and only
  106. -- accept it when a sufficient number of them have
  107. -- signed it.
  108. good_signatures = 2,
  109. -- List of public keys of maintainers.
  110. pubkeys = {
  111. 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- Alice
  112. 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- Bob
  113. 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- Mary
  114. },
  115. },
  116. },
  117. },
  118. -- Node roles
  119. -- roles {
  120. -- default = 'node',
  121. -- list = {
  122. -- node = 'Normal Node',
  123. -- test = 'Test Node',
  124. -- backbone = 'Backbone Node',
  125. -- service = 'Service Node',
  126. -- },
  127. -- },
  128. -- Bandwidth limiting
  129. simple_tc = {
  130. mesh_vpn = {
  131. ifname = 'mesh-vpn',
  132. -- You may enable it by default here.
  133. enabled = false,
  134. -- Default upload limit (kbit/s).
  135. limit_egress = 200,
  136. -- Default download limit (kbit/s).
  137. limit_ingress = 3000,
  138. },
  139. },
  140. -- Skip setup mode (config mode) on first boot
  141. -- setup_mode = {
  142. -- skip = true,
  143. -- },
  144. }