I ran into this problem today on my old laptop that runs Arch. My network interfaces didn’t have persistent names, my wired network interface was called enp1s0 and my wireless wlp2s0, and when I plugged in an external WiFi dongle it named something like wlp0s2s7su8sau … or something like that. By no means am I an expert, but I finally managed to solve this problem.
Here’s how I did it:
1
| |
This did the trick for me! After a reboot, ifconfig showed me: eth0, lo and wlan0, just the way I like it.
Another way to display all the network interfaces is to type:
1
| |
Want to know more? This link explain why it’s like this, and also includes the solution above: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames