Report comment

Hi roboberry. I was able to get back into the pi zero w (headless) running latest Stretch Lite by adding a new wpa_supplicant.conf file to the boot volume. I did some of the troubleshooting steps and had the output below:

pi@raspberrypi:~ $ sudo /usr/bin/autohotspot
/usr/bin/autohotspot: 23: /usr/bin/autohotspot: Syntax error: "(" unexpected
pi@raspberrypi:~ $ sudo systemctl status -l autohotspot
● autohotspot.service - Automatically generates an internet Hotspot when a valid ssid is not in range
Loaded: loaded (/etc/systemd/system/autohotspot.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-03-16 21:25:29 UTC; 1h 16min ago
Process: 583 ExecStart=/usr/bin/autohotspot (code=exited, status=203/EXEC)
Main PID: 583 (code=exited, status=203/EXEC)
Mar 16 21:25:29 raspberrypi systemd[1]: Starting Automatically generates an internet Hotspot when a valid s
Mar 16 21:25:29 raspberrypi systemd[1]: autohotspot.service: Main process exited, code=exited, status=203/E
Mar 16 21:25:29 raspberrypi systemd[1]: Failed to start Automatically generates an internet Hotspot when a
Mar 16 21:25:29 raspberrypi systemd[1]: autohotspot.service: Unit entered failed state.
Mar 16 21:25:29 raspberrypi systemd[1]: autohotspot.service: Failed with result 'exit-code'.
lines 1-11/11 (END)
pi@raspberrypi:~ $ sudo systemctl status -l hostapd
● hostapd.service - LSB: Advanced IEEE 802.11 management daemon
Loaded: loaded (/etc/init.d/hostapd; generated; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)

The second line with the unexpected "(" seems significant. But I'm not sure how to go about fixing this. Any advice would be greatly appreciated.