You are not logged in.

#1 2012-04-23 12:40:27

debdj
Member
Registered: 2012-01-19
Posts: 163

[SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

The problem is a little odd itself.
I have a dlink DFE-520TX PCI LAN adapter which is currently recognised as eth0 in my Arch box. The driver used is VIA Rhine III and it was working all fine.

Just a day before I noticed, I couldn't connect to the internet, I can connect to the gateway my ISP provides. But ping results are mostly RTOs. Initially it seemed like a problem with the ISP but the same problem happened in my Ubuntu installation as well.

So, I booted into windows and saw the network was working. I could surf the internet. I did this quite a few times- boot into linux, try pinging the gateway with mostly RTOs and then back into windows with a working connection. So, probably my ISP isn't bluffing with me.

Although in windows, there's another problem - sometimes the network icon in the taskbar very freqently shows disconnected and back on. So, I opened the chesis, refitted the LAN card and still nothing.

ifconfig recognises both my onboard (eth1, dysfunctional) LAN adapter and the pci one. I tried disabling eth1 which solved nothing. Whats more, I cant ping localhost. There's no output at all.

Could it be a hardware problem?

Here are outputs of some commands:

$mtr -r -c10 -n 8.8.8.8
HOST: dmachine                    Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- 172.16.79.129             90.0%    10    5.8   5.8   5.8   5.8   0.0
  2.|-- 172.16.1.1                80.0%    10    6.6   6.0   5.5   6.6   0.8
  3.|-- ???                       100.0    10    0.0   0.0   0.0   0.0   0.0

#output from lspci
Device:	01:06.0
Class:	Ethernet controller
Vendor:	VIA Technologies, Inc.
Device:	VT6105/VT6106S [Rhine-III]
SVendor:	D-Link System Inc
SDevice:	Device 1405
Rev:	8b
Driver:	via-rhine


#output from ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 172.16.79.155  netmask 255.255.255.128  broadcast 172.16.79.255
        inet6 fe80::5ed9:98ff:fe09:eb42  prefixlen 64  scopeid 0x20<link>
        ether 5c:d9:98:09:eb:42  txqueuelen 1000  (Ethernet)
        RX packets 1355  bytes 83195 (81.2 KiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 115  bytes 9318 (9.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  base 0xe800  

Last edited by debdj (2012-05-04 17:56:54)

Offline

#2 2012-04-24 13:30:47

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: [SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

someone got something to say?
any commands to diagnose any further??/
am quite in dark hmm

Offline

#3 2012-04-24 17:23:09

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

Have you simply tried using another ethernetcable?


Burninate!

Offline

#4 2012-04-24 18:04:49

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: [SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

Gcool wrote:

Have you simply tried using another ethernetcable?

but its working absolutely fine in Windows. I doubt the problem is with the cable.

Offline

#5 2012-04-24 19:17:52

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

debdj wrote:

Although in windows, there's another problem - sometimes the network icon in the taskbar very freqently shows disconnected and back on.

Which would lead me to think of a hardware issue of some sort (sounds like a short loss of link). A very lowlevel test would be to simply try another networkcable.


Burninate!

Offline

#6 2012-04-25 12:46:32

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: [SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

Now I've found some other people with (quite) the same problems as mine.

http://www.spinics.net/lists/arm/msg12344.html
http://ubuntuforums.org/showthread.php?t=1912335

Only difference is these people cant connect, while in my case I have large amounts of packet loss.
I'm suspecting a problem in the driver, but the odd thing is its been working all fine throughout; just recently I'm having the problem in both my linux installations.

One more fact I've noticed: I've to login through a web interface to access the internet. If I first boot into windows and log into the service and the boot into linux without logging out (from my ISP) it works. I can ping with no pkt loss (even the gateway failed before) and all well. Strange as it may sound, it is (probably) actually happening. I've noticed quite a few times.

Last edited by debdj (2012-04-25 12:50:15)

Offline

#7 2012-05-02 18:25:07

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: [SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

I finally  found the problem. It was the duplex settings of the card. It 'd be 10T Half duplex ideally for my network which (set in windows) if I restarted from windows, 'll be retained. Otherwise it started in full duplex which doesn't work for my connection. Use mii-tools or ethtools to change it.

Offline

#8 2012-05-02 19:19:30

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Cant connect with DLINK-520TX PCI LAN adapter

Good to hear you tracked down the issue.

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

Board footer

Powered by FluxBB