1

I currently have a NAS (openmediavault based on debian) with a Realtek gigabit NIC (ASRock Q1900-ITX on-board LAN), but it won't advertise that it is gigabit-capable. ethtool eth0 gives the following output:

Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
                                         1000baseT/Half 1000baseT/Full 
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00000033 (51)
                   drv probe ifdown ifup
    Link detected: yes

1000Mbit full duplex is supported by the driver and the board (as stated in hardware specs). The connected switch does advertise that mode, however the NIC does not.

Attempting to change the advertised mode with ethtool -s eth0 advertise 0x020 or at least forcing the NIC into gigabit mode does not help. The command returns without any error message and the NIC goes down. After bringing it back up with ifup eth0, speed and advertised modes are still set as they were before the change. The cable is cat6 and changing the cable does not solve the issue.

How can I get that network interface to advertise gigabit speed?

  • Does the cable have all four pairs wired straight-through, and is the other interface gigabit capable and set to auto detect? – Ron Maupin Jan 17 '18 at 15:46
  • So after your comment, I decided to test some more configurations - interestingly, the connection works just fine on another switch. I also cannot establish a gigabit connection with any other device on that particular switch my NAS was connected to. – RenWal Jan 17 '18 at 17:29
  • Maybe I should change my question to "Why the heck does my switch advertise gigabit and then refuse to negotiate Gigabit?" – RenWal Jan 17 '18 at 17:30
  • Your NIC is already advertising gigabit capability. So is the switch. But if you aren't getting gigabit negotiated on any port on this switch, then it's likely the problem is with the switch. – Michael Hampton Jan 17 '18 at 19:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.