One thing I've noticed on Dell XPS 13 running Ubuntu 20.04 LTS is that the internet grinned down to a halt after waking up the computer from a suspended state (e.g. after locking computer).
Prevent Wifi sleep mode.
$ cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf [connection] wifi.powersave = 3
3(Enable power saving).
- If it's already set to
3try setting it to
2(Disable power saving).
- After saving the file run
sudo systemctl restart NetworkManager