From 9094d7f4dc8495f17a45aaf889f8a7783e5a4c1c Mon Sep 17 00:00:00 2001 From: Thomas Winter Date: Mon, 17 Feb 2020 14:44:43 +0100 Subject: [PATCH] Add files via upload --- README.md | 20 +++- domains/asbach.conf | 91 ++++++++++++++++ domains/badhoenningen.conf | 91 ++++++++++++++++ domains/badhonnef.conf | 91 ++++++++++++++++ domains/buchholz.conf | 91 ++++++++++++++++ domains/eitorf.conf | 91 ++++++++++++++++ domains/erpel.conf | 91 ++++++++++++++++ domains/koenigswinter.conf | 91 ++++++++++++++++ domains/linz.conf | 91 ++++++++++++++++ domains/neustadt.conf | 92 ++++++++++++++++ domains/neuwied.conf | 91 ++++++++++++++++ domains/rheinbreitbach.conf | 91 ++++++++++++++++ domains/thw.conf | 91 ++++++++++++++++ domains/unkel.conf | 91 ++++++++++++++++ i18n/de.po | 36 +++++++ i18n/en.po | 36 +++++++ i18n/gluon-site.pot | 11 ++ modules | 14 +++ site.conf | 93 ++++++++++++++++ site.mk | 210 ++++++++++++++++++++++++++++++++++++ 20 files changed, 1602 insertions(+), 2 deletions(-) create mode 100644 domains/asbach.conf create mode 100644 domains/badhoenningen.conf create mode 100644 domains/badhonnef.conf create mode 100644 domains/buchholz.conf create mode 100644 domains/eitorf.conf create mode 100644 domains/erpel.conf create mode 100644 domains/koenigswinter.conf create mode 100644 domains/linz.conf create mode 100644 domains/neustadt.conf create mode 100644 domains/neuwied.conf create mode 100644 domains/rheinbreitbach.conf create mode 100644 domains/thw.conf create mode 100644 domains/unkel.conf create mode 100644 i18n/de.po create mode 100644 i18n/en.po create mode 100644 i18n/gluon-site.pot create mode 100644 modules create mode 100644 site.conf create mode 100644 site.mk diff --git a/README.md b/README.md index fafc655..3099019 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ -FF Königswinter Multidomain with Batman15 and 802.11s +# ffkw +FF Koenigswinter with Batman15 and 802.11s -Please use the appropriate branch, depending on whether you want to use FastD or Wireguard. + +This is the stable site for Gluon 2019.1.x with wireguard. + +__Please remember: +You could use Wireguard only for devices with more than 4Mb of Flash! That means, that f.e. the 841er can only connect to the mesh with fastd!__ + + +## Build Instructions + +1. Go in your build system with the user you want to build +2. Download Gluon 2019.1.x You'll find the informations you'll need under the URL https://gluon.readthedocs.io/en/v2019.1.x/user/getting_started.html +3. Create a directory *site* in your firmware-directory. +4. Download this branch in this directory. +5. Now run *make update* +6. Everything should be complete now. You can start the compiling with the command *make GLUON_TARGET=ar71xx-tiny* or *make GLUON_TARGET=ar71xx-generic* +7. If everything works you should find your files now in the directory *./output/images/* diff --git a/domains/asbach.conf b/domains/asbach.conf new file mode 100644 index 0000000..8743b1a --- /dev/null +++ b/domains/asbach.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + asbach = 'Asbach' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Asbach.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Asbach.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/badhoenningen.conf b/domains/badhoenningen.conf new file mode 100644 index 0000000..9e7e9ad --- /dev/null +++ b/domains/badhoenningen.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + badhoenningen = 'Bad Hönningen' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-BadHoenningen.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-BadHoenningen.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/badhonnef.conf b/domains/badhonnef.conf new file mode 100644 index 0000000..34d741c --- /dev/null +++ b/domains/badhonnef.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + badhonnef = 'Bad Honnef' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-BadHonnef.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-BadHonnef.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/buchholz.conf b/domains/buchholz.conf new file mode 100644 index 0000000..5ce4c92 --- /dev/null +++ b/domains/buchholz.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + buchholz = 'Buchholz' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Buchholz.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Buchholz.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/eitorf.conf b/domains/eitorf.conf new file mode 100644 index 0000000..2847726 --- /dev/null +++ b/domains/eitorf.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + eitorf = 'Eitorf' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Eitorf.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Eitorf.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/erpel.conf b/domains/erpel.conf new file mode 100644 index 0000000..2d5a196 --- /dev/null +++ b/domains/erpel.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + erpel = 'Erpel' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Erpel.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Erpel.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/koenigswinter.conf b/domains/koenigswinter.conf new file mode 100644 index 0000000..ae49cc3 --- /dev/null +++ b/domains/koenigswinter.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + koenigswinter = 'Königswinter' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Koenigswinter.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Koenigswinter.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/linz.conf b/domains/linz.conf new file mode 100644 index 0000000..5a4b8b7 --- /dev/null +++ b/domains/linz.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + linz = 'Linz' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Linz.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Linz.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/neustadt.conf b/domains/neustadt.conf new file mode 100644 index 0000000..a47c512 --- /dev/null +++ b/domains/neustadt.conf @@ -0,0 +1,92 @@ +{ + domain_names = { + neustadt = 'Neustadt' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Neustadt.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Neustadt.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} + diff --git a/domains/neuwied.conf b/domains/neuwied.conf new file mode 100644 index 0000000..725d6c4 --- /dev/null +++ b/domains/neuwied.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + neuwied = 'Neuwied' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Neuwied.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Neuwied.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/rheinbreitbach.conf b/domains/rheinbreitbach.conf new file mode 100644 index 0000000..e01b1e1 --- /dev/null +++ b/domains/rheinbreitbach.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + rheinbreitbach = 'Rheinbreitbach' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Rheinbreitbach.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Rheinbreitbach.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/thw.conf b/domains/thw.conf new file mode 100644 index 0000000..dfaf0d0 --- /dev/null +++ b/domains/thw.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + thw = 'THW' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-THW.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-THW.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/domains/unkel.conf b/domains/unkel.conf new file mode 100644 index 0000000..4bb08b4 --- /dev/null +++ b/domains/unkel.conf @@ -0,0 +1,91 @@ +{ + domain_names = { + unkel = 'Unkel' + }, + + mesh = + { + vxlan = true, + batman_adv = { + routing_algo = 'BATMAN_IV', + gw_sel_class = 3, + }, + }, + + -- Domain Seed + domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095', + + -- Prefixes used within the mesh. Both are required. + prefix4 = '10.80.0.0/16', + prefix6 = 'fdd3:5d20:b5dd:fe00::/64', + + -- Wireless configuration for 2.4 GHz interfaces. + wifi24 = { + -- Wireless channel. + channel = 1, + + -- ESSID used for client network. + ap = { + ssid = 'Freifunk-Unkel.de', + }, + mesh = { + id = '02:d1:11:37:fd:49', + 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 = 44, + + ap = { + ssid = 'Freifunk-Unkel.de', + }, + mesh = { + id = '02:d1:11:37:fd:69', + 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 = { + name= { 'nextnode', 'nn' }, + -- anycast IPs of all nodes + ip4 = '10.80.2.255', + ip6 = 'fdd3:5d20:b5dd:fe00::1', + --ip6 = 'fdff::ff', + + -- anycast MAC of all nodes + mac = '16:42:ca:fe:be:ef', + }, + + -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand + -- what these options do. + + mesh_vpn = { + mtu = 1420, + wireguard = { + enabled = '1', + iface = 'mesh-vpn', + iprange = '10.3', --must be a /16!! + limit = '1', -- actually unused + gretapip = '10.3.0.2', + peers = { + { + publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=', + endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020', + }, + { + publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=', + endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020', + }, + { + publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=', + endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020', + }, + }, + }, + }, +} diff --git a/i18n/de.po b/i18n/de.po new file mode 100644 index 0000000..77f38d3 --- /dev/null +++ b/i18n/de.po @@ -0,0 +1,36 @@ +sgid "" +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 \n" +"Language-Team: German\n" +"Language: de\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 "" +"Willkommen zum Einrichtungsassistenten für deinen neuen" +"Freifunk-Knoten von Netzwerk Königswinter e.V. Fülle das folgende Formular deinen Vorstellungen " +"entsprechend aus und sende es ab." + +msgid "gluon-config-mode:pubkey" +msgstr "" +"Dies ist der öffentliche Schlüssel deines Freifunk-Knotens." +"" + +msgid "gluon-config-mode:reboot" +msgstr "" +"

