DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#26 2011-08-11 10:16:01

rasto
Member
Registered: 2009-07-17
Posts: 17
Website

Re: Debian "squeeze"

I see You run different kernel:  Mar 8 15:24:42 UTC 2011
I have latest 2.6.32-35 : Jun 15 03:39:17 UTC 2011

Can You check, what version You have with apt-cache policy linux-image-2.6.32-5-orion5x ?

Offline

 

#27 2011-08-11 23:40:17

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Debian "squeeze"

root@alice:~# apt-cache policy linux-image-2.6.32-5-orion5x
linux-image-2.6.32-5-orion5x:
  Installed: 2.6.32-35
  Candidate: 2.6.32-35
  Version table:
*** 2.6.32-35 0
        500 http://ftp.us.debian.org/debian/ squeeze/main armel Packages
        100 /var/lib/dpkg/status
     2.6.32-34squeeze1 0
        500 http://security.debian.org/ squeeze/updates/main armel Packages
root@alice:~#

Offline

 

#28 2011-08-12 21:57:05

rasto
Member
Registered: 2009-07-17
Posts: 17
Website

Re: Debian "squeeze"

Do You have any Ideas on how to diagnose why is my ethernet working on 100Mbit/s ?

Seems, that autonegotation is somehow broken. I've tried connecting dns323 B1 with another switch D-Link DGS1005D and also desktop computer which also has gigabit network card, but it always negotiated to 100Mbit/s.

Output of mii-tool looks like this:

#mii-tool -v
eth0: negotiated 100baseTx-FD, link ok
  product info: Yukon-EC 88E1111 rev 2
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

If I try to force 1000Mbit I loose netwok connection:

nas:~# ethtool -s eth0 advertise 0x020
nas:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP AUI BNC MII FIBRE ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 8
        Transceiver: external
        Auto-negotiation: on
        Link detected: no

After I set advertise to auto with : ethtool -s eth0 advertise 0x03F

for few seconds I see it tries to go at 1000 but fails since Link detected: no and falls back to 100Mbit/s

Offline

 

#29 2011-08-12 23:13:19

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Debian "squeeze"

Do you get Gb with dlink firmwares?


root@alice:~# mii-tool -v
eth0: negotiated 1000baseT-FD flow-control, link ok
  product info: Yukon-EC 88E1111 rev 2
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
root@alice:~#

Offline

 

#30 2011-08-13 00:38:45

rasto
Member
Registered: 2009-07-17
Posts: 17
Website

Re: Debian "squeeze"

When I bought DNS323 I didn't have gbit switch, so I don't know whether it worked.

I see I have different output on mii-tool for some reason.

I have now Debian squeeze installed on USB stick for more than year.
Is it possible just to switch between d-link firmware and debian? Some minimal grub in /boot that would choose dlink firmware or debian?

After I played with ethtool and setup advertising to auto, mii-tool now shows:

advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

and 1000baseTx-FD is not present there.

Last edited by rasto (2011-08-13 00:40:55)

Offline

 

#31 2011-08-13 01:18:16

rasto
Member
Registered: 2009-07-17
Posts: 17
Website

Re: Debian "squeeze"

I would'nt believe it if I didn't saw it my self, but actually cable which I had dns323 connected to the switch was limiting speed to 100Mbit

Cable used, had only 4 wires 1,2,3,6 and possibly not twisted which messed up high frequency and gigabit was not possible.

Thanks for help.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB