Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 29 March 2024, 12:10:29 pm

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14247 Posts in 4376 Topics by 6490 Members
Latest Member: maquino
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  Hardware Support
| | |-+  Fixed NIC speed
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Fixed NIC speed  (Read 21315 times)
skidoo
Jr. Member
*
Offline Offline

Posts: 2


« 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.  Angry

Any help?
Logged
StephanSch
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #1 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.
Logged
skidoo
Jr. Member
*
Offline Offline

Posts: 2


« Reply #2 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 Huh
        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???
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #3 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

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com