Skip to content

Commit

Permalink
model: add requires_mac_override setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki committed Aug 30, 2024
1 parent 9c36339 commit 98aea92
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions group_vars/model_dlink_covr_x1860_a1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ dsa_ports:
- internet
- ethernet

# Mac address can be read with the following command:
# cat /dev/mtdblock$(grep -w 'config2' /proc/mtd | sed -n 's/^mtd\([0-9]\+\):.*/\1/p') | grep -o 'factory_mac=[^ ]*' | cut -d= -f2
requires_mac_override: true

wireless_devices:
- name: 11a_standard
band: 5g
Expand Down
4 changes: 4 additions & 0 deletions group_vars/model_mikrotik_sxtsq_2_lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ model_nice: SXTsq Lite2

int_port: eth0

# Mac address can be read with the following command:
# cat /sys/firmware/mikrotik/hard_config/mac_base
requires_mac_override: true

wireless_devices:
- name: 11g_standard
band: 2g
Expand Down
4 changes: 4 additions & 0 deletions group_vars/model_mikrotik_sxtsq_5_ac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ model__packages__to_merge:
dsa_ports:
- lan

# Mac address can be read with the following command:
# cat /sys/firmware/mikrotik/hard_config/mac_base
requires_mac_override: true

wireless_devices:
- name: 11a_standard
band: 5g
Expand Down
4 changes: 4 additions & 0 deletions group_vars/model_netgear_wax202.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ dsa_ports:
- lan2
- lan3

# Mac address can be read with the following command:
# cat /dev/mtdblock$(grep -w 'Config' /proc/mtd | sed -n 's/^mtd\([0-9]\+\):.*/\1/p') | grep -o 'mac=[^ ]*' | cut -d= -f2
requires_mac_override: true

wireless_devices:
- name: 11a_standard
band: 5g
Expand Down
2 changes: 2 additions & 0 deletions group_vars/model_netgear_wax220.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ brand_nice: NETGEAR
model_nice: WAX220
int_port: eth0

requires_mac_override: true

wireless_devices:
- name: 11a_standard
band: 5g
Expand Down

0 comments on commit 98aea92

Please sign in to comment.