Dein Knoten startet gerade neu und wird anschließend versuchen, " +"sich mit anderen Freifunkknoten in seiner Nähe zu " +"verbinden. Weitere Informationen zur " +"Freifunk-Community von Netzwerk Königswinter e.V. findest du auf " +"unserer Webseite.

" +"

Um zu dieser Konfigurationsseite zurückzugelangen, drücke im normalen " +"Betrieb für zehn Sekunden den Reset-Button. Das Gerät wird dann im Config " +"Mode neustarten.

" +"

Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!

" +"

Vergesst nicht: Freifunk ist mehr als nur Internet.

" +"

Be excellent to each other.

" diff --git a/i18n/en.po b/i18n/en.po new file mode 100644 index 0000000..cd0476c --- /dev/null +++ b/i18n/en.po @@ -0,0 +1,36 @@ +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 \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 to the setup of your Freifunk Node powered by Netzwerk Koenigswinter e.V." +"If you want to, you can fill out the form." + +msgid "gluon-config-mode:pubkey" +msgstr "" +"This is your Freifunk node's public key." +"" +"" + + +msgid "gluon-config-mode:reboot" +msgstr "" +"

The node is currently rebooting and will try to connect to other " +"nearby Freifunk nodes after that. " +"Your can find more information on Freifunk on " +"our homepage.

