Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hdk add locations and models #1140

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions group_vars/model_avm_fritzbox_7320.yml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions group_vars/model_comfast_cf_e130n_v2.yml
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions group_vars/model_comfast_cf_ew72.yml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions group_vars/model_glinet_gl_ar300m_nor.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions group_vars/model_speedport_w_504v_typ_a.yml
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions group_vars/model_tplink_eap225_outdoor_v3.yml
Original file line number Diff line number Diff line change
@@ -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
18 changes: 18 additions & 0 deletions group_vars/model_tplink_tl_mr3020_v3.yml
Original file line number Diff line number Diff line change
@@ -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
73 changes: 73 additions & 0 deletions locations/hdk-0.yml
Original file line number Diff line number Diff line change
@@ -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
59 changes: 59 additions & 0 deletions locations/hdk-13.yml
Original file line number Diff line number Diff line change
@@ -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
73 changes: 73 additions & 0 deletions locations/hdk-17f.yml
Original file line number Diff line number Diff line change
@@ -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
59 changes: 59 additions & 0 deletions locations/hdk-23.yml
Original file line number Diff line number Diff line change
@@ -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
Loading
Loading