From 04b7671b910694c595d271e6e2e201af4ecb3608 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Jun 2017 18:12:05 +0100 Subject: [PATCH] wpa_supplicant interface --- src/freedombone-utils-wifi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/freedombone-utils-wifi b/src/freedombone-utils-wifi index 3b84ecff..a333941d 100755 --- a/src/freedombone-utils-wifi +++ b/src/freedombone-utils-wifi @@ -378,7 +378,8 @@ function wifi_none { echo '' >> /etc/network/interfaces wifi_static_network_interface - echo 'update_config=1' > $WIFI_CONFIG + echo 'ctrl_interface=/var/run/wpa_supplicant' > $WIFI_CONFIG + echo 'update_config=1' >> $WIFI_CONFIG echo 'eapol_version=1' >> $WIFI_CONFIG echo '' >> $WIFI_CONFIG @@ -423,7 +424,8 @@ function networks_from_file { rm -f $WIFI_CONFIG fi - echo 'update_config=1' > $WIFI_CONFIG + echo 'ctrl_interface=/var/run/wpa_supplicant' > $WIFI_CONFIG + echo 'update_config=1' >> $WIFI_CONFIG echo 'eapol_version=1' >> $WIFI_CONFIG echo '' >> $WIFI_CONFIG