From 832f22e921c6af3a5f07a90d17ff04c28abc6b14 Mon Sep 17 00:00:00 2001 From: LipkeGu Date: Sat, 10 Aug 2024 00:10:53 +0200 Subject: [PATCH] Init location "FBLipke" and device "nsm2_xw" --- group_vars/model_ubnt_nanostation_m2_xw.yml | 29 ++++++++ locations/fblipke.yml | 75 +++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 group_vars/model_ubnt_nanostation_m2_xw.yml create mode 100644 locations/fblipke.yml diff --git a/group_vars/model_ubnt_nanostation_m2_xw.yml b/group_vars/model_ubnt_nanostation_m2_xw.yml new file mode 100644 index 000000000..c9ad8f418 --- /dev/null +++ b/group_vars/model_ubnt_nanostation_m2_xw.yml @@ -0,0 +1,29 @@ +--- +override_target: "ubnt_nanostation-m" +target: ath79/tiny +brand_nice: Ubiquiti +model_nice: Ubiquiti Nanostation M2 (XW) +version_nice: XW + +switch_ports: 3 +switch_int_port: 0 +switch_ignore_ports: [1, 2, 3, 4] +int_port: eth0 +low_mem: false #XW has 64MB + +dsa_ports: + - lan + - wan + +wireless_devices: + - name: 11g_standard + band: 2g + htmode_prefix: HT + path: platform/ahb/18100000.wmac + ifname_hint: wlan2 + antenna_gain: 8 + +poe_ports: + - name: PoE Passthrough + gpio_pin: 2 + value: 0 diff --git a/locations/fblipke.yml b/locations/fblipke.yml new file mode 100644 index 000000000..4657e47be --- /dev/null +++ b/locations/fblipke.yml @@ -0,0 +1,75 @@ +--- +location: fblipke +location_nice: FBLipke - Freifunk Berlin +latitude: 52.484948320 +longitude: 13.443380903 +altitude: 42 +height: 13 +contact_name: 'Guido L.' +contact_nickname: 'LipkeGu' +contacts: + - 'contact@fblipke.de' +hosts: + - hostname: fblipke-core + role: corerouter + model: "x86_64" + wireless_profile: freifunk_default + low_flash: true + - hostname: fblipke-ap01 + role: ap + model: "ubnt_nanostation_m2_xw" + wireless_profile: freifunk_default + low_flash: true + +ipv6_prefix: "2001:bf7:850:1500::/56" + +networks: + - vid: 20 + role: mesh + name: 11s_n_2g + prefix: 10.248.2.200/32 + ipv6_subprefix: -20 + mesh_ap: fblipke-core + mesh_radio: 11g_standard + mesh_iface: mesh + - vid: 40 + role: dhcp + prefix: 10.248.3.128/27 + ipv6_subprefix: 0 + inbound_filtering: true + enforce_client_isolation: true + no_corerouter_dns_record: true + assignments: + fblipke-core: 129 + fblipke-ap01: 130 + - vid: 42 + role: mgmt + prefix: 10.248.3.160/28 + gateway: 1 + ntp: 1 + ipv6_subprefix: 1 + assignments: + fblipke-core: 1 + fblipke-ap01: 2 + - vid: 50 + role: uplink + + - role: tunnel + ifname: ts_wg0 + mtu: 1280 + prefix: 10.248.3.177/32 + wireguard_port: 51820 + +location__wireless_profiles__to_merge: + - name: foobar + devices: + - radio: 11g_standard + legacy_rates: false + country: DE + ifaces: + - mode: ap + ssid: berlin.freifunk.net + encryption: none + network: dhcp + radio: [11a_standard, 11g_standard] + ifname_hint: ff