You are not logged in.

#1 2017-08-18 02:54:06

navega
Member
Registered: 2017-07-09
Posts: 7

Problem with Ethernet connection

Hello
im having a bad time with my ethernet connection , after a period of time(it can be minutes or hours) the latency increases significantly, even inside my network.
Here is the exact time it happens:

64 bytes from 192.168.0.1: icmp_seq=340 ttl=64 time=0.426 ms
64 bytes from 192.168.0.1: icmp_seq=341 ttl=64 time=0.427 ms
64 bytes from 192.168.0.1: icmp_seq=342 ttl=64 time=0.429 ms
64 bytes from 192.168.0.1: icmp_seq=343 ttl=64 time=0.407 ms
64 bytes from 192.168.0.1: icmp_seq=344 ttl=64 time=103 ms
64 bytes from 192.168.0.1: icmp_seq=345 ttl=64 time=33.0 ms
64 bytes from 192.168.0.1: icmp_seq=346 ttl=64 time=65.2 ms
64 bytes from 192.168.0.1: icmp_seq=347 ttl=64 time=98.3 ms

If i set the interface down/up with the comands ip link set eth0 down/up the latency goes back to normal but the problem return after some time.
im using a pci ethernet board because my onboard one stopped working so i thought it could be a hardware problem but its working fine on windows , i've tried in others linux distributions(mint and elementary) and i have the same problem.
Here some additional info.

04:02.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] [1106:3106] (rev 8b)
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.205  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 2804:14c:5789:87f6:8d:6f1c:de3a:acc7  prefixlen 64  scopeid 0x0<global>
        inet6 2804:14c:5789:87f6:633:c493:dda0:331a  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::f79e:583b:3cd9:478d  prefixlen 64  scopeid 0x20<link>
        ether c8:be:19:d1:d3:26  txqueuelen 1000  (Ethernet)
        RX packets 11747  bytes 6264346 (5.9 MiB)
        RX errors 1  dropped 7  overruns 1  frame 0
        TX packets 10851  bytes 1411974 (1.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Can someone give me a help?
Thanks

Offline

#2 2017-08-18 13:16:05

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: Problem with Ethernet connection

I'm guessing 192.168.0.1 is your internet modem / router ?

post lspci -k and ip route show .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-08-18 14:48:43

navega
Member
Registered: 2017-07-09
Posts: 7

Re: Problem with Ethernet connection

yes , 192.168.0.1 is my router

default via 192.168.0.1 dev eth0 src 192.168.0.205 metric 202 
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.205 metric 100 
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.205 metric 202 
04:02.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)
	Subsystem: D-Link System Inc DFE-520TX Fast Ethernet PCI Adapter
	Kernel driver in use: via-rhine
	Kernel modules: via_rhine

Last edited by navega (2017-08-18 15:22:36)

Offline

#4 2017-08-18 14:53:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Problem with Ethernet connection

Have you tried a different router?  I ask as you say you have tried different distributions.
What other devices have you on your network?  Do they experience the same increase in latency?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2017-08-18 15:29:44

navega
Member
Registered: 2017-07-09
Posts: 7

Re: Problem with Ethernet connection

ewaller wrote:

Have you tried a different router?  I ask as you say you have tried different distributions.
What other devices have you on your network?  Do they experience the same increase in latency?

Yes i tried, i also have a notebook and it never happened there. its probably a problem on my pc with linux, windows works fine

Last edited by navega (2017-08-18 19:15:55)

Offline

#6 2017-08-21 16:38:23

navega
Member
Registered: 2017-07-09
Posts: 7

Re: Problem with Ethernet connection

Anyone have an idea about whats happening?i dont want to stop using linux hmm

Last edited by navega (2017-08-21 16:39:28)

Offline

#7 2017-08-21 20:27:49

Tarqi
Member
From: Ixtlan
Registered: 2012-11-27
Posts: 179
Website

Re: Problem with Ethernet connection

navega wrote:
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.205 metric 100

Where does this route come from? Mabye you should check your network setup.

Edit:

navega wrote:

[...] but its working fine on windows , i've tried in others linux distributions(mint and elementary) and i have the same problem.

