Re: another f38->f40 issue: network if is renamed.

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

 



On Sun, Jul 14, 2024 at 6:44 AM <fedora@xxxxxxxxxxxxxx> wrote:
>
> I notice that the network interface 'eth1' is now renamed 'enp2s0' but eth0 is left alone.
>
> How do I stop this rename? It breaks a number of thing for me.
>
> I note that some interfaces are configured in
>         /etc/sysconfig/networking/devices/
> -rw-r--r-- 1 root root 579 Dec  9  2022 ifcfg-eth0
> -rw-r--r-- 1 root root 653 Jul 13 20:11 ifcfg-eth1
> -rw-r--r-- 1 root root  55 Dec  9  2022 route-eth0
>
> but many more are in
>         /etc/sysconfig/network-scripts/
> where there is no ifcfg-eth1.
>
> Is there some confusion between the two places?
>
> Maybe I need to put ifcfg-eth1 with the others? I will test...
>
> Tried, and got a failure:
>         [network] You are using 'network' service provided by 'network-scripts', which are now deprecated.
>         [network] 'network-scripts' will be removed from distribution in near future.
>         [network] It is advised to switch to 'NetworkManager' instead for network management.
>
> So NM does at least look in network-scripts, should I empty that directory?
>
> ifcfg-eth0 in both places is a bit different, which one is used? I am happy to do a cleanup.
>
> NM also overwrites by handmade /etc/resolv.conf...
>
> Looks like a mess to me.

Also see Consistent Network Device Naming in Linux,
<https://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_linux.pdf>.
Page 10 discusses how to disable the new names and use the old names
under Red Hat. (The information may be old).

Jeff
-- 
_______________________________________________
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