Changeset - ca801f42c10d
[Not reviewed]
0 6 1
Max Wahl (Fantawams) - 4 years ago 2021-09-13 20:24:07
fantawams@c3l.lu
Update config to Gluon 2020.2.3 and upload of build script
7 files changed with 82 insertions and 57 deletions:
0 comments (0 inline, 0 general)
build_script/build-all-targets.sh
Show inline comments
 
new file 100755
 
#!/bin/bash
 

	
 
if [[ $EUID -eq 0 ]]; then
 
  echo "cannot be run as root"
 
  exit
 
fi
 

	
 
# detect amount of CPU cores
 
CORES=$(lscpu|grep -e '^CPU(s):'|xargs|cut -d" " -f2)
 
#CORES=1
 

	
 
# build all regular targets
 
for TARGET in $(make list-targets); do
 
  make -j$CORES GLUON_TARGET=$TARGET GLUON_DEPRECATED=0 BROKEN=1 V=s
 
done
 

	
 
make -j$CORES GLUON_TARGET=brcm2708-bcm2710 GLUON_DEPRECATED=0 BROKEN=1 V=s
 
make -j$CORES GLUON_TARGET=ar71xx-mikrotik GLUON_DEPRECATED=0 BROKEN=1 V=s
 
make -j$CORES GLUON_TARGET=mvebu-cortexa9 GLUON_DEPRECATED=0 BROKWN=1 V=s
site_config/beta/site/site.conf
Show inline comments
 
@@ -22,25 +22,25 @@
 

	
 
  -- 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::13'},
 
  ntp_servers = {'fd4e:f2d7:88d2:fffe::11','fd4e:f2d7:88d2:fffe::12'},
 

	
 
  -- 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',
 
	},
 
