I've connected a Volans VL-RJ45S 2.5GBE adapter to a Pi4 via a powered USB 3.0 hub. The adapter is cabled to a UniFi Flex Mini 2.5G switch. The adapter works, but with two problems:
1. At boot, it only connects at 1 gigabit speed. Running showsIt seems that the driver is only advertising speeds up to 1000baseT. If I then run that changes the speed to 2.5 gigabit, but running again shows the connection as only being half duplex. Any suggestions on getting it to run full duplex?
2. The second problem is that on reboot the connection speed reverts to 1 gigabit until I run "sudo ethtool -s ..." again.
So my questions are 1) how do I get a full duplex connection, and 2) how do I get the full speed to persist across reboots.
1. At boot, it only connects at 1 gigabit speed. Running
Code:
sudo ethtool enx00e04c680033
Code:
Settings for enx00e04c680033: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full 2500baseT/Full Supported pause frame use: No 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: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Auto-negotiation: on Port: MII PHYAD: 32 Transceiver: internal Supports Wake-on: pumbg Wake-on: g Current message level: 0x00007fff (32767) drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol Link detected: yes
Code:
sudo ethtool -s enx00e04c680033 speed 2500 duplex full autoneg on
Code:
sudo ethtool enx00e04c680033
2. The second problem is that on reboot the connection speed reverts to 1 gigabit until I run "sudo ethtool -s ..." again.
So my questions are 1) how do I get a full duplex connection, and 2) how do I get the full speed to persist across reboots.
Statistics: Posted by NickJP — Tue Dec 10, 2024 10:27 am