site.conf 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. -- A new node's name will be autogenerated from
  3. -- it's primary MAC address and this prefix.
  4. -- e.g. freifunk-0123456789ab
  5. hostname_prefix = 'freifunk',
  6. -- name of this site
  7. -- site_name = 'Freifunk Hochstift - ${site}',
  8. site_name = 'Freifunk Hochstift',
  9. -- short name of this site
  10. -- site_code = 'ffho_${un-code}'
  11. site_code = 'ffho',
  12. default_domain = 'ffho_yho',
  13. -- timezone
  14. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  15. -- network-internal ntp service
  16. ntp_servers = {'ntp.srv.in.ffho.net'},
  17. -- regulatory domain of your wifi
  18. regdom = 'DE',
  19. -- wifi settings (2.4 GHz and 5 GHz)
  20. -- ap.ssid = 'hochstift.freifunk.net/${kürzel}',
  21. -- mesh.id = 'ffho-mesh-${group-name}',
  22. wifi24 = {
  23. mesh = {
  24. mcast_rate = 12000,
  25. },
  26. },
  27. wifi5 = {
  28. mesh = {
  29. mcast_rate = 12000,
  30. },
  31. },
  32. mesh_vpn = {
  33. -- the maximum transfer unit
  34. mtu = 1406,
  35. -- fastd (vpn) settings
  36. fastd = {
  37. -- cipher(s) to use
  38. configurable = true,
  39. methods = {'salsa2012+umac'},
  40. },
  41. -- default traffic shaping (bandwidth limit) settings
  42. bandwidth_limit = {
  43. enabled = false,
  44. egress = 500,
  45. ingress = 4000,
  46. },
  47. },
  48. -- configure the autoupdater
  49. autoupdater = {
  50. -- default branch for a firmware without enabled autoupdater
  51. branch = 'stable',
  52. -- available branches for the autoupdater
  53. branches = {
  54. stable = {
  55. -- visible name of this branch (why not use the internal identifier here, too)
  56. name = 'stable',
  57. -- where to get the manifest file (without the trailing /manifest)
  58. -- It's wise to use an internal address here,
  59. -- but specifying a publicly available update site does not hurt.
  60. mirrors = {'http://firmware.srv.in.ffho.net/stable/sysupgrade', 'http://[2a03:2260:2342:f251::6]/stable/sysupgrade', 'http://firmware.ffho.net/stable/sysupgrade'},
  61. -- Number of valid manifest signatures necessary to accept the manifest as "good".
  62. good_signatures = 3,
  63. -- list of public keys which are considered "good" for manifest signatures
  64. pubkeys = {
  65. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  66. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  67. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  68. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  69. },
  70. },
  71. testing = {
  72. name = 'testing',
  73. mirrors = {'http://firmware.srv.in.ffho.net/testing/sysupgrade', 'http://[2a03:2260:2342:f251::6]/testing/sysupgrade', 'http://firmware.ffho.net/testing/sysupgrade'},
  74. good_signatures = 2,
  75. pubkeys = {
  76. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  77. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  78. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  79. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  80. },
  81. },
  82. experimental = {
  83. name = 'experimental',
  84. mirrors = {'http://firmware.srv.in.ffho.net/experimental/sysupgrade', 'http://[2a03:2260:2342:f251::6]/experimental/sysupgrade', 'http://firmware.ffho.net/experimental/sysupgrade'},
  85. good_signatures = 1,
  86. pubkeys = {
  87. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  88. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  89. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  90. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  91. },
  92. },
  93. },
  94. },
  95. config_mode = {
  96. -- Show/hide the altitude field
  97. geo_location = {
  98. show_altitude = false,
  99. osm = {
  100. center = {
  101. lat = 51.695543946,
  102. lon = 8.958663940,
  103. },
  104. zoom = 11,
  105. },
  106. },
  107. -- define if the contact field is obligatory (optional)
  108. owner = {
  109. obligatory = false,
  110. },
  111. },
  112. -- configure DNS forwarding
  113. dns = {
  114. servers = { '2a03:2260:2342:f251::53' },
  115. },
  116. }