r8168 icon indicating copy to clipboard operation
r8168 copied to clipboard

netlink error: link settings update failed netlink error: Invalid argument

Open virasana opened this issue 2 years ago • 0 comments

Hi There,

I tried the command below, as per the README. But it does not work for me.

# ethtool -s enp3s0f2 speed 1000 autoneg off
netlink error: link settings update failed
netlink error: Invalid argument

I am using the following OS:

# cat /etc/os-release 
NAME="Linux Mint"
VERSION="21.3 (Virginia)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.3"
VERSION_ID="21.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=virginia
UBUNTU_CODENAME=jammy

Any ideas?

Incidentally, the NIC is unable to negotiate 1000Mbps - it negotiates 100Mbps. I am on a GB router. Any ideas?

My ethtool shows the following:

# ethtool enp3s0f2 
Settings for enp3s0f2:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Supported pause frame use: Symmetric Receive-only
	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: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full
	                                     100baseT/Half 100baseT/Full <=== INCORRECT.  EXPECTED OUTPUT SHOULD INCLUDE: 1000baseT
	Link partner advertised pause frame use: Symmetric Receive-only
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 100Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
	Supports Wake-on: pumbg
	Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup

virasana avatar Jan 13 '24 19:01 virasana