Changing interface names back to ‘normal’

As long as I know, on a linux system the wired devices were called eth0, eth1, eth2 etc. Wireless devices were wlan0. Since I started using ubuntu on my laptop this has changed, and not for the better. The wired devices were something like enx00938229aab8 or the like. Difficult to type (when auto-completion failed) and fairly annoying. Fortunately, there is a quite simple fix to this.  Adding the following line to /etc/defaults/grub

GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″

After that, simply running grub-mkconfig and update-grub (or update-grub2, depending on which you use). Then reboot the system to apply these new settings changes all interface names back to their ‘normal’ self again.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.