Maybe someone with the same problem will be interested:
To automatically reconnecting after suspend, I've added the script that runs each resume and restores connection (based on this post).
- Go to
cd /lib/systemd/system-sleep/
and create the script file
sudo pluma restore_connection
with the following content
#!/bin/sh case $1/$2 in post/*) modprobe -r r8169 modprobe r8169 ;; esac
-
Make the script executable
sudo chmod a+x restore_connection
-
Now after suspend the connection should be restored.
Thanks to everyone and particularly to @ouroumov !