I have just installed Ubuntu 20.04.5 LTS and I am having connection problems through Ethernet. I will suddenly lose connection and get a question mark over the wired connection icon on the top right. If I disconnect the Ethernet cable I still get the wired connection icon with the question mark as if the cable was still connected. Wi-Fi works fine. This happens specially after the computer automatically suspends and the only way to fix it temporarily is to restart the computer.
Previously I was using Ubuntu 22.04 LTS and I had the same problem at the beginning. After doing some research I tried downgrading the Linux kernel and the problem was solved. I decided to downgrade to 20.04.5 because 22.04 just seemed quite buggy when 20.04 was fine in the past. However this time I am having the same problems on 20.04.5.
Before switching to Ubuntu I was using Windows 10 and I don't remember having any network issues on Windows (currently trying to reinstall Windows 10 to check again if I have the same issue on Windows because this was a long time ago), so I don't think it is any hardware issue.
I believe it is some issue with Ubuntu or the Linux kernel but I have no idea about networking and don't even know where to start troubleshooting. I love Ubuntu and I'd like to keep using it but these constant networking issues are just so crippling and tiresome.
Thank you very much in advance.