I just got started playing with raspi 3s. I have 2 of them, 1 I want to set up as a media server and the second a home automation server. I am having a weird problem with both that makes me think the problem is user error rather than anything hardware related.
I can only connect headless as I have no access at home or work to a monitor and external keyboard. After initially connecting without issue to either unit, having created the required ssh file in the /boot/ partition, after a shutdown -r or -h the raspi fails to get assigned an IP addy. I know without a doubt the network cables as well as the ETH ports on the switch are good since I can use them for other NEs without hiccup and they are the ones used to initially connect with the raspi's.
It almost seems as though the network services get turned off after the initial ssh session, when a shutdown command is issued to reboot or shut down. The raspi doesn't show up in the router's NE list with an issued ip addy. So of course I can't ping the raspi at the last ip addy it was assigned.
So I have resorted three ties now to re-flashing the offending SD cards with Raspbian, adding the necessary ssh file, and then all is good once more until a shutdown command is again issued.
So I now assume the problem here is operator error. Is there possibly something glaringly obvious that I could be missing to configure with network services on a newly initialized raspi? If not what else could be the problem? The exact same issue is happening with both units I have to play with here. Any help or suggs offered would sure be appreciated.