Revert Linux systemd interface naming to simple legacy naming

I do understand the reasons for why this change was made, but I simply don't want to have to remember my USB wifi interface's mac address every time I want to reference it, so this is how to turn back to simpler times.

sudo nano /etc/default/grub
# Add net.ifnames=0 to the end of your default commandline. eg 

GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash net.ifnames=0"

sudo grub-update
# Check these don't refer to the previous names. 
cat /etc/network/interfaces /etc/network/interfaces.d/*

sudo reboot

Hello eth0 and wlan0. I've missed you.

This is just a reminder for me, so I don't have to look it up again.

Leave a Comment