siegfred7
Posts: 1
Joined: Sun Jul 05, 2020 1:50 am

RPi4 network seems to go to sleep if left unattended [ubuntu]

Sun Jul 05, 2020 2:12 am

Hi,

I have been trying to setup Ubuntu server 20.04 headless on my RPi4.

I am using Wired network and have set my static IP via netplan, (which worked)

Problem is, the system/network seems to go to "sleep" when left for a few minutes/seconds I.E.

- If I left an active SSH session with it for a few seconds/minutes, then type again, it freezes a few seconds before responding normally again.
- If I ran a simple rest server, and leave it for a few minutes, then query a URL, it also freezes a few seconds before responding normally again. (TCP)

So it's not just SSH, and I am no longer sure if it was the network, since i have tried a lot of fixes relating to the network, and seems to be no notable logs in syslog about eth0 (verified lan interface name)

I have also heard an answer about it being caused by waking up the flash-access routines in the RPi-ARM image of Ubuntu, i have a slight doubt though.

additional data:
- Made sure no conflicting IP.
- IP is reserved in router.
- Using Anker PowerPort Speed 5 63W 5-Port USB Wall Charger as power source.
- Switched to different RJ45, still no go.

Return to “Ubuntu”