I'm using Ubuntu 16.04, and I connect to my router using a LAN cable. The connection interface is called enp2s0. The router gives IP through DHCP to me. Everything works fine, for 10-15 minutes, and then internet is disconnected. By disconnected I mean the websites are stuck at "Resolving Host..." or "Connecting...", even though the ubuntu top bar doesn't show disconnection (i.e. shows that I'm connected via Wired Network, nothing changes there).

I then try to ping my gateway (192.168.1.1), and it returns Destination Host Unreachable.

At the time at which this happens, the syslog shows nothing noticeable which can be related to this.

Now If I fiddle a bit, disconnect my LAN cable and connect it back, wait a few minutes, I get reconnected again.

What information is needed so this can be debugged further? The problem has recently started, and wasn't there before.

  • 1
    Try a different cable if you believe that fiddling with it resolves the problem. – user13757 Jun 1 '17 at 8:52
  • Besides trying a different cable, install and use ethtool, very handy. – Rui F Ribeiro Jun 1 '17 at 9:18
  • Probably fiddling is wrong word.. I just pull it out, wait until unix recognizes disconnection, then put it back in... and hope for a connection. – Kazim Zaidi Jun 1 '17 at 17:13
  • @DrEval got ethtool installed, but how to utilize it in this situation? – Kazim Zaidi Jun 1 '17 at 17:14
  • I suggest asking @RuiFRibeiro – user13757 Jun 1 '17 at 17:53

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.