Problems to change LAN-port speed, stuck in 100mbps

Ok, here's the thing, I have a WRT3200acm with openwrt and when I connect a cat6 cable to one of the ports the transfer rate is 100mbps even I have tried with ethtool but no luck, I have also tried several cat6 cables and no luck either! I leave my config below! thx in advance!

root@OpenWrt:~# ethtool eth0
Settings for eth0:
        Supported ports: [ MII ]
        Supported link modes:   1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes

How are you testing? What are the exact speeds?

Hey, thx for the quick reply. Do you mean the connection speed of my ISP or lan? Sorry for my ignorance, im pretty new on this!

You have made an assertion that you only get 100Mbps transfer rates. What is the basis of this? How did you arrive at this number and what are the exact rates you saw in that testing?

1 Like

Now I understand. I downloaded a file and saw that it did not exceed 80 mbps so I looked at "network status" and saw that it did not exceed 100 mbps.
image

ok... that is helpful.

Does your computer's ethernet port support 1000Mbps? And if so, is it set to auto-negotiation?

Is the connection between your router and the computer just the one cable, or are there additional cables or connections (such as wiring through the walls or anything else between the two devices)?

Have you checked the ports for physical issues (debris, bent pins, etc.)?

Have you tried all of the ports on the router?

Do you have another gigabit ethernet device you can connect instead of your windows computer?

Does your computer's ethernet port support 1000Mbps? And if so, is it set to auto-negotiation?
Yes and yes

Is the connection between your router and the computer just the one cable, or are there additional cables or connections (such as wiring through the walls or anything else between the two devices)?
Just one cable to the router

Have you checked the ports for physical issues (debris, bent pins, etc.)?
No issues at all and pretty clean

Have you tried all of the ports on the router?
Yes

Do you have another gigabit ethernet device you can connect instead of your windows computer?
Yes and still the same speed, In fact I have connected my pc to a Ubiquiti antenna and in the station and it shows me that the ethernet speed is 1000mbps.

What happens if you connect two gigabit devices together with one of your cables (I.e directly connected, not going though the router). You don’t even need to have working network configs, just a physical link - does it negotiate a 100 Mbps link or 1 Gbps?

As mentioned above, I connected to a ubiquiti gigabit port and both devices showed 1000mbps, i.e. in the station dashboard and windows network status.

Ok... I see you edited your post to elaborate on the gigabit connection with the Ubiquiti hardware. That rules out issues with the cables (we've seen people who have tried multiple cables cat5e and better, only to find out that they may have had a bad batch or poorly built cables; I wanted to make sure we could eliminate that as a culprit)

What is the output of:

ubus call system board

Hey sorry for the delay, I fell asleep.

Edit:

{
        "kernel": "5.4.188",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 1 (v7l)",
        "model": "Linksys WRT3200ACM",
        "board_name": "linksys,wrt3200acm",
        "release": {
                "distribution": "OpenWrt",
                "version": "21.02.3",
                "revision": "r16554-1d4dea6d4f",
                "target": "mvebu/cortexa9",
                "description": "OpenWrt 21.02.3 r16554-1d4dea6d4f"
        }
}

I have plugged my pc into another router just for testing purposes and I get this
image

This is interesting, maybe I have to configure it from here?

root@OpenWrt:~# ethtool lan4
Settings for lan4:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes

The auto-negotiation should work only if enabled on both sides. In theory it may even go half-duplex if enabled only over one side. Also, there are different standards like 1000Base-TX (possibly unsupported at all or over the LAN ports). You may try connecting the WAN and the LAN with already tested cable to see what happens. You may try with a straight and a crossover cable to see if there is any difference.

Thanks for the tip, I will consider the crossover cable.

This is showing the laptop is the limiting factor, as it is only advertising 10 and 100. So 100 was negotiated.

I don't think the DFS driver yet supports fixed rates, only autonegotiation.

Crossover cables are never used for GbE, but the hardware should detect them and continue to work. In gigabit all four wire pairs send data simultaneously at 250 Mb each pair, in both directions on the same pair.

I tried changing some parameters but it didn't work!

Did you try the driver options on the PC?

No, cuz I tested in another router(asus) and works perfeclty

You may have some non-compatible options set there, preventing the auto-negotiation on 1000Mbps.