Changeset - 539987846ff2
[Not reviewed]
0 3 0
Max Wahl (Fantawams) - 4 years ago 2021-01-05 10:15:37
fantawams@c3l.lu
Updated stable site config for Gluon 2020.2.2
3 files changed with 31 insertions and 15 deletions:
0 comments (0 inline, 0 general)
site_config/stable/site/i18n/en.po
Show inline comments
 
msgid ""
 
msgstr ""
 
"Content-Type: text/plain; charset=UTF-8\n"
 
"Project-Id-Version: PACKAGE VERSION\n"
 
"PO-Revision-Date: 2015-03-19 20:28+0100\n"
 
"Last-Translator: Matthias Schiffer <mschiffer@universe-factory.net>\n"
 
"Language-Team: English\n"
 
"Language: en\n"
 
"MIME-Version: 1.0\n"
 
"Content-Transfer-Encoding: 8bit\n"
 
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 

	
 
msgid "gluon-config-mode:welcome"
 
msgstr ""
 
"Welcome the the setup wizard of your new Freifunk Luxembourg node. "
 
"Please fill out the following form and transmit it."
 

	
 
msgid "gluon-config-mode:contact-help"
 
msgstr ""
 
"You may input your contact mail here. This is needed so we may contact you in case of an emergency."
 
"If you not wich to provide here an contact mail, please subscribe into our <a href=\"https://lists.c3l.lu/listinfo/freifunk_luxembourg\">our user maillinf list</a>."
 
"There we share all inportant information with our community."
 

	
 
msgid "gluon-config-mode:hostname-help"
 
"Insert a hostname for your freifunk node. Please start with fflux-"
 

	
 
msgid "gluon-config-mode:geo-location-help"
 
msgstr ""
 
"Insert here your coordinates, where your Freifunk is physcally installed. This is optional."
 

	
 
msgid "gluon-config-mode:altitude-label"
 
msgstr ""
 
"altitude"
 

	
 
msgstr ""
 
" Hostname Help"
 
msgid "gluon-config-mode:pubkey"
 

	
 
msgstr ""
 
"<!-- empty -->"
 

	
 
msgid "gluon-config-mode:reboot"
 
msgstr ""
 
"<p>The node is currently rebooting and will try to connect to other "
 
"nearby Freifunk Luxembourg nodes after that. "
 
"You can find lots of information on the Freifunk Luxembourg community on "
 
"<a href=\"https://luxembourg.freifunk.net/\">our homepage</a>.</p>"
 
"<p>To get back to this configuration interface, press the reset button for "
 
"3 seconds during normal operation. The device will then reboot into config "
 
"mode.</p>"
 
"<p>Have fun with your node and exploring the Freifunk network!</p>"
site_config/stable/site/site.conf
Show inline comments
 
-- This is an example site configuration for Gluon v2014.3.x
 
--
 
