From df08ecfef6e6615cf171592caa90334224296ab4 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 27 Apr 2023 07:49:40 -0400 Subject: [PATCH] "Couldn't find an UPSTREAM SSID in files like wpa_supplicant.conf" --- roles/network/templates/hostapd/iiab-test-wifi.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/network/templates/hostapd/iiab-test-wifi.j2 b/roles/network/templates/hostapd/iiab-test-wifi.j2 index d364c5a5f..709a92fbb 100755 --- a/roles/network/templates/hostapd/iiab-test-wifi.j2 +++ b/roles/network/templates/hostapd/iiab-test-wifi.j2 @@ -5,7 +5,7 @@ # those can be parsed for the ssid without needing the related service running # first. # "Netplan systemd" "NetworkManager" need to be running to be able to parse for -# the ssid, from the generated config file for "Netplan systemd" and from the +# the ssid, from the generated config file for "Netplan systemd" and from the # running environment for "NetworkManager". # "iiab-wifi-test.service" acts as a bit of a traffic cop keeping the ordering # of the services more deterministic when active and tries to catch a channel @@ -66,7 +66,9 @@ fi echo "ssid is $SSID" if [ -z "$SSID" ]; then - echo "Couldn't find ssid $SSID to use exiting" + echo "Couldn't find an UPSTREAM SSID in files like wpa_supplicant.conf -- so exiting." + echo "CLARIF: This is normal when UPSTREAM WIFI is not active, as there would be no" + echo "UPSTREAM SSID to extract, e.g. if 'wifi_up_down: False'" if [ $NETPLAN -gt 0 ]; then echo "Netplan1" fi