This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NIC Duplex.

One of my cards (eth1) keeps falling back to 10mbps half duplex due to being unable to negotiate link speed.

How can I force it at boot to go to Full Duplex?
(Presently using mii-diag to manually set it)


This thread was automatically locked due to age.
Parents
  • A better question to ask may be:

    "What brand of card should I replace it with to avoid this problem in the future, and also avoid having to set speed and duplex configuration for the card manually."

    What brand of card ar you having the problem with?
    It would be good for the rest of us to know, so that we can avoid the make and model.
Reply
  • A better question to ask may be:

    "What brand of card should I replace it with to avoid this problem in the future, and also avoid having to set speed and duplex configuration for the card manually."

    What brand of card ar you having the problem with?
    It would be good for the rest of us to know, so that we can avoid the make and model.
Children
  • Hi,

    had this trouble with connections to older hp procurve switches, and older cisco catalys switches. By older I mean 2000 2001.
    Regarding the NICs: No problem with DEC, Intel (ok, most of them), Netgear, D-Link (most of the time).

    Chris
  • It's an Intel Pro 1000 MT Desktop Adapter.

    It's not the card, it's the link it's on.
    I have 4 such cards and they all auto detect except for the one to my fibre to ethernet coverter.
    So it needs forcing.
  • So can't you just edit the parameters in the options fle??
  • I could yes,
    but I'm unsure of the exact syntax...

    I think it's like this:
    alias eth0 e1000
    alias eth1 e1000
    alias eth2 e1000
    alias eth3 e1000
    options e1000 Speed=100,10,100,100 Duplex=2,2,2,2

    Look OK?  Bit scared... Production system...
  • Hi,

    just for the case, what type of converter is it. 

    duplex=2 means autoneg
    duplex=1 full
    duplex=0 half

    Problem I think will be, that I think those changes will be overwritten at the next reboot.
    Did you try to connect the converter to a 10/100 switch, to see what speed ist handled there?

    Chris
  • I suspect there is a template file you can modify; but I imagine the overwriting is done by a startup script that we can adjust? I think the older Astaros would just build the file once at install time, but that was a pain for a novice when he would swap a card...
  • [ QUOTE ]
    I have 4 such cards and they all auto detect except for the one to my fibre to ethernet coverter.

    [/ QUOTE ]It is rather ironic, that the connection to a fibre to Ethernet converter, which by definition is a full duplex device, since there is effectively a separate converter for each direction of traffic, would be the link that went half duplex on you. But I do understand how it can happen. The media converter is probably too simplistic in its design, which is why there is no auto negotiation taking place, thus causing the Intel card to default to its worst case scenario.

    Have you informed the manufacturer of the media converter of the shortcomings of their design? It is only by customers pushing on the manufacturers, giving them constructive feedback, that these things get fixed.

    Also, have you considered options, such as running the fibre straight in on a fibre based Ethernet PCI card in the ASL box, and eliminating the media converter?
  • The media convertor is owned by our fibre provider and is in the basement of the building.  I have no idea what it is [:)]

    Alls I have is a hole in the wall to plug the CAT5 into.
    I could find out but little I can do about it anyway.

    Regarding the duplex settings.
    According to Intel, 2 = Full Duplex, 1= Half

    Also, this note.
    Note that setting AutoNeg does not guarantee that the board will link at the highest specified speed or duplex mode, but the board will link at the highest possible speed/duplex of the link partner IF the link partner is also set to auto-negotiate. If the link partner is forced speed/duplex, the adapter MUST be forced to the same speed/duplex.

    So I guess the media convertor is perhaps FIXED at speed, hence autoneg won't work on the Intel NIC.
  • Hi,

    stick a notebook to the link and force 100 full, and see what happens.

    Chris
  • ISP has told me it's fixed 10mbit full duplex.