From 35750850ac3c387b3a356371440ff48138f64123 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Thu, 19 May 2022 15:11:58 -0500 Subject: [PATCH] From @holta user facing feedback Co-authored-by: A Holt --- roles/network/templates/hostapd/iiab-hotspot-on | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/network/templates/hostapd/iiab-hotspot-on b/roles/network/templates/hostapd/iiab-hotspot-on index 055915fef..41b5357a7 100755 --- a/roles/network/templates/hostapd/iiab-hotspot-on +++ b/roles/network/templates/hostapd/iiab-hotspot-on @@ -1,6 +1,9 @@ #!/bin/bash {% if not can_be_ap %} -AP support was not detected please see https://github.com/iiab/iiab/pull/3179 +echo -e "\nUH-OH: Your Wi-Fi firmware doesn't support AP mode, according to 'iw list'\n" +echo -e "If you add Wi-Fi hardware, run 'cd /opt/iiab/iiab' then 'sudo ./iiab-network'\n" +echo -e "For details, see: https://github.com/iiab/iiab/pull/3179\n" +exit 1 {% else %} sed -i -e "s/^HOSTAPD_ENABLED.*/HOSTAPD_ENABLED=True/" {{ iiab_env_file }} {% if wifi_up_down %}