Hello,
I need to have
In particular, without intervention, this NIC only advertises 1 and 10 Gbps speeds for autonegotiation, but with the command below, it advertises 1, 2.5, 5, and 10 Gbps for autonegotiation.
The manually-executed command looks like this.
Question: What's the best/safest way to tell Proxmox (Debian) to execute this command on boot, as early as possible to effectively auto-negotiate 2.5 Gbps or 5 Gbps when plugged into switches that only advertise those, but not so early that I'm going to get cross-ways with the automatic network bring-up that happens when the system boots?
I'm guessing I need to write a SystemD service, but I'm really new to that and pretty lost on the best way to use SystemD to interact with default network bring-up behavior.
Thanks for any advise or suggestions.
I need to have
ethtool manually set an advertising flag on my NIC on boot, since the specific settings I need don't persist on reboot.In particular, without intervention, this NIC only advertises 1 and 10 Gbps speeds for autonegotiation, but with the command below, it advertises 1, 2.5, 5, and 10 Gbps for autonegotiation.
The manually-executed command looks like this.
ethtool -s [interface name] advertise 0x1800000001028Question: What's the best/safest way to tell Proxmox (Debian) to execute this command on boot, as early as possible to effectively auto-negotiate 2.5 Gbps or 5 Gbps when plugged into switches that only advertise those, but not so early that I'm going to get cross-ways with the automatic network bring-up that happens when the system boots?
I'm guessing I need to write a SystemD service, but I'm really new to that and pretty lost on the best way to use SystemD to interact with default network bring-up behavior.
Thanks for any advise or suggestions.