[user@fedora ~]$ nmcli connection show enp5s0 --active | grep 802-3
connection.type: 802-3-ethernet
802-3-ethernet.port: --
802-3-ethernet.speed: 0
802-3-ethernet.duplex: --
802-3-ethernet.auto-negotiate: no
802-3-ethernet.mac-address: --
802-3-ethernet.cloned-mac-address: --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist: --
802-3-ethernet.mtu: auto
802-3-ethernet.s390-subchannels: --
802-3-ethernet.s390-nettype: --
802-3-ethernet.s390-options: --
802-3-ethernet.wake-on-lan: default
802-3-ethernet.wake-on-lan-password: --
802-3-ethernet.accept-all-mac-addresses:-1 (default)
Error: --active - no such connection profile.
The last line shows an error: Error: --active - no such connection profile.
Following the above commands changed what displays after restart. But it still doesn’t connect automatically:
[saulius@fedora ~]$ nmcli connection show enp5s0 --active | grep 802-3
connection.type: 802-3-ethernet
802-3-ethernet.port: --
802-3-ethernet.speed: 100
802-3-ethernet.duplex: full
802-3-ethernet.auto-negotiate: no
802-3-ethernet.mac-address: --
802-3-ethernet.cloned-mac-address: --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist: --
802-3-ethernet.mtu: auto
802-3-ethernet.s390-subchannels: --
802-3-ethernet.s390-nettype: --
802-3-ethernet.s390-options: --
802-3-ethernet.wake-on-lan: default
802-3-ethernet.wake-on-lan-password: --
802-3-ethernet.accept-all-mac-addresses:-1 (default)
Error: --active - no such connection profile.
The last line still shows an error: Error: --active - no such connection profile.
[user@fedora ~]$ journalctl -u NetworkManager:
...
Oct 22 20:13:23 fedora NetworkManager[1038]: <info> [1666458803.9775] manager: (enp5s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
Oct 22 20:13:23 fedora NetworkManager[1038]: <info> [1666458803.9782] device (enp5s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
...
After
[user@fedora ~]$ sudo ethtool -s enp5s0 advertise 0x008
all working until restart.
“nmcli connection show enp5s0 --active | grep 802-3” shows the same.