-- 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.
 
  hostname_prefix = 'fflux-',
 

	
 
  -- Name of the community.
 
  site_name = 'Freifunk Luxembourg',
 

	
 
  -- Shorthand of the community.
 
  site_code = 'fflux',
 

	
 
  -- 32 bytes of random data, encoded in hexadecimal
 
  -- This data must be unique among all sites and domains!
 
  -- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
 
  domain_seed = '20d0d9c09a27d488c1291da65fe4dd4971ff8631dba0195be15805dbad01f78e',
 

	
 
  -- Prefixes used within the mesh. Both are required.
 
  prefix4 = '10.24.128.0/18',
 
  prefix6 = 'fd4e:f2d7:88d2:fffe::/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',
 

	
 
  -- List of NTP servers in your community.
 
  -- Must be reachable using IPv6!
 
  ntp_servers = {'fd4e:f2d7:88d2:fffe::11','fd4e:f2d7:88d2:fffe::12'},
 
  ntp_servers = {'fd4e:f2d7:88d2:fffe::11','fd4e:f2d7:88d2:fffe::13'},
 

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

	
 
  -- Wireless configuratoin for 2.4 GHz interfaces.
 
  wifi24 = {
 
    -- Wireless channel.
 
    channel = 1,
 

	
 
	ap = {
 
	  ssid = 'luxembourg.freifunk.net',
 
	},
 
	mesh = {
 
	  id = 'freifunk-mesh',
 
	  mcast_rate = 12000,
 
	},
 

	
 
  },
 

	
 
  -- Wireless configuration for 5 GHz interfaces.
 
  -- This should be equal to the 2.4 GHz variant, except
 
  -- for channel and htmode.
 
  wifi5 = {
 
    channel = 36;
 
	ap = {
 
	  ssid = 'luxembourg.freifunk.net',
 
	},
 
	mesh = {
 
	  id = 'freifunk-mesh',
 
	  mcast_rate = 12000,
 
	},
 
  },
 

	
 
  mesh = {
 
    vxlan = true,
 
    filter_membership_reports = false,
 
    batman_adv = {
 
      routing_algo = 'BATMAN_IV',
 
      gw_sel_class = 1,
 
     },
 
   },
 

	
 
  -- 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.24.128.1',
 
    ip6 = 'fd4e:f2d7:88d2:fffe::1',
 

	
 
    -- anycast MAC of all nodes
 
    mac = '32:3d:f9:8f:01:53',
 
  },
 

	
 
  -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
 
  -- what these options do.
 
  mesh_vpn = {
 
    enabled = true,
 
    mtu = 1406,
 
   fastd = {
 
    configurable = true,
 
    -- List of crypto-methods to use.
 
    methods = {'salsa2012+umac'},
 
    groups = {
 
      backbone = {
 
        -- Limit number of connected peers to reduce bandwidth.
 
        limit = 1,
 

	
 
        -- List of peers.
 
        peers = {
 
      gw2= {
 
	    key = '2797c078ab5176ec27951cbe9d685e3212320217042494a37d8252fcb1a3029c',
 
	    remotes = {'ipv4 "fflux-gw2.c3l.lu" port 10000'},
 
      gw1= {
 
	    key = 'd5af753220451b6c181cca469835da9c67d3ca9603465e13a5adb9b64f89f3c6',
 
	    remotes = {'ipv4 "fflux-gw1.freifunk.lu" port 10000'},
 
      },
 
	  gw3= {
 
	    key = '8e15baeaca68163c60fe97292cb4268616e16710d51f9d4605cd70c00ad0c7eb',
 
	    remotes = {'ipv4 "fflux-gw3.c3l.lu" port 10000'},
 
	  }
 
        },
 
      },
 
    },
 
   },
 
  },
 

	
 
  autoupdater = {
 
    enabled = true,
 
    -- Default branch. Don't forget to set GLUON_BRANCH when building!
 
    branch = 'stable',
 

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

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
	        'http://[fd4e:f2d7:88d2:fffe::12]/firmware/stable/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/firmware/stable/sysupgrade',
 
	        'http://[fd4e:f2d7:88d2:fffe::11]/stable/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/stable/sysupgrade',
 
	        'http://firmware.freifunk.lu/stable/sysupgrade',
 
        },
 

	
 
        -- 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,
 

	
 
        -- List of public keys of maintainers.
 
        pubkeys = {
 
            '4da854e34689c428c9a71e3022c598e88134bce859ae385c1f38e9131d3e9cb5', -- sid
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgames
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fanta
 
        },
 
      },
 

	
 
      beta = {
 
        name = 'beta',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::12]/firmware/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/firmware/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::11]/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/beta/sysupgrade',
 
            'http://firmware.freifunk.lu/beta/sysupgrade',
 
        },
 

	
 
        -- 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,
 

	
 
        -- List of public keys of maintainers.
 
        pubkeys = {
 
		    '4da854e34689c428c9a71e3022c598e88134bce859ae385c1f38e9131d3e9cb5', -- sid
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgames
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fanta
 

	
 
        },
 
      },
 

	
 
      experimental = {
 
        name = 'experimental',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::12]/firmware/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/firmware/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::11]/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/experimental/sysupgrade',
 
            'http://firmware.freifunk.lu/experimental/sysupgrade',
 
        },
 

	
 
        -- 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,
 

	
 
        -- List of public keys of maintainers.
 
        pubkeys = {
 
		    '4da854e34689c428c9a71e3022c598e88134bce859ae385c1f38e9131d3e9cb5', -- sid
 
		    '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgames
 
		    '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fanta
 
        },
 
      },
 

	
 
    },
 
  },
 

	
 
  bandwidth_limit = {
 
      -- The bandwidth limit can be enabled by default here.
 
      enabled = false,
 

	
 
      -- Default upload limit (kbit/s).
 
      egress = 200,
 

	
 
      -- Default download limit (kbit/s).
 
      ingress = 3000,
 
    },
 

	
 
  ssid_changer = {
 
  switch_timeframe = 5,  -- 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 = '30'     -- lower limit, below that the offline SSID will be used
 
},
 
}
 

	
site_config/stable/site/site.mk
Show inline comments
 
