0

I am working on a project which would require me to connect my Rpi 0 w to my home wifi. I want to send the pi wifi credentials(ssid and psk) over my phone the very first time and then on subsequent reboots, the pi should automatically connect to my home network. During this process, the pi wouldn't have access to monitor/keyboard/mouse.

The closest I came to achieve what I want was by following this: https://imti.co/iot-wifi/#connect-the-p ... fi-network

But the above didn't automatically connect to wifi after a reboot.

Any suggestions on how to do this?

Thanks!

1 Answers1

0

It is possible to set up a Pi headlessly. See How to set up networking/WiFi Headless Raspbian WiFi Setup, although it is easier to use the Raspberry Pi Imager or a keyboard and screen.

Trying to automate this would be possible, but you would need to setup the Pi first and write code to do this.

Milliways
  • 62,573
  • 32
  • 113
  • 225