EFW Support

Support => Hardware Support => Topic started by: skidoo on Thursday 10 September 2009, 03:22:47 am



Title: Fixed NIC speed
Post by: skidoo on Thursday 10 September 2009, 03:22:47 am
Is it possible to set NIC speed to a fixed value?

Technical background: my Internet uplink is a Cisco switch port. Connecting the red interface of my Endian box (Endian 2.2 community release with four times 3Com 905B NICs) directly to switch gives full speed uploads but downloads e. g. ftp transfers are quite slow - about 1/20 of link speed. A Windows XP PC (NVidia Gigabit Onboard with 10 MBit full duplex NIC setting) attached to switch port results in full speed in both directions.

I tried to lower NIC speed with ethtool or mii-tool: no success.  >:(

Any help?


Title: Re: Fixed NIC speed
Post by: StephanSch on Thursday 10 September 2009, 04:11:38 am
you can with ethtool:

Code:
ethtool -s ethX autoneg off speed 10 duplex full

ethX is your red NIC

This property works until next reboot or network assistant. If it works you have to insert the line into startscript.


Title: Re: Fixed NIC speed
Post by: skidoo on Monday 21 September 2009, 08:47:03 pm
you can with ethtool:

Code:
ethtool -s ethX autoneg off speed 10 duplex full

ethX is your red NIC

This property works until next reboot or network istant. If it works you have to insert the line into startscript.


Switched to Realtek Gigabit NIC (r8169) for better (?) performance. Red interface is eth1:

# ethtool -s eth1 autoneg off speed 10 duplex full
# ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half ???
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
        Link detected: yes

Why does my red NIC operate in half duplex mode???


Title: Re: Fixed NIC speed
Post by: mrkroket on Wednesday 04 November 2009, 02:54:50 am
I have a similar issue. Both Gigabit NIC and 100Mbps NIC worked at half-duplex 10Mbps.

The weird thing is that even on a reboot my NIC's doesnt change to full speed. My gigabit switch LED's always showed me a half duplex low speed link. I entered BIOS and used an option related to LAN (don't remember exactly what it says, LAN check or something). The BIOS detected then a full gigabit link with a length cable of less than 10mts. After that my swith shows up a gigabit link.
And it keeps that settings on Endian, full gigabit and full 100mbps links. Maybe it's not related, but you can try something similar.

My motherboard is a Gigabyte, fairly new (for Phenom). My swith is a 3com 16port gigabit (for GREEN), although my WAN (100mbps) goes to a normal 100mbps switch