tlu/salt/states/hostapd/files/hostapd.conf.jinja
Jonas Forsberg 2c92cf35e9 .
2021-10-17 13:55:21 +02:00

17 lines
464 B
Django/Jinja

country_code={{ pillar['hostapd']['country_code'] }}
interface={{ pillar['network']['wireless'] }}
bridge={{ pillar['network']['bridge'] }}
ssid={{ pillar['hostapd']['ssid'] }}
hw_mode=g
channel={{ pillar['hostapd']['channel'] }}
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase={{ pillar['hostapd']['wpa_passphrase'] }}
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
own_ip_addr={{ pillar['network']['ip'] }}
wpa_group_rekey=86400