diff options
author | Ivan Dolgov <ivan@qvarnlabs.com> | 2016-09-13 11:51:32 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-09-26 16:10:09 +0300 |
commit | ef137489a2af825da682169ed3a532c452e4f68c (patch) | |
tree | 70930116aa6186fddfedcb0649008762d23cad76 /ansible/roles/hotspot/templates/hostapd.conf.j2 | |
parent | 92294c460d9a4442fc255ae393e94aa982e76252 (diff) | |
download | minipc-router-ef137489a2af825da682169ed3a532c452e4f68c.tar.gz |
Add hotspot
Diffstat (limited to 'ansible/roles/hotspot/templates/hostapd.conf.j2')
-rw-r--r-- | ansible/roles/hotspot/templates/hostapd.conf.j2 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ansible/roles/hotspot/templates/hostapd.conf.j2 b/ansible/roles/hotspot/templates/hostapd.conf.j2 new file mode 100644 index 0000000..83ff514 --- /dev/null +++ b/ansible/roles/hotspot/templates/hostapd.conf.j2 @@ -0,0 +1,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 |