@@ -94,111 +94,113 @@
 
    methods = {'salsa2012+umac'},
 
    groups = {
 
      backbone = {
 
        -- Limit number of connected peers to reduce bandwidth.
 
        limit = 1,
 

	
 
        -- List of peers.
 
        peers = {
 
      gw1= {
 
	    key = 'd5af753220451b6c181cca469835da9c67d3ca9603465e13a5adb9b64f89f3c6',
 
	    remotes = {'ipv4 "fflux-gw1.freifunk.lu" port 10000'},
 
      },
 
	  gw3= {
 
	    key = '8e15baeaca68163c60fe97292cb4268616e16710d51f9d4605cd70c00ad0c7eb',
 
	    remotes = {'ipv4 "fflux-gw3.c3l.lu" port 10000'},
 
	  gw2= {
 
	    key = '3c42a77d863cb0475ec5a9e9b9c63ff557f8bac991b78a26427f100cc130462b',
 
	    remotes = {'ipv4 "fflux-gw2.freifunk.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::11]/stable/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/stable/sysupgrade',
 
                'http://[fd4e:f2d7:88d2:fffe::12]/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
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
	    '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
      beta = {
 
        name = 'beta',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::11]/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::12]/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
 

	
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
            '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
      experimental = {
 
        name = 'experimental',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::11]/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::12]/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
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
            '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
    },
 
  },
 

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

	
 
      -- Default upload limit (kbit/s).
 
      egress = 200,
 
@@ -213,13 +215,12 @@
 
                          -- 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/beta/site/site.mk
Show inline comments
 
@@ -6,24 +6,25 @@
 
#               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 \
 
	wireless-encryption-wpa3 \
 
        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 \
 
@@ -45,25 +46,25 @@ GLUON_SITE_PACKAGES := \
 
		gluon-status-page \
 
		gluon-ssid-changer \
 
		respondd-module-airtime \
 
		iwinfo \
 
		iptables \
 

	
 
##	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.2.2.0~beta20201230
 
DEFAULT_GLUON_RELEASE := 2020.2.3.0~beta20210821
 

	
 

	
 
##	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)
 

	
site_config/experimental/site/site.conf
Show inline comments
 
@@ -22,25 +22,25 @@
 

	
 
  -- 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::13'},
 
  ntp_servers = {'fd4e:f2d7:88d2:fffe::11','fd4e:f2d7:88d2:fffe::12'},
 

	
 
  -- 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',
 
	},
 
@@ -94,111 +94,113 @@
 
    methods = {'salsa2012+umac'},
 
    groups = {
 
      backbone = {
 
        -- Limit number of connected peers to reduce bandwidth.
 
        limit = 1,
 

	
 
        -- List of peers.
 
        peers = {
 
      gw1= {
 
	    key = 'd5af753220451b6c181cca469835da9c67d3ca9603465e13a5adb9b64f89f3c6',
 
	    remotes = {'ipv4 "fflux-gw1.freifunk.lu" port 10000'},
 
      },
 
	  gw3= {
 
	    key = '8e15baeaca68163c60fe97292cb4268616e16710d51f9d4605cd70c00ad0c7eb',
 
	    remotes = {'ipv4 "fflux-gw3.c3l.lu" port 10000'},
 
	  gw2= {
 
	    key = '3c42a77d863cb0475ec5a9e9b9c63ff557f8bac991b78a26427f100cc130462b',
 
	    remotes = {'ipv4 "fflux-gw2.freifunk.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::11]/stable/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/stable/sysupgrade',
 
                'http://[fd4e:f2d7:88d2:fffe::12]/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
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
	    '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
      beta = {
 
        name = 'beta',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::11]/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::12]/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
 

	
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
            '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
      experimental = {
 
        name = 'experimental',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::11]/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::12]/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
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
            '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
    },
 
  },
 

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

	
 
      -- Default upload limit (kbit/s).
 
      egress = 200,
 
@@ -213,13 +215,12 @@
 
                          -- 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/experimental/site/site.mk
Show inline comments
 
@@ -6,24 +6,25 @@
 
#               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 \
 
	wireless-encryption-wpa3 \
 
        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 \
 
@@ -45,25 +46,25 @@ GLUON_SITE_PACKAGES := \
 
		gluon-status-page \
 
		gluon-ssid-changer \
 
		respondd-module-airtime \
 
		iwinfo \
 
		iptables \
 

	
 
##	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.2.2.3~exp20201229
 
DEFAULT_GLUON_RELEASE := 2020.2.3.0~exp20210618
 

	
 

	
 
##	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)
 

	
site_config/stable/site/site.conf
Show inline comments
 
@@ -22,25 +22,25 @@
 

	
 
  -- 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::13'},
 
  ntp_servers = {'fd4e:f2d7:88d2:fffe::11','fd4e:f2d7:88d2:fffe::12'},
 

	
 
  -- 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',
 
	},
 
@@ -94,111 +94,113 @@
 
    methods = {'salsa2012+umac'},
 
    groups = {
 
      backbone = {
 
        -- Limit number of connected peers to reduce bandwidth.
 
        limit = 1,
 

	
 
        -- List of peers.
 
        peers = {
 
      gw1= {
 
	    key = 'd5af753220451b6c181cca469835da9c67d3ca9603465e13a5adb9b64f89f3c6',
 
	    remotes = {'ipv4 "fflux-gw1.freifunk.lu" port 10000'},
 
      },
 
	  gw3= {
 
	    key = '8e15baeaca68163c60fe97292cb4268616e16710d51f9d4605cd70c00ad0c7eb',
 
	    remotes = {'ipv4 "fflux-gw3.c3l.lu" port 10000'},
 
	  gw2= {
 
	    key = '3c42a77d863cb0475ec5a9e9b9c63ff557f8bac991b78a26427f100cc130462b',
 
	    remotes = {'ipv4 "fflux-gw2.freifunk.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::11]/stable/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/stable/sysupgrade',
 
                'http://[fd4e:f2d7:88d2:fffe::12]/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
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
	    '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
      beta = {
 
        name = 'beta',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::11]/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/beta/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::12]/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
 

	
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
            '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
      experimental = {
 
        name = 'experimental',
 

	
 
        -- List of mirrors to fetch images from. IPv6 required!
 
        mirrors = {
 
            'http://[fd4e:f2d7:88d2:fffe::11]/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::13]/experimental/sysupgrade',
 
            'http://[fd4e:f2d7:88d2:fffe::12]/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
 
            '22e564fd31849637738ab5881469ea51cd4afd181c444244eb8a8ee04df40fef', -- orimpe
 
            '45c0d4a3d60c03f81ea75dd887474d99b29cd541f30807465e01de6c1b721b54', -- xbr
 
            '0e6c109a94d062fb5d03c49d42a7e13db5a5c6f7639922e4da38d30026ee7164', -- metalgamer
 
            '6e70a4bff82d70bb4f7d19ab170bf9f9aee64181567fefee040995fb9e5c1547' -- fantawams
 
        },
 
      },
 

	
 
    },
 
  },
 

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

	
 
      -- Default upload limit (kbit/s).
 
      egress = 200,
 
@@ -213,13 +215,12 @@
 
                          -- 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
 
@@ -6,24 +6,25 @@
 
#               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 \
 
	wireless-encryption-wpa3 \
 
        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 \
 
@@ -45,25 +46,25 @@ GLUON_SITE_PACKAGES := \
 
		gluon-status-page \
 
		gluon-ssid-changer \
 
		respondd-module-airtime \
 
		iwinfo \
 
		iptables \
 

	
 
##	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.2.2~stable202101
 
DEFAULT_GLUON_RELEASE := 2020.2.3~stable202108
 

	
 

	
 
##	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)
 

	
0 comments (0 inline, 0 general)