baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

GNU/Linux Ubuntu LTS: Rename eth1 back to eth0 for onboard network lan card after swapping mainboard

When changing the mainboard, linux will detect the different MAC address from the onboard LAN and will create “eth1” while “eth0” will still be mapped to the LAN from the previous mainboard.

simply

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

to comment out the old network card and rename the new one from “eth1” to “eth0”, then reboot …

Comments are currently closed.