This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
eae-am-deutschen-platz/templates/aruba-ap-105_wireless.j2

45 lines
1.3 KiB
Django/Jinja

config wifi-device 'radio0'
option type 'mac80211'
option path 'pci0000:00/0000:00:11.0'
option band '2g'
option channel '{{ channel_2g | default(1) }}'
option htmode 'HT20'
option country 'DE'
{% if txpower_2g is defined %}
option txpower '{{ txpower_2g }}'
{% endif %}
option disabled '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'clients'
option mode 'ap'
option ssid '{{ wifi_ssid }}'
option encryption '{{ wifi_encryption }}'
{% if wifi_psk is defined %}
option key '{{ wifi_psk }}'
{% endif %}
config wifi-device 'radio1'
option type 'mac80211'
option path 'pci0000:00/0000:00:12.0'
option band '5g'
option channel '{{ channel_5g | default(36) }}'
option htmode 'HT20'
option country 'DE'
{% if txpower_5g is defined %}
option txpower '{{ txpower_5g }}'
{% endif %}
option disabled '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'clients'
option mode 'ap'
option ssid '{{ wifi_ssid }}'
option encryption '{{ wifi_encryption }}'
{% if wifi_psk is defined %}
option key '{{ wifi_psk }}'
{% endif %}