Wired connection that disconnects every 30 seconds

maynemiz Posted messages 236 Status Member -  
mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   -

Hello,

I can't seem to set up my wired connection on Ubuntu. I have to disable and then re-enable the connection every 30 seconds for it to work.

What's strange is that it works as long as I'm browsing within the same domain. For example, if I'm browsing Wikipedia, I can continue to navigate without issues as long as I don't leave the site. However, I can no longer open new search tabs, as they display "This Site is unreachable".

The IP is configured statically. The problem does not come from the ethernet cable. The Wi-Fi works, but I need to be wired.

I'm completely new to Linux, could you help me?

Computer model: Intel NUC7CJYH

Ubuntu version: 16.04 LTS

Browser: Chromium



1 answer

  1. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     

    Hello,

    The first point is that a disconnection over IP (wifi or ethernet) cannot occur due to a domain change. At this stage, I suspect either a software issue (DNS cache, browser). It may also be a hardware problem (ethernet cable, network card driver), although it seems unlikely if it occurs precisely when you change domains.

    The second point is that your Ubuntu distribution is completely outdated. As a reminder, Ubuntu versions are numbered YY.MM where YY is the year and MM is the month of release (so here, April 2016). As shown on this page, it has been a long time since it was supported. My advice would be to migrate to a more recent version, or, given the venerable age of this Linux, to download the latest version and reinstall. Since you mentioned you're a beginner, a reinstallation is likely simpler. Just be sure to back up any important files beforehand (note that it is possible to keep your /home partition during a reinstallation, but an incorrect operation can easily happen).

    Assuming the problem persists after updating Ubuntu, here are the checks I would make.

    1) Can you report back the results of the following commands when the symptoms occur?

    lspci | grep -i network ip route cat /etc/resolv.conf ping -c2 www.google.fr

    The ip route command allows you to get the IP of your gateway (your box). For example, below, it is 192.168.0.254:

     (mando@silk) (~) $ ip route default via 192.168.0.254 dev wlp2s0 proto static metric 600 169.254.0.0/16 dev wlp2s0 scope link metric 1000 192.168.0.0/24 dev wlp2s0 proto kernel scope link src 192.168.0.175 metric 600

    2) Are you able to ping your gateway?

     (mando@silk) (~) $ ping -c2 192.168.0.254 PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data. 64 bytes from 192.168.0.254: icmp_seq=1 ttl=64 time=2.42 ms 64 bytes from 192.168.0.254: icmp_seq=2 ttl=64 time=2.55 ms --- 192.168.0.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 2.423/2.488/2.553/0.065 ms

    3) Have you tried with another network cable?

    4) Have you tried disabling your browser extensions?

    5) Have you tried with another browser?

    Good luck

    0