@@ -2,115 +2,113 @@
 

	
 
##      GLUON_FEATURES
 
#               Specify Gluon features/packages to enable;
 
#               Gluon will automatically enable a set of packages
 
#               depending on the combination of features listed
 

	
 
GLUON_FEATURES := \
 
        autoupdater \
 
        ebtables-filter-multicast \
 
        ebtables-filter-ra-dhcp \
 
        ebtables-limit-arp \
 
        mesh-batman-adv-15 \
 
        mesh-vpn-fastd \
 
        respondd \
 
        status-page \
 
        web-advanced \
 
        web-wizard
 

	
 

	
 
##	GLUON_SITE_PACKAGES
 
#		specify gluon/openwrt packages to include here
 
#               The gluon-mesh-batman-adv-* package must come first because of the dependency resolution
 

	
 

	
 
GLUON_SITE_PACKAGES := \
 
		gluon-mesh-batman-adv-15 \
 
		gluon-autoupdater \
 
		gluon-config-mode-autoupdater \
 
		gluon-config-mode-hostname \
 
		gluon-config-mode-mesh-vpn \
 
		gluon-config-mode-geo-location \
 
		gluon-config-mode-contact-info \
 
		gluon-config-mode-core \
 
		gluon-ebtables-filter-multicast \
 
		gluon-ebtables-filter-ra-dhcp \
 
		gluon-web-admin \
 
		gluon-web-autoupdater \
 
		gluon-web-wifi-config \
 
		gluon-web-private-wifi \
 
		gluon-mesh-vpn-fastd \
 
		gluon-radvd \
 
		gluon-respondd \
 
	        gluon-setup-mode \
 
		gluon-status-page \
 
		gluon-ssid-changer \
 
		respondd-module-airtime \
 
		iwinfo \
 
		iptables \
 
		haveged
 

	
 
##	DEFAULT_GLUON_RELEASE
 
#		version string to use for images
 
#		gluon relies on
 
#			opkg compare-versions "$1" '>>' "$2"
 
#		to decide if a version is newer or not.
 
#DEFAULT_GLUON_RELEASE := sid~exp$(shell date '+%Y%m%d')
 
DEFAULT_GLUON_RELEASE := 2020.1.1~stable202005
 
DEFAULT_GLUON_RELEASE := 2020.2.2~stable202101
 

	
 

	
 
##	GLUON_RELEASE
 
#		call make with custom GLUON_RELEASE flag, to use your own release version scheme.
 
#		e.g.:
 
#			$ make images GLUON_RELEASE=23.42+5
 
#		would generate images named like this:
 
#			gluon-ff%site_code%-23.42+5-%router_model%.bin
 

	
 
# Allow overriding the release number from the command line
 
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
 

	
 
# Default priority for updates.
 
GLUON_PRIORITY ?= 0
 
GLUON_BRANCH ?= stable
 

	
 
# set mesh mode for ath10k to 802.11s
 
GLUON_ATH10K_MESH ?= 11s
 

	
 
# Languages to include
 
GLUON_LANGS ?= en
 

	
 
GLUON_REGION := eu
 

	
 
USB_X86_GENERIC_NETWORK_MODULES := \
 
		kmod-usb-ohci-pci \
 
		kmod-sky2 \
 
		kmod-atl2 \
 
		kmod-igb \
 
		kmod-3c59x \
 
		kmod-e100 \
 
		kmod-e1000 \
 
		kmod-e1000e \
 
		kmod-natsemi \
 
		kmod-ne2k-pci \
 
		kmod-pcnet32 \
 
		kmod-8139too \
 
		kmod-r8169 \
 
		kmod-sis900 \
 
		kmod-tg3 \
 
		kmod-via-rhine \
 
		kmod-via-velocity \
 
		kmod-forcedeth \
 
		kmod-iwlwifi
 

	
 
ifeq ($(GLUON_TARGET),x86-generic)
 
		GLUON_SITE_PACKAGES += \
 
	$(USB_X86_GENERIC_NETWORK_MODULES)
 
endif
 

	
 
ifeq ($(GLUON_TARGET),x86-64)
 
              GLUON_SITE_PACKAGES += \
 
       $(USB_X86_GENERIC_NETWORK_MODULES)
 
endif
 

	
 
# Do not build images for deprecated devices
 
GLUON_DEPRECATED ?= 0
 

	
0 comments (0 inline, 0 general)