documentation/Examples/Debian/Restore Old Interface Names.md

673 B

Procedure
  1. Sign in as root user

  2. Open /etc/default/grub with nano, e.g.

    nano /etc/default/grub
    
  3. Add net.ifnames=0 to the GRUB_CMDLINE_LINUX_DEFAULT option, e.g.

    GRUB_CMDLINE_LINUX_DEFAULT="... net.ifnames=0"
    

    !!! warning "Caution"

     Be mindful of the existing options set for `GRUB_CMDLINE_LINUX_DEFAULT`. Append `net.ifnames=0` to the end of them if they exist. The `...` in the example above indicates an indeterminate amount of options irrelevant to the guide.
    
  4. Save and run update-grub && reboot

  5. Finally, run ip address to inspect network interfaces for names like eth0 and eth1