Report comment

Hi Rob, The issue depends on what state the PI is ending up in. I presume that the hotspot is not getting created but it is also not getting a network connection.

Firstly when you add your country code it updates /etc/wpa_supplicant/wpa_supplicant.conf.
the top 3 lines of the file should look like this

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

with your country in place of GB if your not in the uk. If these lines are not included then it will cause an issue.

next see if the AutohotspotN script run successfully, enter sudo systemctl status autohotspot
This will show you the if the script successfully run at start up.

If there is an error it will show what the issue is.
You can also run the script manually and it will give feed back about what it is doing.
sudo /usr/bin/autohotspotN

If you can let me know a bit more detail about what messages you get and if the network side works or not I will look into it further for you.