I did the image writing to the SD card, I put the wpa_supplicant, userconf.txt and the ssh files in the head boot directory.
I then connected it to the power, it booted, the green LED is working, but the router showed no new connected device.
I connected the ethernet cable, and the device is now pingable, but I can’t connect to it via ssh, the connection is refused.
so, I powered it down, copied the same files to every directory in the sdcard, but still the same thing.
And I noticed that the SDcard is still partitioned in a small boot partition and the rest is not-partitioned , and that means the OS didn’t auto expand.
So, I’m wondering what should I do next.
NOTE: I don’t have a monitor to connect it to, I was hoping I can get it running headlessly via ssh.
Thanks in advance.
Edit: I moved the files to the parent directory, and it worked, now I’ve successfully connected to it via ssh.
Now, should I run some script for installing and auto-expand?