nmcli and system-connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I've just upgraded a fedora39 server to fedora40 and my network stopped working because I was still using the legacy network-scripts ifcfg format.

I've gone through the migration using nmcli but not all connections were migrated properly and no files were written to /etc/NetworkManager/system-connections. The directory is empty.

Any idea why this may have happened? The connections are there:

# nmcli c
NAME                UUID                                  TYPE      DEVICE
br0                 bc8c06e1-de8a-45cb-b011-ee517f316527  bridge    br0    
eth1                25253a0c-a37f-4fbf-821b-167cb4a4c2d9  ethernet  eth1  
Wired connection 1  d689f70c-1b64-370d-aa18-cf4bb8fb38c3  ethernet  eth0  
lo                  74c10aaf-3f2b-4e18-a751-d0bd601dbf7b  loopback  lo    
virbr0              a8bd63ea-f45e-4230-aaff-882bfa1c16fd  bridge    virbr0
vnet0               03e4e6cc-c720-4f93-8189-ecde725292b4  tun       vnet0  
Wired connection 2  3f23946f-954b-3760-bfc8-2df420e6d503  ethernet  --    

However, I also have virtual interfaces on eth1:1 and others. What are the next steps?

# nmcli c migrate
Connection 'lo' (74c10aaf-3f2b-4e18-a751-d0bd601dbf7b) successfully migrated.
Connection 'Wired connection 1' (d689f70c-1b64-370d-aa18-cf4bb8fb38c3) successfully migrated.
Connection 'Wired connection 2' (3f23946f-954b-3760-bfc8-2df420e6d503) successfully migrated.
Connection 'br0' (bc8c06e1-de8a-45cb-b011-ee517f316527) successfully migrated.
Connection 'virbr0' (a8bd63ea-f45e-4230-aaff-882bfa1c16fd) successfully migrated.
Connection 'vnet0' (03e4e6cc-c720-4f93-8189-ecde725292b4) successfully migrated.
Connection 'eth1' (25253a0c-a37f-4fbf-821b-167cb4a4c2d9) successfully migrated.

I've also tried "nmcli con reload". I also had to manually bring up eth1 with ifconfig.



 
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux