Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This is an example site configuration for Gluon v2016.1+
- --
- -- Take a look at the documentation located at
- -- http://gluon.readthedocs.org/ for details.
- --
- -- This configuration will not work as it. You're required to make
- -- community specific changes to it!
- {
- -- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional)
- hostname_prefix = 'fflip-d2-lip-',
- -- Name of the community.
- site_name = 'Freifunk Lippe Domaene 2',
- -- Shorthand of the community.
- site_code = 'fflip',
- -- 32 bytes of random data, encoded in hexacimal
- -- Must be the same of all nodes in one mesh domain
- -- Can be generated using: echo $(hexdump -n 32 -e '1/1 "%02x"' </dev/urandom)
- domain_seed = '20f7a6bff2efe34b38c720d02761357225de1198d7674944bc39966a69854a2c',
- -- Prefixes used within the mesh. Both are required.
- prefix4 = '10.15.8.0/21',
- prefix6 = '2a03:2260:2004:222::/64',
- -- Timezone of your community.
- -- See http://wiki.openwrt.org/doc/uci/system#time_zones
- timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
- -- List of NTP servers in your community.
- -- Must be reachable using IPv6!
- ntp_servers = {'0.de.pool.ntp.org', '1.de.pool.ntp.org', '2.de.pool.ntp.org', '3.de.pool.ntp.org'},
- -- Wireless regulatory domain of your community.
- regdom = 'DE',
- -- Wireless configuration for 2.4 GHz interfaces.
- wifi24 = {
- -- Wireless channel.
- channel = 9,
- -- ESSID used for client network.
- ap = {
- ssid = 'lippe.freifunk.net',
- -- disabled = true, (optional)
- },
- mesh = {
- -- Adjust these values!
- id = 'fflip-mesh-02',
- mcast_rate = 12000,
- -- disabled = true, (optional)
- },
- },
- -- Wireless configuration for 5 GHz interfaces.
- -- This should be equal to the 2.4 GHz variant, except
- -- for channel.
- wifi5 = {
- channel = 44,
- ap = {
- ssid = 'lippe.freifunk.net',
- },
- mesh = {
- id = 'fflip-mesh-02',
- mcast_rate = 12000,
- },
- },
- -- The next node feature allows clients to always reach the node it is
- -- connected to using a known IP address.
- next_node = {
- -- anycast IPs of all nodes
- ip4 = '10.15.8.1',
- ip6 = '2a03:2260:2004:222::1',
- -- anycast MAC of all nodes
- mac = 'de:42:ab:cd:ef:43',
- },
- poe_passthrough = true,
- mesh_vpn = {
- enabled = true,
- mtu = 1532,
- tunneldigger = {
- brokers = {
- 'hermann.freifunk-lippe.de:20002',
- 'arminius.freifunk-lippe.de:20002',
- },
- bandwidth_limit = {
- enabled = false,
- ingress = 25000,
- egress = 5000,
- },
- },
- },
- autoupdater = {
- branch = 'stable',
- branches = {
- stable = {
- name = 'stable',
- -- List of mirrors to fetch images from. IPv6 required!
- 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'},
- good_signatures = 2,
- -- List of public keys of maintainers.
- pubkeys = {
- '6c36b7cd1c78b7107994fccc6d9d6d31ba2bcb04f281f114a5a9e1043efef594', -- Michael
- '523b9680e41b04e28ef9f839856498859930e3033fd39a7118305f2e0fbc205c', -- Andre
- '57a43b0d8cd7af864dedee693ba364e50324c78da4a929067a9eea8f8aa6b768', -- Joerg
- },
- },
- },
- },
- ssid_changer = {
- enabled = true,
- switch_timeframe = 30, -- only once every timeframe (in minutes) the SSID will change to the Offline-SSID
- -- set to 1440 to change once a day
- -- set to 1 minute to change every time the router gets offline
- first = 5, -- the first few minutes directly after reboot within which an Offline-SSID always may be activated (must be <= switch_timeframe)
- prefix = 'FF_Offline_', -- use something short to leave space for the nodename (no '~' allowed!)
- suffix = 'nodename', -- generate the SSID with either 'nodename', 'mac' or to use only the prefix: 'none'
- tq_limit_enabled = false, -- if false, the offline SSID will only be set if there is no gateway reacheable
- -- upper and lower limit to turn the offline_ssid on and off
- -- in-between these two values the SSID will never be changed to prevent it from toggeling every minute.
- tq_limit_max = 45, -- upper limit, above that the online SSID will be used
- tq_limit_min = 35 -- lower limit, below that the offline SSID will be used
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement