Udev Question
C M Reinehr
cmr at amsent.com
Mon Jun 21 07:20:34 PDT 2010
On Sat 19 June 2010 05:01:54 pm David A. Bandel wrote:
> On Sat, Jun 19, 2010 at 14:53, C M Reinehr <cmr at amsent.com> wrote:
>
> [snip]
>
> > [ 40.677470] eth1: dma_rwctrl[769f4000] dma_mask[64-bit]
> > [ 40.680862] udev: renamed network interface eth0 to eth4
> > [ 40.708863] udev: renamed network interface eth1 to eth5
> >
> > If I'm reading this correctly, each port was initially assigned the usual
> > eth0, 1 or 2, but then almost immediately renamed eth3, 4 or 5.
>
> [snip]
>
> > I almost left out, that since the MAC addresses were different I had to
> > edit the interfaces file to correct for that, but that didn't cause or
> > correct the udev renaming.
> >
> > If you've read this far, then very sincerely, thanks for your patience
> > and any insights you may have. I'm up and running, but I really would
> > like to understand what is happening here.
>
> Take a look down in /etc/udev/rules.d/ for a file probably named
> 70-persistent-net.rules. This file is where udev reorders your
> interfaces. Just change what you want in here. You only have to
> change the eth#, but make sure you don't have two lines with the same
> eth# (not sure what might happen, but the results could get
> interesting if both MACs are in the same machine).
>
> Ciao,
>
> David A. Bandel
David & Ben,
Thanks! This explains perfectly what was happening & will be easy to fix.
Mike Reinehr
--
Debian 'Lenny' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list