Skip to content

Instantly share code, notes, and snippets.

@xmesaj2
Last active March 18, 2024 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xmesaj2/d9b4bacfe6f4a8cc7298b22932bae7d7 to your computer and use it in GitHub Desktop.
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
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