Link to home
Start Free TrialLog in
Avatar of elmoredaniel
elmoredaniel

asked on

Debian - Ethernet stuck in half duplex

My eth0 is stuck in half duplex.

When I run:  ethtool -s eth0 duplex full  the console pauses for 10 secs and returns to the prompt, but the nic is still in half duplex. This is a 1Gig full duplex card.

I even added this to the etc/host/interfaces
ETHTOOL_OPTS="autoneg off speed 10 duplex full"

Any ideas?
Avatar of elmoredaniel
elmoredaniel

ASKER

correction: /etc/network/interfaces

mii-tool -F 100baseTx-FD eth0
That did not work for me. No madder what commands I use I can't change the duplex or the speed. Below is the ethtool output.

----------------------------
Settings for eth0:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x000000ff (255)
        Link detected: yes
ASKER CERTIFIED SOLUTION
Avatar of kyle_in_taiwan
kyle_in_taiwan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Okay, the problem occured because autoneg was on, and the switch was broadcasting half duplex. I'll award points for the cyberciti.biz article because it mentioned that.

Thanks everyone.