Turning my pi on I am able to connect with
ssh email@example.com as normal. If I leave the Pi idle for some time I am unable to ping from another computer on my LAN.
If I open the local terminal on the Pi and enter
sudo ping google.com, I am able to SSH again while the ping is running.
Is there an idle mode or similar that is kicking in which is preventing me from connecting?
EDIT: I am using a Pi 3 model B