navega wrote:
RX errors 1  dropped 7  overruns 1  frame 0

Might also be a driver problem.

Last edited by Tarqi (2017-08-21 22:04:17)


Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse

Offline

#8 2017-08-22 01:22:26

navega
Member
Registered: 2017-07-09
Posts: 7

Re: Problem with Ethernet connection

Tarqi wrote:
navega wrote:
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.205 metric 100

Where does this route come from? Mabye you should check your network setup.



Thats the internet provider modem/router, i've tried with another router in a network without internet connection and the problem happened too.
This double entry for the same network can be the problem?

I will try to install the manufacturer's driver and post the result , thanks

Offline

#9 2017-08-22 13:26:56

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: Problem with Ethernet connection

The double entry is weird, but probably a symptom of the real problem.

Is the desktop connected directly to the router or is there another device in between ?
Try try using a different network cable.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2017-08-22 23:04:19

ephreal
Member
Registered: 2014-03-29
Posts: 35

Re: Problem with Ethernet connection

First, let's address the double entry for ip route show. There was a post about this a while back, and it was an issue with dhcpcd vs dhclient. It would be weird for this to happen after so much time, but it's possible. Look here for a little more info: https://bbs.archlinux.org/viewtopic.php?id=185043

Second, how long have you been running linux with this hardware setup? Has this ran fine in the past and this is just now rearing it's head?

Third, in researching this a bit, I'm wanting to say driver issue. Are you using grub as your boot manager? There was a bug report about the VT6102 Rhine II adapter (https://bugs.launchpad.net/ubuntu/+sour … +bug/48263). While it is a different adapter, the fix might apply. To test this, add irqpoll to your kernel options at bootup. I'm a bit hazy on where to find the correct file, but I believe it is

/boot/grub/menu.lst

Open the file with a text editor

vim /boot/grub/menu.lst 

and search for the correct menu entry. It should look something like

title          Archlinux, kernel 2.6.24-19-generic
root           (hd0,5)
kernel         /boot/vmlinuz-2.6.24-16-generic root=UUID=8k4o3ilj-3fff-dfae-943j-4332lkj52kl43 ro quiet splash
initrd         /boot/initrd.img-2.6.24-16-generic

and add irqpoll at the end of the kernel options. Make sure to save

 :wq 

and then reboot. Let us know if this helps!

Last edited by ephreal (2017-08-22 23:04:54)

Offline

#11 2017-08-22 23:36:56

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Problem with Ethernet connection

@ephreal or you could just provide a link to Kernel_parameters.

Offline

#12 2017-08-23 16:03:02

ephreal
Member
Registered: 2014-03-29
Posts: 35

Re: Problem with Ethernet connection

Thanks for that, I actually hadn't found that page.

I'd definitely recommend going over the information there for whichever boot loader you are using.

Offline

#13 2017-08-23 16:17:11

navega
Member
Registered: 2017-07-09
Posts: 7

Re: Problem with Ethernet connection

Lone_Wolf wrote:

The double entry is weird, but probably a symptom of the real problem.

Is the desktop connected directly to the router or is there another device in between ?
Try try using a different network cable.

I found the problem for the double route , it was a mistake i made when installing arch, there was 2 dhcp active clients.
I disabled one and one route is gone, unfortunately that didnt fix the problem.


ephreal wrote:

Open the file with a text editor

vim /boot/grub/menu.lst 

I didnt find the menu.lst file so i made the change on grub.cfg file, its correct right?

After that change the network adapter seems to be working fine until now , so far so good.
I'll make more tests and report later, thanks.

Offline

#14 2017-09-08 20:31:54

ephreal
Member
Registered: 2014-03-29
Posts: 35

Re: Problem with Ethernet connection

Sorry for the disappearance, but I had a lot come up and forgot to come back and check. I'm glad the change seems to have helped, am I correct to assume the crash hasn't happened again? If so, please change the title to reflect that this has been solved.

In addition, the grub.cfg change will hold for the moment, but if anything causes a new grub.cfg file to be generated, you'll have to reapply the fix. After reading through the link provided by Loqs, you'll need to add the change to

/etc/default/grub

Offline

Board footer

Powered by FluxBB