diff --git a/group_vars/model_avm_fritzbox_7320.yml b/group_vars/model_avm_fritzbox_7320.yml new file mode 100644 index 00000000..9870445a --- /dev/null +++ b/group_vars/model_avm_fritzbox_7320.yml @@ -0,0 +1,16 @@ +--- +override_target: "avm_fritz7320" +target: lantiq/xway +brand_nice: AVM +model_nice: FRITZ!Box 7320 + +int_port: eth0 +low_mem: true +low_flash: true + +wireless_devices: + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: pci0000:00/0000:00:0e.0 + ifname_hint: wlan2 diff --git a/group_vars/model_comfast_cf_e130n_v2.yml b/group_vars/model_comfast_cf_e130n_v2.yml new file mode 100644 index 00000000..125c9a14 --- /dev/null +++ b/group_vars/model_comfast_cf_e130n_v2.yml @@ -0,0 +1,17 @@ +--- +target: ath79/generic +brand_nice: COMFAST +model_nice: CF-E130N +version_nice: v2 + +int_port: eth0 + +low_mem: true +low_flash: true + +wireless_devices: + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: platform/ahb/18100000.wmac + ifname_hint: wlan2 diff --git a/group_vars/model_comfast_cf_ew72.yml b/group_vars/model_comfast_cf_ew72.yml new file mode 100644 index 00000000..86b19751 --- /dev/null +++ b/group_vars/model_comfast_cf_ew72.yml @@ -0,0 +1,19 @@ +--- +target: ath79/generic +brand_nice: COMFAST +model_nice: CF-EW72 +version_nice: v1 + +int_port: eth0 + +wireless_devices: + - name: 11a_standard + band: 5g + htmode_prefix: HT + path: pci0000:00/0000:00:00.0 + ifname_hint: wlan5 + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: platform/ahb/18100000.wmac + ifname_hint: wlan2 diff --git a/group_vars/model_glinet_gl_ar300m_nor.yml b/group_vars/model_glinet_gl_ar300m_nor.yml new file mode 100644 index 00000000..fe279e26 --- /dev/null +++ b/group_vars/model_glinet_gl_ar300m_nor.yml @@ -0,0 +1,13 @@ +--- +target: ath79/nand +brand_nice: GL.iNet +model_nice: GL-AR300M NOR + +int_port: eth0 + +wireless_devices: + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: platform/ahb/18100000.wmac + ifname_hint: wlan2 diff --git a/group_vars/model_speedport_w_504v_typ_a.yml b/group_vars/model_speedport_w_504v_typ_a.yml new file mode 100644 index 00000000..d8b14bfb --- /dev/null +++ b/group_vars/model_speedport_w_504v_typ_a.yml @@ -0,0 +1,21 @@ +--- +override_target: "arcadyan_arv8539pw22" +target: lantiq/xway +brand_nice: Speedport +model_nice: W 504V Typ A + +switch_ports: 6 +switch_int_port: 0 +switch_ignore_ports: [1] + +int_port: eth0 + +low_mem: true +low_flash: true + +wireless_devices: + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: pci0000:00/0000:00:0e.0 + ifname_hint: wlan2 diff --git a/group_vars/model_tplink_eap225_outdoor_v3.yml b/group_vars/model_tplink_eap225_outdoor_v3.yml new file mode 100644 index 00000000..9323ca65 --- /dev/null +++ b/group_vars/model_tplink_eap225_outdoor_v3.yml @@ -0,0 +1,19 @@ +--- +target: ath79/generic +brand_nice: TP-Link +model_nice: EAP225 +version_nice: v3 + +int_port: eth0 + +wireless_devices: + - name: 11a_standard + band: 5g + htmode_prefix: VHT + path: pci0000:00/0000:00:00.0 + ifname_hint: wlan5 + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: platform/ahb/18100000.wmac + ifname_hint: wlan2 diff --git a/group_vars/model_tplink_tl_mr3020_v3.yml b/group_vars/model_tplink_tl_mr3020_v3.yml new file mode 100644 index 00000000..474efcc1 --- /dev/null +++ b/group_vars/model_tplink_tl_mr3020_v3.yml @@ -0,0 +1,18 @@ +--- +target: ramips/mt76x8 +brand_nice: TP-Link +model_nice: TL-MR3020 +version_nice: v3 + +dsa_ports: + - lan + +low_mem: true +low_flash: true + +wireless_devices: + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: platform/10300000.wmac + ifname_hint: wlan2 diff --git a/locations/hdk-0.yml b/locations/hdk-0.yml new file mode 100644 index 00000000..c91422af --- /dev/null +++ b/locations/hdk-0.yml @@ -0,0 +1,73 @@ +--- +location: hdk-0 +location_nice: Heidekampgraben 0 +latitude: 52.478078 +longitude: 13.471925 +community: true + +hosts: + - hostname: hdk-0 + role: corerouter + model: "avm_fritzbox-7530" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2000::/56' + +# Router: 10.248.6.0/26 2001:bf7:840:2000::/56 +# --MGMT: 10.248.6.0/28 +# --MESH: 10.248.6.16/28 +# --DHCP: 10.248.6.32/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.6.32/27 + ipv6_subprefix: 0 + assignments: + hdk-0: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.6.16/32 + ipv6_subprefix: -20 + mesh_ap: hdk-0 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.6.17/32 + ipv6_subprefix: -21 + mesh_ap: hdk-0 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.6.0/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.6.1/28 + hdk-0: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-0: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-0: 13-20 diff --git a/locations/hdk-13.yml b/locations/hdk-13.yml new file mode 100644 index 00000000..fdf4126a --- /dev/null +++ b/locations/hdk-13.yml @@ -0,0 +1,59 @@ +--- +location: hdk-13 +location_nice: Heidekampgraben 13 +latitude: 52.478237 +longitude: 13.472834 +community: true + +hosts: + - hostname: hdk-13 + role: corerouter + model: "tplink_tl-mr3020-v3" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:3100::/56' + +# Router: 10.248.10.192/26 2001:bf7:840:3100::/56 +# --MGMT: 10.248.10.192/28 +# --MESH: 10.248.10.208/28 +# --DHCP: 10.248.10.224/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 2.4 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_2g + prefix: 10.248.10.208/32 + ipv6_subprefix: -20 + mesh_ap: hdk-13 + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.10.224/27 + ipv6_subprefix: 0 + assignments: + hdk-13: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.10.192/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.10.193/28 + hdk-13: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-13: 13-20 diff --git a/locations/hdk-17f.yml b/locations/hdk-17f.yml new file mode 100644 index 00000000..afed9fdc --- /dev/null +++ b/locations/hdk-17f.yml @@ -0,0 +1,73 @@ +--- +location: hdk-17f +location_nice: Heidekampgraben 17f +latitude: 52.478675 +longitude: 13.471268 +community: true + +hosts: + - hostname: hdk-17f + role: corerouter + model: "avm_fritzbox-7530" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:3000::/56' + +# Router: 10.248.10.128/26 2001:bf7:840:3000::/56 +# --MGMT: 10.248.10.128/28 +# --MESH: 10.248.10.144/28 +# --DHCP: 10.248.10.160/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.10.160/27 + ipv6_subprefix: 0 + assignments: + hdk-17f: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.10.144/32 + ipv6_subprefix: -20 + mesh_ap: hdk-17f + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.10.145/32 + ipv6_subprefix: -21 + mesh_ap: hdk-17f + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.10.128/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.10.129/28 + hdk-17f: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-17f: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-17f: 13-20 diff --git a/locations/hdk-23.yml b/locations/hdk-23.yml new file mode 100644 index 00000000..0d82912b --- /dev/null +++ b/locations/hdk-23.yml @@ -0,0 +1,59 @@ +--- +location: hdk-23 +location_nice: Heidekampgraben 23 +latitude: 52.477739061000001 +longitude: 13.471067548000001 +community: true + +hosts: + - hostname: hdk-23 + role: corerouter + model: "avm_fritzbox-7320" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2c00::/56' + +# Router: 10.248.8.192/26 2001:bf7:840:2c00::/56 +# --MGMT: 10.248.8.192/28 +# --MESH: 10.248.8.208/28 +# --DHCP: 10.248.8.224/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 2.4 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_2g + prefix: 10.248.8.208/32 + ipv6_subprefix: -20 + mesh_ap: hdk-23 + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.8.224/27 + ipv6_subprefix: 0 + assignments: + hdk-23: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.8.192/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.8.193/28 + hdk-23: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-23: 13-20 diff --git a/locations/hdk-24.yml b/locations/hdk-24.yml new file mode 100644 index 00000000..137ebb8e --- /dev/null +++ b/locations/hdk-24.yml @@ -0,0 +1,59 @@ +--- +location: hdk-24 +location_nice: Heidekampgraben 24 +latitude: 52.477859951 +longitude: 13.470954895 +community: true + +hosts: + - hostname: hdk-24 + role: corerouter + model: "speedport_w-504v-typ-a" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2b00::/56' + +# Router: 10.248.8.128/26 2001:bf7:840:2b00::/56 +# --MGMT: 10.248.8.128/28 +# --MESH: 10.248.8.144/28 +# --DHCP: 10.248.8.160/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 2.4 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_2g + prefix: 10.248.8.144/32 + ipv6_subprefix: -20 + mesh_ap: hdk-24 + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.8.160/27 + ipv6_subprefix: 0 + assignments: + hdk-24: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.8.128/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.8.129/28 + hdk-24: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-24: 13-20 diff --git a/locations/hdk-39.yml b/locations/hdk-39.yml new file mode 100644 index 00000000..7e28150d --- /dev/null +++ b/locations/hdk-39.yml @@ -0,0 +1,73 @@ +--- +location: hdk-39 +location_nice: Heidekampgraben 39 +latitude: 52.478578750 +longitude: 13.472220898 +community: true + +hosts: + - hostname: hdk-39 + role: corerouter + model: "avm_fritzbox-7530" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2900::/56' + +# Router: 10.248.8.0/26 2001:bf7:840:2900::/56 +# --MGMT: 10.248.8.0/28 +# --MESH: 10.248.8.16/28 +# --DHCP: 10.248.8.32/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.8.16/32 + ipv6_subprefix: -20 + mesh_ap: hdk-39 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.8.17/32 + ipv6_subprefix: -21 + mesh_ap: hdk-39 + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.8.32/27 + ipv6_subprefix: 0 + assignments: + hdk-39: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.8.0/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.8.1/28 + hdk-39: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-39: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-39: 13-20 diff --git a/locations/hdk-42.yml b/locations/hdk-42.yml new file mode 100644 index 00000000..8e07555b --- /dev/null +++ b/locations/hdk-42.yml @@ -0,0 +1,73 @@ +--- +location: hdk-42 +location_nice: Heidekampgraben 42 +latitude: 52.478800921 +longitude: 13.471823930 +community: true + +hosts: + - hostname: hdk-42 + role: corerouter + model: "ubnt_unifiac-mesh" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2200::/56' + +# Router: 10.248.6.128/26 2001:bf7:840:2200::/56 +# --MGMT: 10.248.6.128/28 +# --MESH: 10.248.6.144/28 +# --DHCP: 10.248.6.160/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.6.160/27 + ipv6_subprefix: 0 + assignments: + hdk-42: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.6.144/32 + ipv6_subprefix: -20 + mesh_ap: hdk-42 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.6.145/32 + ipv6_subprefix: -21 + mesh_ap: hdk-42 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.6.128/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.6.129/28 + hdk-42: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-42: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-42: 13-20 diff --git a/locations/hdk-47a.yml b/locations/hdk-47a.yml new file mode 100644 index 00000000..ed4c5bca --- /dev/null +++ b/locations/hdk-47a.yml @@ -0,0 +1,59 @@ +--- +location: hdk-47a +location_nice: Heidekampgraben 47a +latitude: 52.47883095205514 +longitude: 13.47129945930971 +community: true + +hosts: + - hostname: hdk-47a + role: corerouter + model: "glinet_gl-ar300m-nor" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2e00::/56' + +# Router: 10.248.9.64/26 2001:bf7:840:2e00::/56 +# --MGMT: 10.248.9.64/28 +# --MESH: 10.248.9.80/28 +# --DHCP: 10.248.9.96/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 2.4 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_2g + prefix: 10.248.9.80/32 + ipv6_subprefix: -20 + mesh_ap: hdk-47a + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.9.96/27 + ipv6_subprefix: 0 + assignments: + hdk-47a: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.9.64/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.9.65/28 + hdk-47a: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-47a: 13-20 diff --git a/locations/hdk-48.yml b/locations/hdk-48.yml new file mode 100644 index 00000000..851aa1ec --- /dev/null +++ b/locations/hdk-48.yml @@ -0,0 +1,88 @@ +--- +location: hdk-48 +location_nice: Heidekampgraben +latitude: 52.478993688 +longitude: 13.471185565 + +# config restored from router configuration +# got following prefixes: +# Router: 10.248.5.128/26 2001:bf7:840:1e00::/56 +# --MGMT: 10.248.5.128/28 +# --MESH: 10.248.5.144/28 +# --DHCP: 10.248.5.160/27 + +community: true + +hosts: + - hostname: hdk-48 + role: corerouter + model: "siemens_ws-ap3610" + wireless_profile: freifunk_default + +ipv6_prefix: "2001:bf7:840:1e00::/56" + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.5.160/27 + ipv6_subprefix: 0 + assignments: + hdk-48: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5ghz + prefix: 10.248.5.144/32 + ipv6_subprefix: -1 + mesh_ap: hdk-48 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2ghz + prefix: 10.248.5.145/32 + ipv6_subprefix: -2 + mesh_ap: hdk-48 + mesh_radio: 11g_standard + mesh_iface: mesh + + - vid: 50 + role: uplink + untagged: true + + - role: tunnel + ifname: ts_wg0 + mtu: 1280 + prefix: 10.248.5.146/32 + wireguard_port: 51820 + + - role: tunnel + ifname: ts_wg1 + mtu: 1280 + prefix: 10.248.5.147/32 + wireguard_port: 51821 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.5.128/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.5.129/28 + hdk-48: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-48: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-48: 13-20 diff --git a/locations/hdk-53.yml b/locations/hdk-53.yml new file mode 100644 index 00000000..2d11da78 --- /dev/null +++ b/locations/hdk-53.yml @@ -0,0 +1,59 @@ +--- +location: hdk-53 +location_nice: Heidekampgraben 53 +latitude: 52.478446 +longitude: 13.472099 +community: true + +hosts: + - hostname: hdk-53 + role: corerouter + model: "comfast_cf-e130n-v2" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2500::/56' + +# Router: 10.248.7.0/26 2001:bf7:840:2500::/56 +# --MGMT: 10.248.7.0/28 +# --MESH: 10.248.7.16/28 +# --DHCP: 10.248.7.32/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.7.32/27 + ipv6_subprefix: 0 + assignments: + hdk-53: 1 + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.7.17/32 + ipv6_subprefix: -21 + mesh_ap: hdk-53 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.7.0/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.7.1/28 + hdk-53: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-53: 13-20 diff --git a/locations/hdk-54.yml b/locations/hdk-54.yml new file mode 100644 index 00000000..95d6198b --- /dev/null +++ b/locations/hdk-54.yml @@ -0,0 +1,73 @@ +--- +location: hdk-54 +location_nice: Heidekampgraben 54 +latitude: 52.47832795 +longitude: 13.47192646 +community: true + +hosts: + - hostname: hdk-54 + role: corerouter + model: "avm_fritzbox-7530" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2100::/56' + +# Router: 10.248.6.64/26 2001:bf7:840:2100::/56 +# --MGMT: 10.248.6.64/28 +# --MESH: 10.248.6.80/28 +# --DHCP: 10.248.6.96/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.6.96/27 + ipv6_subprefix: 0 + assignments: + hdk-54: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.6.80/32 + ipv6_subprefix: -20 + mesh_ap: hdk-54 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.6.81/32 + ipv6_subprefix: -21 + mesh_ap: hdk-54 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.6.64/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.6.65/28 + hdk-54: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-54: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-54: 13-20 diff --git a/locations/hdk-59.yml b/locations/hdk-59.yml new file mode 100644 index 00000000..3511423c --- /dev/null +++ b/locations/hdk-59.yml @@ -0,0 +1,73 @@ +--- +location: hdk-59 +location_nice: Heidekampgraben 59 +latitude: 52.478078 +longitude: 13.471925 +community: true + +hosts: + - hostname: hdk-59 + role: corerouter + model: "avm_fritzbox-7530" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2f00::/56' + +# Router: 10.31.244.128/26 2001:bf7:840:2f00::/56 +# --MGMT: 10.31.244.128/28 +# --MESH: 10.31.244.144/28 +# --DHCP: 10.31.244.160/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.31.244.160/27 + ipv6_subprefix: 0 + assignments: + hdk-59: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.31.244.144/32 + ipv6_subprefix: -20 + mesh_ap: hdk-59 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2ghz + prefix: 10.31.244.145/32 + ipv6_subprefix: -2 + mesh_ap: hdk-59 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.31.244.128/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.31.244.129/28 + hdk-59: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-59: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-59: 13-20 diff --git a/locations/hdk-64.yml b/locations/hdk-64.yml new file mode 100644 index 00000000..e8fee8e2 --- /dev/null +++ b/locations/hdk-64.yml @@ -0,0 +1,73 @@ +--- +location: hdk-64 +location_nice: Heidekampgraben 64 +latitude: 52.4783508 +longitude: 13.47084805 +community: true + +hosts: + - hostname: hdk-64 + role: corerouter + model: "comfast_cf-ew72" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2300::/56' + +# Router: 10.248.6.192/26 2001:bf7:840:2300::/56 +# --MGMT: 10.248.6.192/28 +# --MESH: 10.248.6.208/28 +# --DHCP: 10.248.6.224/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.6.224/27 + ipv6_subprefix: 0 + assignments: + hdk-64: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.6.208/32 + ipv6_subprefix: -20 + mesh_ap: hdk-64 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.6.209/32 + ipv6_subprefix: -21 + mesh_ap: hdk-64 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.6.192/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.6.193/28 + hdk-64: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-64: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-64: 13-20 diff --git a/locations/hdk-66b.yml b/locations/hdk-66b.yml new file mode 100644 index 00000000..c485f61e --- /dev/null +++ b/locations/hdk-66b.yml @@ -0,0 +1,75 @@ +--- +location: hdk-66b +location_nice: Heidekampgraben 66b +latitude: 52.478131 +longitude: 13.470509 +community: true + +hosts: + - hostname: hdk-66b + role: corerouter + model: "tplink_eap225-outdoor-v3" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:1f00::/56' + +# config restored from router configuration +# got following prefixes: +# Router: 10.248.5.192/26 2001:bf7:840:1f00::/56 +# --MGMT: 10.248.5.192/28 +# --MESH: 10.248.5.208/28 +# --DHCP: 10.248.5.224/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.5.224/27 + ipv6_subprefix: 0 + assignments: + hdk-66b: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.5.208/32 + ipv6_subprefix: -20 + mesh_ap: hdk-66b + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.5.209/32 + ipv6_subprefix: -21 + mesh_ap: hdk-66b + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.5.192/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.5.193/28 + hdk-66b: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-66b: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-66b: 13-20 diff --git a/locations/hdk-78a.yml b/locations/hdk-78a.yml new file mode 100644 index 00000000..0b8516f4 --- /dev/null +++ b/locations/hdk-78a.yml @@ -0,0 +1,61 @@ +--- +location: hdk-78a +location_nice: Heidekampgraben 87a +latitude: 52.478624490 +longitude: 13.469903469 +community: true + +hosts: + - hostname: hdk-78a + role: corerouter + model: "tplink_cpe210-v1" + wireless_profile: freifunk_default + low_mem: true + low_flash: true + +ipv6_prefix: '2001:bf7:840:2800::/56' + +# Router: 10.248.7.192/26 2001:bf7:840:2800::/56 +# --MGMT: 10.248.7.192/28 +# --MESH: 10.248.7.208/28 +# --DHCP: 10.248.7.224/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 2.4 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_2g + prefix: 10.248.7.208/32 + ipv6_subprefix: -20 + mesh_ap: hdk-78a + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.7.224/27 + ipv6_subprefix: 0 + assignments: + hdk-78a: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.7.192/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.7.193/28 + hdk-78a: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-78a: 13-20 diff --git a/locations/hdk-8.yml b/locations/hdk-8.yml new file mode 100644 index 00000000..cf7cbe95 --- /dev/null +++ b/locations/hdk-8.yml @@ -0,0 +1,73 @@ +--- +location: hdk-8 +location_nice: Heidekampgraben 8 +latitude: 52.478225886 +longitude: 13.473057747 +community: true + +hosts: + - hostname: hdk-8 + role: corerouter + model: "avm_fritzbox-7530" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2700::/56' + +# Router: 10.248.7.128/26 2001:bf7:840:2700::/56 +# --MGMT: 10.248.7.128/28 +# --MESH: 10.248.7.144/28 +# --DHCP: 10.248.7.160/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.7.160/27 + ipv6_subprefix: 0 + assignments: + hdk-8: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.7.144/32 + ipv6_subprefix: -20 + mesh_ap: hdk-8 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.7.145/32 + ipv6_subprefix: -21 + mesh_ap: hdk-8 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.7.128/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.7.129/28 + hdk-8: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-8: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-8: 13-20 diff --git a/locations/hdk-80.yml b/locations/hdk-80.yml new file mode 100644 index 00000000..5f02919c --- /dev/null +++ b/locations/hdk-80.yml @@ -0,0 +1,73 @@ +--- +location: hdk-80 +location_nice: Heidekampgraben 80 +latitude: 52.4783508 +longitude: 13.47084805 +community: true + +hosts: + - hostname: hdk-80 + role: corerouter + model: "comfast_cf-ew72" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2d00::/56' + +# Router: 10.248.9.0/26 2001:bf7:840:2d00::/56 +# --MGMT: 10.248.9.0/28 +# --MESH: 10.248.9.16/28 +# --DHCP: 10.248.9.32/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.9.32/27 + ipv6_subprefix: 0 + assignments: + hdk-80: 1 + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.9.16/32 + ipv6_subprefix: -20 + mesh_ap: hdk-80 + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.9.17/32 + ipv6_subprefix: -21 + mesh_ap: hdk-80 + mesh_radio: 11g_standard + mesh_iface: mesh + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.9.0/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.9.1/28 + hdk-80: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-80: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-80: 13-20 diff --git a/locations/hdk-85b.yml b/locations/hdk-85b.yml new file mode 100644 index 00000000..ad9d4be7 --- /dev/null +++ b/locations/hdk-85b.yml @@ -0,0 +1,73 @@ +--- +location: hdk-85b +location_nice: Heidekampgraben 85b +latitude: 52.479624490 +longitude: 13.47 +community: true + +hosts: + - hostname: hdk-85b + role: corerouter + model: "tplink_eap225-outdoor-v3" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2a00::/56' + +# Router: 10.248.8.64/26 2001:bf7:840:2a00::/56 +# --MGMT: 10.248.8.64/28 +# --MESH: 10.248.8.80/28 +# --DHCP: 10.248.8.96/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.8.80/32 + ipv6_subprefix: -20 + mesh_ap: hdk-85b + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.8.81/32 + ipv6_subprefix: -21 + mesh_ap: hdk-85b + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.8.96/27 + ipv6_subprefix: 0 + assignments: + hdk-85b: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.8.64/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.8.65 + hdk-85b: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11a_standard__to_merge: + hdk-85b: 36-40 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-85b: 13-20 diff --git a/locations/hdk-88m.yml b/locations/hdk-88m.yml new file mode 100644 index 00000000..f3b44964 --- /dev/null +++ b/locations/hdk-88m.yml @@ -0,0 +1,59 @@ +--- +location: hdk-88m +location_nice: Heidekampgraben 88m +latitude: 52.478225886 +longitude: 13.473057747 +community: true + +hosts: + - hostname: hdk-88m + role: corerouter + model: "avm_fritzbox-7320" + wireless_profile: freifunk_default + +ipv6_prefix: '2001:bf7:840:2600::/56' + +# Router: 10.248.7.64/26 2001:bf7:840:2600::/56 +# --MGMT: 10.248.7.64/28 +# --MESH: 10.248.7.80/28 +# --DHCP: 10.248.7.96/27 + +# Disable noping +dhcp_no_ping: false + +networks: + # MESH - 2.4 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_2g + prefix: 10.248.7.80/32 + ipv6_subprefix: -20 + mesh_ap: hdk-88m + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP with filtering and isolation + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: true + enforce_client_isolation: true + prefix: 10.248.7.96/27 + ipv6_subprefix: 0 + assignments: + hdk-88m: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.7.64/28 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + # 10.248.7.65/28 + hdk-88m: 1 + +# AP-id, wifi-channel, bandwidth, txpower +location__channel_assignments_11g_standard__to_merge: + hdk-88m: 13-20 diff --git a/roles/cfg_openwrt/tasks/conditional_packages.yml b/roles/cfg_openwrt/tasks/conditional_packages.yml index e14cff1b..c1a4c105 100644 --- a/roles/cfg_openwrt/tasks/conditional_packages.yml +++ b/roles/cfg_openwrt/tasks/conditional_packages.yml @@ -78,6 +78,22 @@ when: (low_mem | default(false) or low_flash | default(false)) and role != "corerouter" loop: "{{ all_luci_base__packages__to_merge }}" +- name: "Remove Luci packages on low mem and low flash not removed by the above" + set_fact: + packages: "{{ packages + [item] }}" + when: low_mem | default(false) or low_flash | default(false) + loop: + - -luci-app-olsr + - -luci-app-olsr-services + - -luci-mod-falter + - -luci-app-falter-owm-ant + - -luci-app-falter-owm-cmd + - -luci-app-falter-owm-gui + - -luci-mod-admin-full + - -luci-proto-ipv6 + - -luci-theme-bootstrap + - -uhttpd + - -uhttpd-mod-ubus - name: "Disable uhttpd on low mem" set_fact: