No dual boot.
Windows was on disk… I tested windows if everything works and then deleted it… Install endeavoros - it’s running 24/7 on mini pc (Intel n100 capped at 3W, 6W in turbo, 8gb ram, mini sas in M2 and 2x2tb ssd + 64gb ssd as system, wifi I have disabled - but physical I keep it inside)
This is ethtools forced before reboot
Settings for enp2s0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 2500Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
and lshw
*-network
description: Ethernet interface
product: Ethernet Controller I225-V
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 03
serial: 84:47:09:2a:ff:19
size: 2500Mbit/s
capacity: 2500Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd 2500bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igc driverversion=6.7.9-arch1-1 duplex=full firmware=1089:878d ip=192.168.0.110 latency=0 link=yes multicast=yes port=twisted pair speed=2.5Gbit/s
resources: irq:16 memory:74400000-744fffff memory:74500000-74503fff
And after reboot 1gbit again
Settings for enp2s0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/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
2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
*-network
description: Ethernet interface
product: Ethernet Controller I225-V
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 03
serial: 84:47:09:2a:ff:19
size: 1Gbit/s
capacity: 2500Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd 2500bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=igc driverversion=6.7.9-arch1-1 duplex=full firmware=1089:878d ip=192.168.0.110 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:16 memory:74400000-744fffff memory:74500000-74503fff
Weird is
this dont work
sudo systemctl stop NetworkManager.service
sudo ethtool -s enp2s0 advertise 0x80000000002f
sudo ethtool -s enp2s0 autoneg off speed 2500 duplex full
sudo systemctl start NetworkManager.service
But this
sudo systemctl stop NetworkManager.service
sudo systemctl disable NetworkManager.service
sudo ethtool -s enp2s0 advertise 0x80000000002f
sudo ethtool -s enp2s0 autoneg off speed 2500 duplex full
sudo systemctl start NetworkManager.service
sudo systemctl enable NetworkManager.service
Sometime dont work and need the sh script run again … weird is that ewen i set autonegotion to off its still on
There is possibly a cron job or more likely a systemd job set to automatically restart NetworkManager. So it doesn’t matter that you stop it, because it automatically restarts. That is why when you disable NetworkManager, then it works.
Since I know it’s a Linux only device, I saw a solution that may help you, but that’s on my desktop. I’ll try to find it again when I’m back.
What if you added the following to your network card config file?
ETHTOOL_OPTS="speed 2500 duplex full autoneg on"
removed
Then save the file and restart NetworkManager. It may need a reboot, I’m not completely certain.
Since you already know that the following works.
sudo ethtool -s enp2s0 speed 2500 duplex full autoneg on
By doing that, you can continue using NetworkManager without problems.
I have never used ethtools. Not sure why this is needed.
I’m not really clear why the OP is having these problems. Not quite enough information has been provided to be able to diagnose it. Ethtool is a simple (albeit powerful) CLI tool for working with networking.
cant find this
BTW running the script wit disable force … over cron dont work … even with sleep 120 it runs the script but the speed stay 1gbit. Only if i run the script from terminal or directly on TV the speed change to 2.5Gbit … weird Mayby longer sleep ??
Sorry, wrong directory. Give me a little to get back to this.
So problem has solwed its self.
Problem is that the intel lan card is more crap that realtek .
After changing the cable lan runs at 2.5gbit …
When i have forced the 2.5gbit some time the connection was lost and not recovered automaticaly.
But its weird that in winwodws its holds 2.5gbit OK even on old cable.
For now i dont know if its hold for long time but it was detected 2.5Gbit automaticaly witout my intervention.
I’m glad it has improved. It could possibly be that a couple of the pairs of wires in the old cable are damaged, but still work. There is the odd chance that Windows and Linux may randomly use different pairs. I’m not sure, just making a guess based on things I’ve seen in the past.