See the lines in the "ethtool eth0" output where it says:
Speed: 100Mb/s
Duplex: Half
That indicates that the NIC is autonegotiating the lowest common denominator
between the switchport and the server's NIC - almost always because autoneg is
failing due to the fact that one side (i.e your NIC) is set to autoneg
speed/duplex, and the switch (in this case) is not. So, the autoneg code on not
receiving a reply from the link partner has to assume the worst-case, and sets
the speed/duplex to its lowest settings (actually, it can ofttimes infer the
link speed, but can't infer the duplex setting, so always sets this to "half".)
I would take a look at the switch, and make sure the switch is set for "speed
auto/duplex auto" (Cisco syntax, other switch os's may vary...) If a GigE
switch, it should negotiate 1000/full if set correctly.
On hard-setting speed/duplex on a GigE link (or any link, really, see this
article:
http://etherealmind.com/ethernet-autonegotiation-works-why-how-standard-should-be-set/
HTH,
Will
________________________________
From: [email protected] [[email protected]] on behalf of
john boris [[email protected]]
Sent: Thursday, February 06, 2014 3:08 PM
To: [email protected]
Subject: [lopsa-tech] Change NIC settings on HP dl180G5 NC105 Card under ubuntu
10.04
I am running ubuntu 10.04 LTS on an HP Proliant DL180GS and the NIC is a NC105
card. I have been trying to change the settings of the card using ethtool to
1000baseT Full duplex but get the following errors
sudo ethtool -s eth0 autoneg off speed 1000 duplex full
Cannot set new settings: Invalid argument
not setting speed
not setting duplex
not setting autoneg
The output of ethtool -i eth0 is
driver: tg3
version: 3.102
firmware-version: 5722-v3.07
bus-info: 0000:07:00.0
and
sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
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 pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: Not reported
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: 100Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
Link detected: yes
This version of Ubuntu is not supported by HP but they have tried to get it to
help.
I was wondering if anyone on the list has seen this and knows the workaround. I
can't upgrade the server to a newer version of ubuntu as of yet as it is in
production.
--
John J. Boris, Sr.
Online Services
www.onlinesvc.com<http://www.onlinesvc.com>
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
http://lopsa.org/