From 4746a142af787d68b0ebcce064b9a98fb8c5de7f Mon Sep 17 00:00:00 2001 From: George Hunt Date: Sat, 29 Aug 2020 13:13:25 -0700 Subject: [PATCH 1/2] add ctrl-interface to hostapd --- roles/network/templates/hostapd/hostapd.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/network/templates/hostapd/hostapd.conf.j2 b/roles/network/templates/hostapd/hostapd.conf.j2 index 28c558e14..cc4adc408 100644 --- a/roles/network/templates/hostapd/hostapd.conf.j2 +++ b/roles/network/templates/hostapd/hostapd.conf.j2 @@ -30,3 +30,5 @@ wpa_passphrase={{ hostapd_password }} # Use AES, instead of TKIP rsn_pairwise=CCMP {% endif %} +ctrl_interface=/var/run/hostapd +ctrl_interface_group=0 From f121ae1e527bf8884f00ef3a4c72e31d32345701 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Wed, 16 Sep 2020 11:52:17 -0500 Subject: [PATCH 2/2] move to top --- roles/network/templates/hostapd/hostapd.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/network/templates/hostapd/hostapd.conf.j2 b/roles/network/templates/hostapd/hostapd.conf.j2 index cc4adc408..171f18505 100644 --- a/roles/network/templates/hostapd/hostapd.conf.j2 +++ b/roles/network/templates/hostapd/hostapd.conf.j2 @@ -1,6 +1,8 @@ # Basic configuration interface={{ iiab_wireless_lan_iface }} +ctrl_interface=/var/run/hostapd +ctrl_interface_group=0 ssid={{ host_ssid }} channel={{ host_channel }} @@ -30,5 +32,3 @@ wpa_passphrase={{ hostapd_password }} # Use AES, instead of TKIP rsn_pairwise=CCMP {% endif %} -ctrl_interface=/var/run/hostapd -ctrl_interface_group=0