site  contact  subhomenews

Good old eth0 got renamed

September 28, 2016 — BarryK
Running Quirky on the Odroid XU4, when I launched SNS (Simple Network Setup), it identified the network interface as 'enx*' (where the * is a long string), instead of the old familiar 'eth0'.

Explanation of why is given here:

How to get 'eth0' back is explained here:

The kernel knows the interfaces as eth0, eth1, etc., and the culprit that changes the names is the udev rule:


The udev package (actually, 'eudev' in the case of Quirky, 'systemd' for most other distros) provides the rules in /lib/udev/rules.d.

Any of these can be overridden in /etc/udev/rules.d.

However, in Quirky I don't just use the rules from the udev package, instead I have a cutdown set in /etc/udev and /lib/udev.
So, I have just removed 80-net-name-slot.rules.

I have just finished compiling the 3.10.103 kernel for the XU4, running it right now. And, oddly, the old naming has come back anyway, I didn't have to remove that rule.
But, I have removed it, so it won't be in woofQ builds.

Tags: linux