Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ethtool and link status on HP DL 385
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ancarpan2
n00b
n00b


Joined: 29 Mar 2004
Posts: 68

PostPosted: Fri Jul 21, 2006 8:46 am    Post subject: ethtool and link status on HP DL 385 Reply with quote

Hi all,
I have a HP DL385 server and I'm trying to check the link status and eventually force the ethernet settings.

The embedded NICS are:
Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
On the same server there is also an additional NIC:
Intel Corporation 82546EB Gigabit Ethernet Controller

There's a cable connected to eth0 and eth1
I have first tried with mii-tool whose output is a bit weird:

Code:
# mii-tool
eth0: 100 Mbit, full duplex, link ok
eth1: negotiated 100baseTx-FD, link ok
eth2: 10 Mbit, half duplex, no link
eth3: no link


Which is weird as eth2 is not connected and hasn't been forced (should be autoneg on/ no link)
The second problem is that using mii-tool to force speeds gives

Code:
# mii-tool -F 100baseTx-FD eth1
SIOCSMIIREG on eth1 failed: Invalid argument


I then decided to try ethtool which seems to be able to force correctly the settings, but shows them only if the interface is up:

Code:
 ~ # ethtool -s eth1 speed 100 autoneg off 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:  Not reported
        Advertised auto-negotiation: No
        Speed: Unknown! (65535)
        Duplex: Unknown! (255)
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: no
 ~ # ifconfig eth1 up
 ~ # 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:  Not reported
        Advertised auto-negotiation: No
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes


I've tried with:
mii-tool.c 1.9 2000/04/28 00:56:08 (David Hinds)
ethtool version 1.8
ethtool version 4


Any one has ideas/experiences about this ?
Thanks.

.a.c.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum