On 10/14/25 10:56 PM, Todd Chester via users wrote:


On 10/14/25 8:16 PM, Thomas Cameron via users wrote:
On 10/14/25 9:31 PM, Todd Chester via users wrote:
Hi All,

Fedora 43

$ ifconfig | grep enp0
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

$ nmcli connection modify enp0s31f6 autoconnect yes
Error: unknown connection 'enp0s31f6'.

If you have the bash-completion package installed, you can type:

nmcli con mod [tab] [tab]

and it should show you the interfaces it manages. If enp0s31f6 isn't there, that means that NetworkManager is not managing it.

You can use "nmcli connection show" to see what interfaces NetworkManager knows about.


Huh???

I would also like to know how to get nmcli to tell me if
autoconnect is on or off

nmcli connection show enp0s31f6 | grep connection.autoconnect

 > -Thomas

Hi Thomas,


nmcli connection show enp0s31f6 | grep connection.autoconnect

NAME                   UUID                                  TYPE DEVICE
Ethernet connection 1  c525101f-d4f5-40a6-b6ae-8fa1ae927e86  ethernet enp0s31f6
lo                     3a938a36-61d1-485d-a286-14a215418690  loopback lo
Gloria                 ab6032bb-9c62-4658-85b1-2d6d0ba8cb1f  wifi


Ah Ha!  I was calling it the "type" instead of the "Name".
I was using search.brave.com's AI.

# nmcli connection modify "Ethernet connection 1" autoconnect yes
<worked>

# nmcli connection show enp0s31f6 | grep connection.autoconnect:
Error: enp0s31f6 - no such connection profile.

/home/tony# nmcli connection show "Ethernet connection 1" | grep connection.autoconnect:
connection.autoconnect:                 yes


Thank you!
-T
Awesome, I'm so glad to hear it!

Happy Fedora-ing! ;-)

--
Thomas
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to