From 98a6d083c2e3a214a83d4c462f584b215ac8ddf1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 25 Dec 2014 17:56:36 +0000 Subject: [PATCH] Pairwise wifi option --- install-freedombone.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index f66e2874..359b9a9e 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -7208,7 +7208,11 @@ function enable_wifi_hotspot { echo '## Set cipher suites (encryption algorithms) ##' >> /etc/hostapd/hostapd.conf echo '## TKIP = Temporal Key Integrity Protocol' >> /etc/hostapd/hostapd.conf echo '## CCMP = AES in Counter mode with CBC-MAC' >> /etc/hostapd/hostapd.conf - echo 'wpa_pairwise=TKIP' >> /etc/hostapd/hostapd.conf + if [ ! $WIFI_PASSWORD ]; then + echo 'wpa_pairwise=NONE' >> /etc/hostapd/hostapd.conf + else + echo 'wpa_pairwise=TKIP' >> /etc/hostapd/hostapd.conf + fi echo '#rsn_pairwise=CCMP' >> /etc/hostapd/hostapd.conf echo '#' >> /etc/hostapd/hostapd.conf echo '## Shared Key Authentication ##' >> /etc/hostapd/hostapd.conf