Re: eth0 or eth1
On Thu, 28 Jan 2010 16:09:11 -0500 (EST)
Stephen Powell <zlinuxman@wowway.com> wrote:
...
> If there is no other interface shown, look for a file in /etc/udev/rules.d
> that has "persistent-net.rules" in it. The actual file name is
> dependent on the architecture and the release of Debian. Look in this
> file. You should see information for both interfaces in it, including
> the MAC addresses. This can happen, for example, if a motherboard
> containing a built-in ethernet adapter goes bad and has to be replaced.
> The new motherboard has an ethernet adapter with a different MAC
> address than the old one.
>
> If this is the case, and the machine really has only one ethernet
> adapter, erase the file, shutdown and reboot. The file will be
> recreated upon reboot and eth0 will be assigned to the one and only
> MAC address that can be found during boot.
No need to erase the whole file, or to shutdown / reboot (assuming the
relevant driver is built as a module). As I note here, just comment out
the relevant line, and then unload and reload the relevant kernel
module.
http://lists.debian.org/debian-user/2009/01/msg01486.html
Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: