Skip to content

Commit e0a49fb

Browse files
committed
shp,w38b: fix routing by adding cost so no unwanted path is used
1 parent f6f7bb0 commit e0a49fb

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

locations/shp.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ hosts:
1313
model: "genexis_pulse-ex400"
1414
wireless_profile: freifunk_default
1515
flow_offload: hw
16+
host__rclocal__to_merge:
17+
- |
18+
# Enable legacy rates on 2.4 GHz radio to enable meshing with neighbors
19+
uci set wireless.radio1.legacy_rates='1'
20+
uci commit wireless
21+
reload_config
1622
1723
ipv6_prefix: "2001:bf7:830:f600::/56"
1824

@@ -35,16 +41,17 @@ networks:
3541
mesh_ap: shp-core
3642
mesh_radio: 11a_standard
3743
mesh_iface: mesh
44+
mesh_metric_neighbors:
45+
- name: w38b-core
46+
ip: fe80::8483:c4ff:fea5:4161
47+
metric: 4096
3848

3949
# MESH - 2.4 GHz 802.11s
4050
- vid: 21
4151
role: mesh
4252
name: mesh_2g
4353
prefix: 10.248.71.73/32
4454
ipv6_subprefix: -21
45-
# make mesh_metric(s) for 2GHz worse than 5GHz
46-
mesh_metric: 1024
47-
mesh_metric_lqm: ["default 0.8"]
4855
mesh_ap: shp-core
4956
mesh_radio: 11g_standard
5057
mesh_iface: mesh

locations/w38b.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ networks:
7171
mesh_ap: w38b-core
7272
mesh_radio: 11a_standard
7373
mesh_iface: mesh
74+
mesh_metric_neighbors:
75+
- name: shp-core
76+
ip: fe80::40d4:37ff:fe8c:877
77+
metric: 4096
7478

7579
# MESH - 2.4 GHz 802.11s
7680
- vid: 21

0 commit comments

Comments
 (0)