I decided to do a clean install of 15.10, and as a result, need to reinstall MATLAB. MATLAB licenses are tied to the the eth0 hardware address.
My Ethernet card is listed as enp1s0, and I need to rename it to eth0. only lo is listed in /etc/network/interfaces, and /etc/udev/rules.d/70-persistent-net.rules does not exist, so I'm unsure where to start.
udevrule to rename the interface aseth0..lets say the MAC address of the interface isxx:XX:xx:YY:yy:ZZthen you can create a file in/etc/udev/rules.d/e.g.99-rename-net.rulesand putSUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:XX:xx:YY:yy:ZZ", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"in the file..if you don't know the MAC address then you can get it from/sys/class/net/enp1so/addressfile.. – heemayl Oct 24 '15 at 22:35