Other things that may need doing at some point
sudo raspi-config
sudo passwd root
-
sudo vim /etc/hostapd/hostapd.conf -
ssid is network name
-
wpa_passphrase is network password
-
Use any SFTP compatible device. For example, with filezilla use the host 'sftp://pi-ip'
-
After logging in, may need to go up several directories. Then into
/var/www/html -
Transfer the files. Webserver provides
index.htmlto clients. Server is launched withpython3 /var/www/html/server.py 192.168.4.1 8765 1 & -
If necessary, alter python launch config:
-
sudo vim /etc/rc.local -
update python line
-
Win32DiskImager
-
Copy
-
Can load this image to sd card in same utility or via raspberry pi imager