I'm experiencing a frustrating issue with my Linux system running POP-OS 22.04. It keeps losing connection with my Linksys router anywhere from once a day to four times a day. I'm using a Cat 6 cable and there's a switch hub in between the cable and the router. To troubleshoot, I even ran a different, known good Cat 6 cable across the house to bypass any potential issues with the original cable, but unfortunately, that didn't solve the problem. I've tried adjusting settings like the packet size and switching between DHCP and a static IP address, but nothing seems to make a difference. Although my box has wifi capability, I'm hesitant to switch to that. Has anyone experienced something similar and found a workaround?
4 Answers
When I had similar issues, I noticed dropped packets during ping tests sporadically. Sometimes putting my computer on "suspend" and waking it back up helped fix the connection temporarily. Just thinking it through, if you’ve already tested with another good cable, it might be more of a software or motherboard issue.
It sounds like this shouldn't be happening at all. Since your cables are built into the walls, you might want to consider hiring a professional to check the quality of the cables themselves. There are really two main places where errors can occur: in the physical cable or from the external internet connection. Most routers will have a menu option showing the connection quality which could help you diagnose the issue. If you're still having problems, maybe try using Wi-Fi just for testing purposes—if the issue persists, then the problem might lie elsewhere in the external signal.
I’ve had problems with some poorly designed Wi-Fi cards where they go into sleep mode unexpectedly. It might be worth looking into your ethernet controller to see if there's a DKMS driver available for it. Also, check if there are any sleep settings that you can adjust.
When your connection drops, what exactly happens? Have you checked your logs like journal or dmesg? There might be a conflict between NetworkManager or systemd-networkd—I've encountered that before and it was a pain to nail down.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures