site.conf 4.76 KB
Newer Older
1
-- Freifunk Saar Gluon site config
2 3 4
--
-- Take a look at the documentation located at
-- http://gluon.readthedocs.org/ for details.
5 6
{
  -- Used for generated hostnames, e.g. freifunk-abcdef123456.
Tobias Theobald's avatar
Tobias Theobald committed
7
  hostname_prefix = 'ffsaar-',
8 9

  -- Name of the community.
10
  site_name = 'Freifunk Saar',
11 12

  -- Shorthand of the community.
13
  site_code = 'ffsaar',
14

Ralf's avatar
Ralf committed
15 16
  -- Default domain.
  default_domain = 'saar',
17 18 19 20 21 22 23 24

  -- Timezone of your community.
  -- See http://wiki.openwrt.org/doc/uci/system#time.zones
  timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',

  -- Wireless regulatory domain of your community.
  regdom = 'DE',

25 26 27 28 29 30 31 32
  -- Network services (that work the same in all domains).
  ntp_servers = {
    'gw1.ffsaar',
    'gw2.ffsaar',
    'gw3.ffsaar',
    'gw4.ffsaar',
  },

Ralf's avatar
Ralf committed
33 34 35 36 37 38
  -- Mesh settings.
  mesh = {
    batman_adv = {
      routing_algo = 'BATMAN_IV',
    },
  },
39

Ralf's avatar
Ralf committed
40 41 42 43 44 45 46 47
  -- VPN settings.
  mesh_vpn = {
    enabled = true,
    mtu = 1406,
    bandwidth_limit = {
     enabled = false,
     ingress = 8000,
     egress = 2000,
48
    },
Ralf's avatar
Ralf committed
49
  },
50

Ralf's avatar
Ralf committed
51 52
  -- Wireless configuration for 2.4 GHz interfaces.
  wifi24 = {
Ralf's avatar
Ralf committed
53 54 55
    mesh = {
      mcast_rate = 12000,
    },
56 57 58
  },
  -- Wireless configuration for 5 GHz interfaces.
  wifi5 = {
59 60 61
    mesh = {
      mcast_rate = 12000,
    },
62 63
  },

Ralf's avatar
Ralf committed
64
  -- Config mode settings.
Ralf's avatar
Ralf committed
65 66 67 68 69 70 71 72 73 74 75 76
  config_mode = {
    geo_location = {
      osm = {
        center = {
          lat = 49.3761,
          lon = 6.9468,
        },
        zoom = 10,
      },
    },
  },

Ralf's avatar
Ralf committed
77
  -- Auto-updater settings.
78
  autoupdater = {
79
    enabled = true,
80
    -- Default branch. Don't forget to set GLUON_BRANCH when building!
Tobias Theobald's avatar
Tobias Theobald committed
81
    branch = 'stable',
82 83 84 85 86 87 88

    -- List of branches. You may define multiple branches.
    branches = {
      stable = {
        name = 'stable',

        -- List of mirrors to fetch images from. IPv6 required!
89
        mirrors = {
Tobias Theobald's avatar
Tobias Theobald committed
90
          'http://mgmt.ffsaar/firmware/stable/sysupgrade',
Ralf's avatar
Ralf committed
91
          'http://mgmt.saar.freifunk.net/firmware/stable/sysupgrade',
Ralf's avatar
Ralf committed
92
          'http://[fd4e:f2d7:88d2:ffff::fe]/firmware/stable/sysupgrade',
93 94 95 96 97 98
        },

        -- Number of good signatures required.
        -- Have multiple maintainers sign your build and only
        -- accept it when a sufficient number of them have
        -- signed it.
Marvin W's avatar
Marvin W committed
99
        good_signatures = 3,
100 101 102

        -- List of public keys of maintainers.
        pubkeys = {
103
          'dda7d8951b20b8cbd97f24812a13e1337e39d92c1edfe99a0636da21ae6be1c8', -- Buildbot
104
          '1672831cfc45652702485adb1ce5e6c7fbaed0dd7f577e7ac13492c58aa9c5f5', -- Tobias
Ralf's avatar
Ralf committed
105
          'e79a771b0e1f3773bcc2d1222a9210b174c8f2bbd6bdbd44c581d01734b7b80d', -- Ralf
Marvin W's avatar
Marvin W committed
106
          '7cf12335377b891068f81040604e5e96dc7d6ba4a6638e9ff856a4b628d2ce1c', -- Marvin
107 108 109 110 111 112 113 114
        },
      },

      beta = {
        name = 'beta',

        -- List of mirrors to fetch images from. IPv6 required!
        mirrors = {
Tobias Theobald's avatar
Tobias Theobald committed
115
          'http://mgmt.ffsaar/firmware/beta/sysupgrade',
Ralf's avatar
Ralf committed
116
          'http://mgmt.saar.freifunk.net/firmware/beta/sysupgrade',
117
          'http://[fd4e:f2d7:88d2:ffff::fe]/firmware/beta/sysupgrade',
118
        },
119 120 121 122 123

        -- Number of good signatures required.
        -- Have multiple maintainers sign your build and only
        -- accept it when a sufficient number of them have
        -- signed it.
Marvin W's avatar
Marvin W committed
124
        good_signatures = 2,
125

126 127
        -- List of public keys of maintainers.
        pubkeys = {
128
          'dda7d8951b20b8cbd97f24812a13e1337e39d92c1edfe99a0636da21ae6be1c8', -- Buildbot
129
          '1672831cfc45652702485adb1ce5e6c7fbaed0dd7f577e7ac13492c58aa9c5f5', -- Tobias
Ralf's avatar
Ralf committed
130
          'e79a771b0e1f3773bcc2d1222a9210b174c8f2bbd6bdbd44c581d01734b7b80d', -- Ralf
Marvin W's avatar
Marvin W committed
131
          '7cf12335377b891068f81040604e5e96dc7d6ba4a6638e9ff856a4b628d2ce1c', -- Marvin
132 133 134 135 136 137 138 139
        },
      },

      experimental = {
        name = 'experimental',

        -- List of mirrors to fetch images from. IPv6 required!
        mirrors = {
Tobias Theobald's avatar
Tobias Theobald committed
140
          'http://mgmt.ffsaar/firmware/experimental/sysupgrade',
Ralf's avatar
Ralf committed
141
          'http://mgmt.saar.freifunk.net/firmware/experimental/sysupgrade',
142
          'http://[fd4e:f2d7:88d2:ffff::fe]/firmware/experimental/sysupgrade',
143 144 145 146 147 148 149 150
        },

        -- Number of good signatures required.
        -- Have multiple maintainers sign your build and only
        -- accept it when a sufficient number of them have
        -- signed it.
        good_signatures = 1,

151 152
        -- List of public keys of maintainers.
        pubkeys = {
153
          'dda7d8951b20b8cbd97f24812a13e1337e39d92c1edfe99a0636da21ae6be1c8', -- Buildbot
154
          '1672831cfc45652702485adb1ce5e6c7fbaed0dd7f577e7ac13492c58aa9c5f5', -- Tobias
Ralf's avatar
Ralf committed
155
          'e79a771b0e1f3773bcc2d1222a9210b174c8f2bbd6bdbd44c581d01734b7b80d', -- Ralf
Marvin W's avatar
Marvin W committed
156
          '7cf12335377b891068f81040604e5e96dc7d6ba4a6638e9ff856a4b628d2ce1c', -- Marvin
157 158
        },
      },
159

160
    },
161 162
  },

163
  opkg = {
164
    -- Add the modules we are building ourselves.
165 166
    extra = {
      modules = 'http://mgmt.ffsaar/modules/gluon-%GS-%GR/%S',
167 168 169
    },
  },
}