George R Goffe via test composed on 2020-12-25 01:32 (UTC): > I have been using this process to rename the NIC of a system: > 1) add net.ifnames=0 biosdevname=0 to the GRUB_CMDLINE_LINUX in > /etc/default/grub > 2) grub2-mkconfig -o /boot/grub2/grub.cfg > 3) copy this file to /etc/udev/rules.d/99-rename-to-eth0.rules > contents: > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="54:04:a6:10:61:87", ATTR{dev_id}=="0x0", ATTR{type}=="1", > KERNEL=="eth*", NAME="eth0"
> This was working just fine but since the fresh install of FC34 x86_64 from > Fedora-Everything-netinst-x86_64-Rawhide-20201213.n.0.iso this procedure no > longer > works. eth0 for ipv6 looks like it's working but eth0 for ipv4 init fails to > produce a usable network connection. > Is this a known bug or a George misteak? > Any help/hints/tips/suggestions would be greatly appreciated. No problem doing it my way: # uname -r 5.10.0-0.rc6.20201204git34816d20f173.92.fc34.x86_64 # cat /proc/cmdline ... net.ifnames=0 ... # ls -Gg /etc/udev/rules.d/ total 0 # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff altname enp0s31f6 inet 192.168.xxx.xxx/24 brd 192.168.xxx.xxx scope global noprefixroute eth0 valid_lft forever preferred_lft forever -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ _______________________________________________ test mailing list -- test@lists.fedoraproject.org To unsubscribe send an email to test-le...@lists.fedoraproject.org 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/test@lists.fedoraproject.org