No speed 1000Mb/s, it says 100Mb/s and it's also detected by SpeedTest (measured before ISP)
ethtool shows 1000Mb/s on all ports when tested from a PC, when tested from the router also on all ports 1000Mb/s except WAN.
I forced the WAN settings with a 1000Mb/s dongle, tried different combinations individually and together ethtool -s WAN [speed N] [duplex half|full] [autoneg on|off]
The result is the same, the Internet connection is broken, when the parameter Speed: 100Mb/s - everything works.
Called several times to ISP, they see 1000Mb/s connection.
I tried different patch cords between router and cable provider, all patch cords are intact, CAT5e version.
Maybe I am missing something? Is there some drivers missing or is there a kernel problem?
I attach the console output below.
Connecting ISP cable to router WAN (router console)
# ethtool wan
Settings for wan:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
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 Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 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
Auto-negotiation: on
master-slave cfg: preferred master
master-slave status: master
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Link detected: yes
Connecting a PC to the WAN port (console with PC)
$ ethtool enp2s0
Settings for enp2s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
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 Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
Master-slave status: slave
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
netlink error: Operation not permitted
Link detected: yes
The device on the wan side (i.e. modem) is only advertising 100M/full.
Check the following (I know you've already stated that you've tried a bunch of these things, but please check again):
specs of the upstream device (does it actually support 1000M?)
cable (even if you think it is good, try using a known good cable)
physical ports on each side (look for debris, bent pins, etc.)
Another test you can run: connect your modem directly to your computer using the same cable that you've got connecting to the router... observe the link speed reported in that situation -- is it 100M or 1000M?
The problem is not on the OpenWrt side... what is the modem (brand/model)? If you use the same cable and connect between your router and your computer, do you get a 1G connection?
Are you referring to the ISP's modem? It is not a modem, but a city-wide distribution network that is connected to the house. And the homeowner already chooses among the ISPs serving the area, which one to choose.
The provider is SkyNet
Thank you very much for your response, I will write here on the result, initially there were suspicions that it was an error of the employee from the provider, when crimping the cable and its installation. As I was absent in the process and didn't have a 1000Mb/s router handy to check immediately.
Thank you very much again.
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
(in this case, the problem probably isn't truly solved yet, but by testing the connection to a computer and verifying the same behavior of 100Mbps connections, it seems likely that this is an ISP/cable/termination issue and not a function of OpenWrt... thus probably makes sense to mark this as solved.)
As the maximum segment length for copper ethernet (up to 1000BASE-T, less with older cables (sub cat-6) and multi-gig) is 100m, I find it very hard to believe that there wouldn't be any kind of 'modem' (or fibre ONT) in your building, exactly this device would be the next concern (as psherman already mentioned)