summaryrefslogtreecommitdiff
path: root/ansible/roles/hotspot/templates/hostapd.conf.j2
blob: 3ce77449f3b6cdca75246dc8c3734da3ac5b1309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# hostapd sample config with documentation:
# http://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
interface={{ interface }}
bridge={{ bridge }}
driver=nl80211
ssid={{ ssid }}
country_code={{ country }}
hw_mode={{ wifi_mode }}
ieee80211n={{ ieee80211n }}
channel={{ wifi_channel }}
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
# bit1: WPA2 only
wpa=1
wpa_passphrase={{ wifi_passphrase }}
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
wpa_pairwise=TKIP
rsn_pairwise=CCMP