summaryrefslogtreecommitdiff
path: root/ansible/roles/hotspot/templates/hostapd.conf.j2
blob: 83ff514e7c8ce81aa1f1fbdf4628af201d96f75b (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={{ mode }}
ieee80211n={{ ieee80211n }}
channel={{ channel }}
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
# bit1: WPA2 only
wpa=1
wpa_passphrase={{ passphrase }}
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
wpa_pairwise=TKIP
rsn_pairwise=CCMP