From: "Daniel da Veiga" <danieldaveiga@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] modules.conf - alias for eth devices - can't set the correct interface number
Date: Thu, 26 Oct 2006 17:18:32 -0300 [thread overview]
Message-ID: <342e1090610261318h5fe124e4l20cc4b20689a5df5@mail.gmail.com> (raw)
In-Reply-To: <fd8aab850610261258y6c17e02dsd92dfc21df13cec0@mail.gmail.com>
On 10/26/06, Claudinei Matos <claudineimatos@gmail.com> wrote:
> Looking at /etc/udev/rules.d/ I'd found 70-persistent-net.rules with
> the lines below:
> # PCI Device: 0x10ec:0x8029 (ne2k-pci)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:c0:df:ea:d6:49",
> NAME="eth1"
>
> # PCI Device: 0x10b7:0x9200 (3c59x)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:75:c5:5c:ce",
> NAME="eth2"
>
> The interface with name eth1 match the mac address with the installed
> one, but interface eth2 does not, probably 'cause it might be the old
> card mac adress.
>
> Well, now I know that in some way udev add these links automatically I
> do thing that I can just change the mac address putting the right one,
> letting the file appear like below:
>
>
> # PCI Device: (via-rhine)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:8D:84:A8:4F",
> NAME="eth0"
>
> # PCI Device: 0x10ec:0x8029 (ne2k-pci)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:C0:DF:EA:D6:49",
> NAME="eth1"
>
> # PCI Device: 0x10b7:0x9200 (3c59x)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:04:6E:9C:AB",
> NAME="eth2"
>
>
> Well, that's OK, it do solve my problem but isn't it supposed to be an
> automatically process? Isn't it an UDEV or Gentoo task to deal with?
>
Please do not top post.
Regarding your now solved problem, I don't have such file
(70-persistent-net.rules) in my rules.d directory, it seems that it
has something to do with automatic udev configuration. I don't have
any idea on WHY or WHEN this is run. It appears to be run by some rule
in UDEV configuration writting persistent net devices.
Maybe someone else will have a better idea... They'll probably need
your UDEV version...
--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-10-26 20:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 15:01 [gentoo-user] modules.conf - alias for eth devices - can't set the correct interface number Claudinei Matos
2006-10-26 16:31 ` Daniel da Veiga
2006-10-26 19:58 ` Claudinei Matos
2006-10-26 20:18 ` Daniel da Veiga [this message]
2006-10-26 20:49 ` Richard Fish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=342e1090610261318h5fe124e4l20cc4b20689a5df5@mail.gmail.com \
--to=danieldaveiga@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox