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 some changes #1139

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
fcbf8a5
model: ubnt unifiac mesh: fix 2.4 ghz path
freifunkoperator Jul 15, 2024
10b396f
model: fritzrepeater 1200: add model
freifunkoperator Jul 15, 2024
142dd69
hdk-17: rename parzelle-17 to hdk-17
freifunkoperator Jul 15, 2024
5e5844e
hdk-30: add new location
freifunkoperator Jul 15, 2024
b0fdff2
hdk-6: add new location
freifunkoperator Jul 15, 2024
3d1d95a
hdk-15: add new location
freifunkoperator Jul 15, 2024
d1742ff
hdk-48: add new location
freifunkoperator Jul 15, 2024
fac3665
model: add tplink eap225 outdoor v3
freifunkoperator Jul 15, 2024
d65583a
hdk-66b: add new location
freifunkoperator Jul 15, 2024
e2bb93d
hdk-0: add new location
freifunkoperator Jul 15, 2024
ed963d1
hdk54: add new location
freifunkoperator Jul 15, 2024
13fb4a1
hdk-42: add new location
freifunkoperator Jul 15, 2024
851ac16
model: add comfast cf we72 v1
freifunkoperator Jul 16, 2024
c8097bc
hdk-64: add new location
freifunkoperator Jul 16, 2024
4a82a5c
model: comfast cf ew72: fix modelfile
freifunkoperator Jul 16, 2024
9c602b3
hdk-64: fix location
freifunkoperator Jul 16, 2024
4ce695b
model: comfast cf e130n v2: add model
freifunkoperator Jul 16, 2024
c86a71c
hdk-53: add location
freifunkoperator Jul 16, 2024
74d90be
hdk-8: add location
freifunkoperator Jul 17, 2024
c750bb4
hdk-78a: add new location
freifunkoperator Jul 18, 2024
5fdc20a
hdk-88m: add location
freifunkoperator Jul 18, 2024
d4e0a65
model: fritzbox 7320: add new router
freifunkoperator Jul 18, 2024
36e468d
hdk-23: add location
freifunkoperator Jul 18, 2024
d000f45
hdk-24: add new location
freifunkoperator Jul 18, 2024
0d84474
hdk-39: add location
freifunkoperator Jul 18, 2024
c447c5c
hdk-47a: add new location
freifunkoperator Jul 18, 2024
045bb68
hdk-80: add location
freifunkoperator Jul 18, 2024
2c97d67
hdk-85b: add location
freifunkoperator Jul 18, 2024
812d470
model: add glinet gl ar300m nor
freifunkoperator Jul 18, 2024
2a7adf1
model: add speedport w 50v typ a
freifunkoperator Jul 18, 2024
46d8619
hdk-59: add location
freifunkoperator Jul 19, 2024
2e9e0b6
some changes i dont know anymore
freifunkoperator Dec 17, 2024
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
9 changes: 9 additions & 0 deletions group_vars/all/imageprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ ssl__packages__to_merge:
- px5g-wolfssl

all_luci_base__packages__to_merge:
- luci-app-babeld
- luci-app-olsr
- luci-app-olsr-services
- luci-mod-falter
- falter-common
- luci-app-falter-owm
- luci-app-falter-owm-ant
- luci-app-falter-owm-cmd
- luci-app-falter-owm-gui
- libiwinfo-lua
- luci-mod-admin-full
- luci-proto-ipv6
Expand Down
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
18 changes: 18 additions & 0 deletions group_vars/model_avm_fritzrepeater_1200.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
target: ipq40xx/generic
brand_nice: AVM
model_nice: FRITZ!Repeater 1200

int_port: eth0

wireless_devices:
- name: 11a_standard
band: 5g
htmode_prefix: VHT
path: platform/soc/a800000.wifi
ifname_hint: wlan5
- name: 11g_standard
band: 2g
htmode_prefix: HT
path: platform/soc/a000000.wifi
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
1 change: 1 addition & 0 deletions group_vars/model_dlink_dap_x1860_a1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ target: ramips/mt7621
brand_nice: D-Link
model_nice: DAP-X1860
version_nice: A1
openwrt_version: snapshot

int_port: lan

Expand Down
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
22 changes: 22 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,22 @@
---
override_target: "arcadyan_arv8539pw22"
target: lantiq/xway
brand_nice: Speedport
model_nice: W 504V Typ A
openwrt_version: 22.03-SNAPSHOT

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
4 changes: 4 additions & 0 deletions group_vars/model_tplink_cpe210_v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ target: ath79/generic
brand_nice: TP-Link
model_nice: CPE210
version_nice: v1
openwrt_version: snapshot

# PoE port is eth1, 2nd port is eth0
# override port in host_vars if required
int_port: eth1

low_mem: true
low_flash: true

wireless_devices:
- name: 11g_standard
band: 2g
Expand Down
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
6 changes: 3 additions & 3 deletions group_vars/model_ubnt_unifiac_mesh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ target: ath79/generic
brand_nice: Ubiquiti
model_nice: UniFi AC Mesh

int_port: eth0

model__packages__to_merge:
- "-kmod-ath10k-ct -ath10k-firmware-qca988x-ct"
- "kmod-ath10k ath10k-firmware-qca988x"

int_port: eth0

wireless_devices:
- name: 11a_standard
band: 5g
Expand All @@ -18,5 +18,5 @@ wireless_devices:
- name: 11g_standard
band: 2g
htmode_prefix: HT
path: platform/qca956x_wmac
path: platform/ahb/18100000.wmac
ifname_hint: wlan2
9 changes: 0 additions & 9 deletions group_vars/role_corerouter/imageprofile.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
role_corerouter__packages__to_merge:
- babeld
- luci-app-babeld
- collectd-mod-dhcpleases
- collectd-mod-olsrd
- collectd-mod-conntrack
Expand All @@ -13,13 +12,5 @@ role_corerouter__packages__to_merge:
- olsrd-mod-nameservice
- olsrd-mod-txtinfo
- olsrd-utils
- luci-app-olsr
- luci-app-olsr-services
- luci-mod-falter
- falter-common
- luci-app-falter-owm
- luci-app-falter-owm-ant
- luci-app-falter-owm-cmd
- luci-app-falter-owm-gui
- iptables-mod-ipopt
- kmod-ipt-ipopt
76 changes: 76 additions & 0 deletions locations/hdk-0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
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
# make mesh_metric(s) for 2GHz worse than 5GHz
mesh_metric: 1024
mesh_metric_lqm: ['default 0.8']
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
76 changes: 76 additions & 0 deletions locations/hdk-13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
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:
# 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

# MESH - 5 GHz 802.11s
- vid: 20
role: mesh
name: mesh_5g
prefix: 10.248.10.208/32
ipv6_subprefix: -20
mesh_ap: hdk-13
mesh_radio: 11a_standard
mesh_iface: mesh

# MESH - 2.4 GHz 802.11s
- vid: 21
role: mesh
name: mesh_2g
prefix: 10.248.10.209/32
ipv6_subprefix: -21
# make mesh_metric(s) for 2GHz worse than 5GHz
mesh_metric: 1024
mesh_metric_lqm: ['default 0.8']
mesh_ap: hdk-13
mesh_radio: 11g_standard
mesh_iface: mesh

# 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_11a_standard__to_merge:
hdk-13: 36-40

# AP-id, wifi-channel, bandwidth, txpower
location__channel_assignments_11g_standard__to_merge:
hdk-13: 13-20
Loading
Loading