from the previous version I have copied some bits off to reuse.
Basically to do with starting the subscriber.
----------------------------------------------------------
Fing shows RPi at 192.168.1.26
Had to change keygen, but then able to login via ssh.
sudo raspi-config to expand filessystem, and reboot.
https://raspberrytips.com/access-point-setup-raspberry-pi/
**sudo apt update,
**sudo apt-get install firmware-zd1211.
**and nmtui to configure Ethernet IP and Wifi
Ethernet 192.168.1.9/ 24 GW=192.168.1.31 ???
** Wifi rc-car Ashmeads Access Point 192.168.4.1/32 GW 192.168.4.255
Some of teh commands I will need after re-initialising
/home/peterm/mqtt/subscriber.py
added in sudo nano /lib/systemd/system/subscriber.service
sudo apt-get install python3-pip
apt install python3-paho-mqtt
Rebooted, and systemctl status for mosquitto and Subscriber.service showed both running.
sudo systemctl enable mosquitto started Mosquitto.
Tried to connect via WiFi with controller, Eventually it said "Attempting MQTT'
but nothing happened.
How do I tell if AP mode is done and DHCP is set?
https://raspberrytips.com/access-point-setup-raspberry-pi/ This looks pretty good. I shall run through it as If I hadn't already tried.
Set country GB
sudo nmcli con add con-name hotspot ifname wlan0 type wifi ssid "rc-car"
sudo nmcli con modify hotspot wifi-sec.key-mgmt wpa-psk
sudo nmcli con modify hotspot wifi-sec.psk "Ashmeads"