tlu/salt/states/hostapd/files/hostapd.conf.jinja
Jonas Forsberg 5f7d7698e8 .
2021-10-14 11:12:33 +02:00

17 lines
490 B
Django/Jinja

country_code={{ pillar['hostapd']['country_code'] }}
interface={{ pillar['network']['interface']['wireless'] }}
bridge={{ pillar['network']['interface']['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