Looking for some community insight since I have been dealing with this about 9 months now, if there is a power outage or I have to reboot, I must unplug the ethernet cable from the 2.5Gbe Net gear switch and plug into a 1Gbe port on another switch, then only can I log into the web interface, enter the shell which is clearly sandboxed and has no impact except during the current boot.
using the following command, which by the way I had to guess using trial and error because I could not find any documentation on it whatsoever, hell I didn't at first even know why it was connecting and disconnecting every 5 seconds, figured out it would connect at 1Gbe, switch and adapter would negotiate to switch to 2.5 and because it wasn't enabled in the driver, inside Truenas Scale, the connection dropped. This all went away with the following command that has to be reentered each and every time the system is rebooted via a 1Gbe connection.
COMMAND LINE
ethtool -s enp5s0 advertise 2500baseT/Full on
The same command works for enabling 5Gbe just by changing the 2500 to 5000, I assume, I have no way to test this cause If I had a 10Gbe switch Im sure this would not be a problem for me at all..
-----TLDR-----
HOW TO MAKE THIS COMMAND PERMANENT IRREGARDLESS OF HOW MANY TIMES THE SYSTEM REBOOTS!?!
IF NOT THE COMMAND, THEN THE ACTION THE COMMAND EXECUTES!
using the following command, which by the way I had to guess using trial and error because I could not find any documentation on it whatsoever, hell I didn't at first even know why it was connecting and disconnecting every 5 seconds, figured out it would connect at 1Gbe, switch and adapter would negotiate to switch to 2.5 and because it wasn't enabled in the driver, inside Truenas Scale, the connection dropped. This all went away with the following command that has to be reentered each and every time the system is rebooted via a 1Gbe connection.
COMMAND LINE
ethtool -s enp5s0 advertise 2500baseT/Full on
The same command works for enabling 5Gbe just by changing the 2500 to 5000, I assume, I have no way to test this cause If I had a 10Gbe switch Im sure this would not be a problem for me at all..
-----TLDR-----
HOW TO MAKE THIS COMMAND PERMANENT IRREGARDLESS OF HOW MANY TIMES THE SYSTEM REBOOTS!?!
IF NOT THE COMMAND, THEN THE ACTION THE COMMAND EXECUTES!