Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to modify the naming rules of Network Card by Linux

Shulou Source: shulou.com Published: 2022-06-02 03:13:24 10月04日 Update

Record time status Remarks 2019-12-1 Compilation to be supplemented Reference materials (shoulders of predecessors)

http://benjr.tw/93340

Do it first (operating steps)

Centos7

1. Edit/etc/default/grub to find this line GRUB_CMDLINE_LINUX, add net.ifnames=0, close the naming rules of net.ifnames. 2. Compile the boot configuration file cp /boot/grub2/grub.cfg{,.bak}grub2-mkconfig -o /boot/grub2/grub 2.cfg3. Restart, let the configuration file take effect. reboot (detailed description)

Tags: Files configurations rules predecessors references remarks time steps status shoulders materials references compilers network cards Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Microsoft Linux Shulou Information NVidia