3

On my last Linux installation, my laptop's Intel/Realtek PXE wireless radio device had name, as seems to be common, wlan0. I like this name; it is nice to type and remember.

That was Linux Mint 14.04, which I've upgraded to Ubuntu 15.10. Now, the same radio has name wlp2s0, as reported by ifconfig. I imagine this is an update or change to either the kernel or the rle* Realtek driver since 14.04.

Is there a way I can change it back to wlan0?

1 Answer 1

2

Enter into the terminal:

sudo gedit /etc/udev/rules.d/70-persistent-net.rules

Change the NAME to whatever you want.

Easy day =)

EDIT: You can generate the 70-persistent-net.rules file with udevadm trigger.

16
  • Wait, I have an /etc/udev/rules.d/, but it's an empty directory. Can you add to your answer a template for a rule that I can use to make a new file?
    – cat
    Jan 5, 2016 at 16:44
  • 1
    I'm always thrown by the you can accept this answer in 3 minutes :)
    – cat
    Jan 5, 2016 at 16:45
  • @cat edit made - does it work for you?
    – TellMeWhy
    Jan 5, 2016 at 16:48
  • I ran it as root but /etc/udev/rules.d is still an empty directory.
    – cat
    Jan 5, 2016 at 16:49
  • @cat udevadm trigger --subsystem-match=net ?
    – TellMeWhy
    Jan 5, 2016 at 16:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .