Fedora - rename network adapters

1111111111Rating 0.00 (0 Votes)
After install Fedora, you can see new names for network adapters, example - enp2s0 or wlp3s0u and etc... You can restore old names for network adapters in Fedora / CentOS linux system very simple, for example - eth0 or wlan0...
You need to change grub config:
nano /etc/default/grub
Find string GRUB_CMDLINE_LINUX and add several parameters net.ifnames=0 biosdevname=0:
GRUB_CMDLINE_LINUX="rhgb quiet net.ifnames=0 biosdevname=0"
Save and renew boot parameters:
grub2-mkconfig -o /boot/grub2/grub.cf
See current network devices:
ls /etc/sysconfig/network-scripts/ifcfg-*
If exist, rename it:
mv /etc/sysconfig/network-scripts/ifcfg-enp2s0 /etc/sysconfig/network-scripts/ifcfg-eth0
And reboot Your system:
shutdown -r now
After reboot check names now:
ip addr show
 

Add comment


Refresh
Security code

Вверх
Вниз