" +"

To get back to this configuration interface, press the reset button for " +"10 seconds during normal operation. The device will then reboot into config " +"mode.

" +"

Have fun with your node and exploring the Freifunk network!

" +"

And remember: there is more to networking than only the internet.

" +"

Be excellent to each other.

" diff --git a/i18n/gluon-site.pot b/i18n/gluon-site.pot new file mode 100644 index 0000000..670de41 --- /dev/null +++ b/i18n/gluon-site.pot @@ -0,0 +1,11 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +msgid "gluon-config-mode:welcome" +msgstr "" + +msgid "gluon-config-mode:pubkey" +msgstr "" + +msgid "gluon-config-mode:reboot" +msgstr "" diff --git a/modules b/modules new file mode 100644 index 0000000..1161353 --- /dev/null +++ b/modules @@ -0,0 +1,14 @@ +# This file allows specifying additional repositories to use +# when building gluon. +# +# In most cases, it is not required so don't add it. + +GLUON_SITE_FEEDS="wgkbu fileskbu" +PACKAGES_WGKBU_REPO=https://github.com/johnnybee/gluon-mesh-vpn-wireguard.git +PACKAGES_WGKBU_COMMIT=f709d9260cf827bb01257803e1d369e727c119aa +PACKAGES_WGKBU_BRANCH=master + +PACKAGES_FILESKBU_REPO=https://github.com/johnnybee/gluon-ffkbu-files.git +PACKAGES_FILESKBU_COMMIT=9bef4aa8c688a27392e87bb8f1b03db820489032 +PACKAGES_FILESKBU_BRANCH=master + diff --git a/site.conf b/site.conf new file mode 100644 index 0000000..9cbd999 --- /dev/null +++ b/site.conf @@ -0,0 +1,93 @@ +{ + -- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional) + hostname_prefix = 'ffkw-', + + -- Name of the community. + site_name = 'Freifunk Koenigswinter', + + -- Shorthand of the community. + site_code = 'ffkw', + + default_domain = 'koenigswinter', + + -- 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 = { + 'fdd3:5d20:b5dd:fe00::1', + 'fdd3:5d20:b5dd:fe00::2', + 'fdd3:5d20:b5dd:fe00::3', + }, + + -- Wireless regulatory domain of your community. + regdom = 'DE', + + autoupdater = { + -- 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://[fdd3:5d20:b5dd:fe00::51]/stable/wireguard/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 = { + 'b35dfb30ab9f54064209d9cb6042d6509cdfdd19352798ef6c3fd61787d4008f', -- JohnnyBee + }, + }, + }, + }, + +-- authorized_keys = { +-- '', +-- }, + + opkg = { + extra = { + modules = 'http://[fdd3:5d20:b5dd:fe00::51]/stable/wireguard/modules/gluon-ffkbu-%GR/%S', + }, + }, + +-- Skip setup mode (config mode) on first boot + setup_mode = { + skip = false, + }, + config_mode = { + hostname = { + optional = false, + prefill = true, + }, + geo_location = { + osm = { + center = { + lat = 50.680035738, + lon = 7.191925049, + }, + zoom = 13, + }, + }, + remote_login = { + show_password_form = true, + min_password_length = 8, + }, + owner = { + obligatory = true, + }, + }, +} diff --git a/site.mk b/site.mk new file mode 100644 index 0000000..cb86d45 --- /dev/null +++ b/site.mk @@ -0,0 +1,210 @@ +## gluon site.mk makefile example + +## GLUON_FEATURES +# Specify Gluon features/packages to enable; +# Gluon will automatically enable a set of packages +# depending on the combination of features listed +## 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_FEATURES := \ + autoupdater \ + config-mode-geo-location-osm \ + ebtables-filter-multicast \ + ebtables-filter-ra-dhcp \ + ebtables-limit-arp \ + mesh-batman-adv-15 \ + respondd \ + status-page \ + web-advanced \ + web-private-wifi \ + web-wizard \ + config-mode-domain-select + +GLUON_SITE_PACKAGES := \ + haveged \ + iptables \ + iwinfo \ + gluon-ffkbu-files \ + gluon-mesh-vpn-wireguard + +GLUON_DEPRECATED=full +GLUON_MULTIDOMAIN=1 + +# basic support for USB stack +USB_PACKAGES_BASIC := \ + kmod-usb-core \ + kmod-usb2 + +# storage support for USB devices +USB_PACKAGES_STORAGE := \ + block-mount \ + blkid \ + kmod-fs-ext4 \ + kmod-fs-vfat \ + kmod-usb-storage \ + kmod-usb-storage-extras \ + kmod-nls-cp1250 \ + kmod-nls-cp1251 \ + kmod-nls-cp437 \ + kmod-nls-cp775 \ + kmod-nls-cp850 \ + kmod-nls-cp852 \ + kmod-nls-cp866 \ + kmod-nls-iso8859-1 \ + kmod-nls-iso8859-13 \ + kmod-nls-iso8859-15 \ + kmod-nls-iso8859-2 \ + kmod-nls-koi8r \ + kmod-nls-utf8 \ + swap-utils + +# network support for USB devices +USB_PACKAGES_NET := \ + kmod-mii \ + kmod-nls-base \ + kmod-usb-net \ + kmod-usb-net-asix \ + kmod-usb-net-asix-ax88179 \ + kmod-usb-net-cdc-eem \ + kmod-usb-net-cdc-ether \ + kmod-usb-net-cdc-mbim \ + kmod-usb-net-cdc-ncm \ + kmod-usb-net-cdc-subset \ + kmod-usb-net-dm9601-ether \ + kmod-usb-net-hso \ + kmod-usb-net-huawei-cdc-ncm \ + kmod-usb-net-ipheth \ + kmod-usb-net-kalmia \ + kmod-usb-net-kaweth \ + kmod-usb-net-mcs7830 \ + kmod-usb-net-pegasus \ + kmod-usb-net-qmi-wwan \ + kmod-usb-net-rndis \ + kmod-usb-net-sierrawireless \ + kmod-usb-net-smsc95xx +# broken +# kmod-usb-net-rtl8150 \ +# kmod-usb-net-rtl8152 \ +# network support for PCI devices +PCI_PACKAGES_NET := \ + kmod-3c59x \ + kmod-e100 \ + kmod-e1000 \ + kmod-e1000e \ + kmod-forcedeth \ + kmod-natsemi \ + kmod-ne2k-pci \ + kmod-pcnet32 \ + kmod-r8169 \ + kmod-sis900 \ + kmod-sky2 \ + kmod-tg3 \ + kmod-tulip \ + kmod-via-rhine \ + kmod-8139cp +# broken +# kmod-ixgbe \ +# kmod-r8139too \ +# additional packages +TOOLS_PACKAGES := \ + iperf \ + socat \ + tcpdump \ + usbutils \ + vnstat +# broken +# pciutils \ +# +# +# $(GLUON_TARGET) specific settings: +# + +# x86-generic +ifeq ($(GLUON_TARGET),x86-generic) +# support the usb stack on x86 devices +# and add a few common USB and PCI NICs +GLUON_SITE_PACKAGES += \ + kmod-usb-hid \ + kmod-hid-generic \ + $(USB_PACKAGES_BASIC) \ + $(USB_PACKAGES_STORAGE) \ + $(USB_PACKAGES_NET) \ + $(PCI_PACKAGES_NET) \ + $(TOOLS_PACKAGES) +endif + +# x86-64 +ifeq ($(GLUON_TARGET),x86-64) +# support the usb stack on x86-64 devices +# and add a few common USB and PCI NICs +GLUON_SITE_PACKAGES += \ + kmod-usb-hid \ + kmod-hid-generic \ + $(USB_PACKAGES_BASIC) \ + $(USB_PACKAGES_STORAGE) \ + $(USB_PACKAGES_NET) \ + $(PCI_PACKAGES_NET) \ + $(TOOLS_PACKAGES) +endif +ifeq ($(GLUON_TARGET),x86-kvm_guest) +GLUON_SITE_PACKAGES += \ + $(TOOLS_PACKAGES) +endif + +#ar71xx-generic +GLUON_tp-link-tl-wr842n-nd-v3_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-tl-wr1043n-nd-v2_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-tl-wr1043n-nd-v3_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-tl-wr1043n-nd-v4_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-tl-wr1043n-v5_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-tl-wdr4300-v1_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-tl-wr2543n-nd-v1_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_linksys-wrt160nl_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_d-link-dir-825-rev-b1_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_d-link-dir-505-rev-a1_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_d-link-dir-505-rev-a2_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_gl-inet-6408a-v1_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_gl-inet-6416a-v1_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_netgear-wndr3700_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_netgear-wndr3700v2_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_netgear-wndr3700v4_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_buffalo-wzr-hp-g450h_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_buffalo-wzr-hp-g300nh_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-archer-c7-v2_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) +GLUON_tp-link-archer-c7-v4_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) + +#mpc85xx-generic +GLUON_tp-link-tl-wdr4900-v1_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE) + +## 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 := 0.6+mstr$(shell date '+%Y%m%d') +DEFAULT_GLUON_RELEASE := v2019.1.1-Wireguard + + +## 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 ?= v2019.1.1-Wireguard + +# Default priority for updates. +GLUON_PRIORITY ?= 0 + +# Languages to include +GLUON_LANGS ?= en de + +# Region settings for ARCHERC7 +GLUON_REGION ?= eu + +GLUON_ATH10K_MESH = 11s