Last active
March 18, 2024 18:05
-
-
Save xmesaj2/d9b4bacfe6f4a8cc7298b22932bae7d7 to your computer and use it in GitHub Desktop.
atlantic aquantia aqc107 disable slower link speeds to fix no 10 gigabit with mikrotik crs305 and transceiver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ethtool -K enp5s0 rx-vlan-offload off | |
ethtool -s enp5s0 autoneg off speed 2500 | |
ethtool -s enp5s0 autoneg off speed 100 | |
ethtool -s enp5s0 autoneg off speed 1000 | |
$ cat /etc/network/interfaces | |
------------------------------------------- | |
auto lo | |
iface lo inet loopback | |
auto enp5s0 | |
iface enp5s0 inet manual | |
mtu 1500 | |
post-up /usr/sbin/ethtool -s $IFACE rx-vlan-offload off | |
post-up /usr/sbin/ethtool -s $IFACE autoneg off speed 100 | |
post-up /usr/sbin/ethtool -s $IFACE autoneg off speed 1000 | |
post-up /usr/sbin/ethtool -s $IFACE autoneg off speed 2500 | |
post-up /usr/sbin/ethtool -s $IFACE autoneg off speed 5000 | |
auto vmbr0 | |
iface vmbr0 inet static | |
address 192.168.1.50/24 | |
gateway 192.168.1.1 | |
bridge-ports enp5s0 | |
bridge-stp off | |
bridge-fd 0 | |
mtu 1500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment