Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. -- This is an example site configuration for Gluon v2016.1+
  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 = 'fflip-d2-lip-',
  11.  
  12. -- Name of the community.
  13. site_name = 'Freifunk Lippe Domaene 2',
  14.  
  15. -- Shorthand of the community.
  16. site_code = 'fflip',
  17.  
  18. -- 32 bytes of random data, encoded in hexacimal
  19. -- Must be the same of all nodes in one mesh domain
  20. -- Can be generated using: echo $(hexdump -n 32 -e '1/1 "%02x"' </dev/urandom)
  21. domain_seed = '20f7a6bff2efe34b38c720d02761357225de1198d7674944bc39966a69854a2c',
  22.  
  23. -- Prefixes used within the mesh. Both are required.
  24. prefix4 = '10.15.8.0/21',
  25. prefix6 = '2a03:2260:2004:222::/64',
  26.  
  27. -- Timezone of your community.
  28. -- See http://wiki.openwrt.org/doc/uci/system#time_zones
  29. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  30.  
  31. -- List of NTP servers in your community.
  32. -- Must be reachable using IPv6!
  33. ntp_servers = {'0.de.pool.ntp.org', '1.de.pool.ntp.org', '2.de.pool.ntp.org', '3.de.pool.ntp.org'},
  34.  
  35. -- Wireless regulatory domain of your community.
  36. regdom = 'DE',
  37.  
  38. -- Wireless configuration for 2.4 GHz interfaces.
  39. wifi24 = {
  40. -- Wireless channel.
  41. channel = 9,
  42.  
  43. -- ESSID used for client network.
  44. ap = {
  45. ssid = 'lippe.freifunk.net',
  46. -- disabled = true, (optional)
  47. },
  48.  
  49. mesh = {
  50. -- Adjust these values!
  51. id = 'fflip-mesh-02',
  52. mcast_rate = 12000,
  53. -- disabled = true, (optional)
  54. },
  55. },
  56.  
  57. -- Wireless configuration for 5 GHz interfaces.
  58. -- This should be equal to the 2.4 GHz variant, except
  59. -- for channel.
  60. wifi5 = {
  61. channel = 44,
  62. ap = {
  63. ssid = 'lippe.freifunk.net',
  64. },
  65. mesh = {
  66. id = 'fflip-mesh-02',
  67. mcast_rate = 12000,
  68. },
  69. },
  70.  
  71. -- The next node feature allows clients to always reach the node it is
  72. -- connected to using a known IP address.
  73. next_node = {
  74. -- anycast IPs of all nodes
  75. ip4 = '10.15.8.1',
  76. ip6 = '2a03:2260:2004:222::1',
  77.  
  78. -- anycast MAC of all nodes
  79. mac = 'de:42:ab:cd:ef:43',
  80. },
  81.  
  82. poe_passthrough = true,
  83.  
  84. mesh_vpn = {
  85.  
  86. enabled = true,
  87. mtu = 1532,
  88.  
  89. tunneldigger = {
  90.  
  91. brokers = {
  92. 'hermann.freifunk-lippe.de:20002',
  93. 'arminius.freifunk-lippe.de:20002',
  94. },
  95.  
  96. bandwidth_limit = {
  97. enabled = false,
  98. ingress = 25000,
  99. egress = 5000,
  100. },
  101. },
  102. },
  103.  
  104. autoupdater = {
  105. branch = 'stable',
  106.  
  107. branches = {
  108. stable = {
  109. name = 'stable',
  110. -- List of mirrors to fetch images from. IPv6 required!
  111. mirrors = {'http://update.freifunk-lippe.de/stable/d2/lip/upgrade', 'http://update2.freifunk-lippe.de/stable/d2/lip/upgrade', 'http://update3.freifunk-lippe.de/stable/d2/lip/upgrade'},
  112. good_signatures = 2,
  113. -- List of public keys of maintainers.
  114. pubkeys = {
  115. '6c36b7cd1c78b7107994fccc6d9d6d31ba2bcb04f281f114a5a9e1043efef594', -- Michael
  116. '523b9680e41b04e28ef9f839856498859930e3033fd39a7118305f2e0fbc205c', -- Andre
  117. '57a43b0d8cd7af864dedee693ba364e50324c78da4a929067a9eea8f8aa6b768', -- Joerg
  118. },
  119. },
  120. },
  121. },
  122.  
  123. ssid_changer = {
  124. enabled = true,
  125. switch_timeframe = 30, -- only once every timeframe (in minutes) the SSID will change to the Offline-SSID
  126. -- set to 1440 to change once a day
  127. -- set to 1 minute to change every time the router gets offline
  128. first = 5, -- the first few minutes directly after reboot within which an Offline-SSID always may be activated (must be <= switch_timeframe)
  129. prefix = 'FF_Offline_', -- use something short to leave space for the nodename (no '~' allowed!)
  130. suffix = 'nodename', -- generate the SSID with either 'nodename', 'mac' or to use only the prefix: 'none'
  131.  
  132. tq_limit_enabled = false, -- if false, the offline SSID will only be set if there is no gateway reacheable
  133. -- upper and lower limit to turn the offline_ssid on and off
  134. -- in-between these two values the SSID will never be changed to prevent it from toggeling every minute.
  135. tq_limit_max = 45, -- upper limit, above that the online SSID will be used
  136. tq_limit_min = 35 -- lower limit, below that the offline SSID will be used
  137. },
  138.  
  139. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement