Skip to content

Commit

Permalink
Add ifname tags to linksys whw03 v1 and v2
Browse files Browse the repository at this point in the history
These are required for uci lookup commands to work properly in rita
  • Loading branch information
jkilpatr committed Jan 6, 2025
1 parent 1368423 commit 9ae547c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions roles/build-config/templates/linksys_whw03-wireless.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ config wifi-device 'radio0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option mode 'ap'
option ifname 'wlan0'
option ssid '{{wifi_ssid_five_ghz}}'
option encryption '{{wifi_encryption}}'
option key '{{wifi_key}}'
Expand All @@ -25,7 +26,8 @@ config wifi-device 'radio1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option mode 'ap'
option ifname 'wlan1'
option ssid '{{wifi_ssid_two_ghz}}'
option encryption '{{wifi_encryption}}'
option key '{{wifi_key}}'
Expand All @@ -41,7 +43,8 @@ config wifi-device 'radio2'
config wifi-iface 'default_radio2'
option device 'radio2'
option network 'lan'
option mode 'ap'
option mode 'ap'
option ifname 'wlan2'
option ssid '{{wifi_ssid_five_ghz}}'
option encryption '{{wifi_encryption}}'
option key '{{wifi_key}}'
9 changes: 6 additions & 3 deletions roles/build-config/templates/linksys_whw03v2-wireless.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ config wifi-device 'radio0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option mode 'ap'
option ifname 'wlan0'
option ssid '{{wifi_ssid_five_ghz}}'
option encryption '{{wifi_encryption}}'
option key '{{wifi_key}}'
Expand All @@ -25,7 +26,8 @@ config wifi-device 'radio1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option mode 'ap'
option ifname 'wlan1'
option ssid '{{wifi_ssid_two_ghz}}'
option encryption '{{wifi_encryption}}'
option key '{{wifi_key}}'
Expand All @@ -41,7 +43,8 @@ config wifi-device 'radio2'
config wifi-iface 'default_radio2'
option device 'radio2'
option network 'lan'
option mode 'ap'
option mode 'ap'
option ifname 'wlan2'
option ssid '{{wifi_ssid_five_ghz}}'
option encryption '{{wifi_encryption}}'
option key '{{wifi_key}}'

0 comments on commit 9ae547c

Please sign in to comment.