Network Device Names on Raspberry Pi 2

I have the problem where my eth0 has been renamed to enxb827… I’m running Ubuntu Mate 16.04 LTS on my Raspberry Pi 2. I have tried all the usual fixes

I have added the following at the start of my /boot/cmdline.txt:
net.ifnames=0 biosdevname=0

Some other things people have said… I’m looking in /etc/udev/rules.d
root@test:/etc/udev/rules.d# ll total 20 drwxr-xr-x 2 root root 4096 Apr 21 09:16 . drwxr-xr-x 4 root root 4096 Apr 21 08:01 .. -rw-r--r-- 1 root root 47 Mar 1 09:20 10-local-rpi.rules -rw-r--r-- 1 root root 115 Mar 1 09:20 40-scratch.rules -rw-r--r-- 1 root root 983 Mar 21 09:43 99-com.rules
People say to modify 80-net-setup-link.rules or link it to /dev/null… But it doesn’t exist on my copy of the system.

Is there anything else that I could try to get my ethernet interface named back to eth0? Webmin doesn’t accept device names so long.

Hi @c2016,

I have no idea myself, maybe you can scan this website for an answer?:

I tried but I couldn’t find anything. I’m looking for different things people have tried as I’m absolutely stumped on how to get the name back to eth0

That link tells you how to re-enable predictable device names, a.k.a. enable enx… as your device name. I’ve looked at it before

Does this help?:

1 Like

Yes. That finally renamed the interface after I used this guy’s response:

The file /etc/udev/rules.d/75-persistent-net-generator.rules did not exist on my system- I had to create it. But afterwards my problem was resolved.

Thanks!

1 Like