Actions sur le document

Solve the disapearring eth0 problem on Debian 4.0 Etch

When changing hardware (motherboard or only network interface), it happen that the eth0 network interface is no more available. This article give a solution to solve this problem.

I've got this problem two times already, first during an VirtualBox upgrade, the second time during a motherboard change. Since i've lost time the two times, i'm now writing down the solution.

Udev has a cache of network interface mac addresses, in order for you to always get the same interface for one device. In order to solve the disappearing eth0 problem, you need to clear the Udev mac cache.

There is 2 ways to do this:

Manually edit the file /etc/udev/rules.d/z25_persistent-net.rules, and remove the faulty lines.

Brutally trash this same file:

/bin/echo "" > /etc/udev/rules.d/z25_persistent-net.rules

After doing theses changes, you need to restart your computer in order to take account of the changes.