I use Raspbian Lite on my Pi 3 and have a problem where I can't access it remotely anymore - at some point. I use wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
in my /etc/network/interfaces
(I think). This should reconnect to WiFi if connection drops.
I can't look at it remotely and don't have a spare display for it anyway, so I just remove power cable, plug it in again and then it works again... for some time.
What can this be? I use a 2A wall adapter if that matters, really. I don't run it hot or do some heavy usage, just SSH and Apache2.
wpa-roam
you are NOT using the standard settings, so unless you list your files who knows. See How do I set up networking/WiFi/Static IP – Milliways Dec 21 '16 at 22:07