Mauricio Silveira | 27 Jun 00:26 2007

Ethernet devide enumeration problems

Hi all,

I'm here asking for solutions for the Damned "Ethernet device 
enumeration" problem!

I have a P5b Mobo for my office server, it has 2 integrated NICs, but 
the order for eth0/eth1 changes at each boot! It's getting me mad!

I'm using slackware 11.0, kernel 2.6.21.3.

I know Suse and RHEL has a solution, but it integrates too many things 
to get it working under slackware.

Any "easy"(not with so many dependencies) way?

Thanks,

Mauricio
Attachment (msilveira.vcf): text/x-vcard, 321 bytes
Nikolai Lusan | 27 Jun 01:54 2007

Re: Ethernet devide enumeration problems

On Tue, 2007-06-26 at 19:26 -0300, Mauricio Silveira wrote:
> Hi all,
> 
> I'm here asking for solutions for the Damned "Ethernet device 
> enumeration" problem!
> 
> I have a P5b Mobo for my office server, it has 2 integrated NICs, but 
> the order for eth0/eth1 changes at each boot! It's getting me mad!
> 
> 
> I'm using slackware 11.0, kernel 2.6.21.3.
> 
> I know Suse and RHEL has a solution, but it integrates too many things 
> to get it working under slackware.
> 
> Any "easy"(not with so many dependencies) way?

Use udev with rules for keeping the ethernet interfaces consistant.

--

-- 
Nikolai Lusan
Systems Administrator

Hitwise Pty. Ltd.
Level 7 / 580 St Kilda Road
Melbourne, Victoria 3004
Australia
Phone: +61 3 8530 2400
Fax:  +61 3 9529 8907
www.hitwise.com.au
(Continue reading)

Mauricio Silveira | 27 Jun 02:13 2007

Re: Ethernet devide enumeration problems

Nikolai Lusan wrote:
> On Tue, 2007-06-26 at 19:26 -0300, Mauricio Silveira wrote:
>   
>> Hi all,
>>
>> I'm here asking for solutions for the Damned "Ethernet device 
>> enumeration" problem!
>>
>> I have a P5b Mobo for my office server, it has 2 integrated NICs, but 
>> the order for eth0/eth1 changes at each boot! It's getting me mad!
>>
>>
>> I'm using slackware 11.0, kernel 2.6.21.3.
>>
>> I know Suse and RHEL has a solution, but it integrates too many things 
>> to get it working under slackware.
>>
>> Any "easy"(not with so many dependencies) way?
>>     
>
> Use udev with rules for keeping the ethernet interfaces consistant.
>
>
>   
Thanks Nikolai,

In advance, have you got any url that might be of some help?

I'm searching for this right now.

(Continue reading)

George Iosif | 27 Jun 06:44 2007
Picon

Re: Ethernet devide enumeration problems

Hi Mauricio,

Just read the following file:

/etc/udev/rules.d/network-devices.rules

and you should get an idea of what to do with it.
If not, send another e-mail to the list.

Cheers,
George Iosif

>>> Mauricio Silveira <msilveira <at> linuxbr.com> 06/27/07 3:13 AM >>>
Nikolai Lusan wrote:
> On Tue, 2007-06-26 at 19:26 -0300, Mauricio Silveira wrote:
>   
>> Hi all,
>>
>> I'm here asking for solutions for the Damned "Ethernet device 
>> enumeration" problem!
>>
>> I have a P5b Mobo for my office server, it has 2 integrated NICs, but

>> the order for eth0/eth1 changes at each boot! It's getting me mad!
>>
>>
>> I'm using slackware 11.0, kernel 2.6.21.3.
>>
>> I know Suse and RHEL has a solution, but it integrates too many
things 
(Continue reading)

terry white | 27 Jun 12:10 2007

Re: Ethernet devide enumeration problems

... ciao:

    as a preface:

    i've read suggestions about using udev and associated magic
toward a solution.  i am not convinced that the way to go.

: on "6-26-2007" "Mauricio Silveira" writ:
: P5b Mobo for my office server, it has 2 integrated NICs
: the order for eth0/eth1 changes at each boot!

    as the nics integrated into the motherboard, reference to them must
exist withing the bios.  by implication, this well prior to a kernel
loading, and executing modules for udev (hotswap) hardware.

    the approach i would attempt, is to assign a static irq and addr to
each device, within the bios, and pass that information to the kernel via
tbe bootloader.  just a thought ...

--

-- 
... i'm a man, but i can change,
    if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Aslan Carlos | 27 Jun 16:36 2007

Re: Ethernet devide enumeration problems

Hi Folks,
look in
http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames

maybe it will be helpful. :)

[]'s
---
Aslan Carlos de M. Ramos
Network Administrator
K8 Networks, Digirati Networks, HostNet
Tel: +55(21)2233-5950 Ramal:29
Skype: aslancarlos

On Wed, 2007-06-27 at 03:10 -0700, terry white wrote:
> ... ciao:
> 
>     as a preface:
> 
>     i've read suggestions about using udev and associated magic
> toward a solution.  i am not convinced that the way to go.
> 
> 
> : on "6-26-2007" "Mauricio Silveira" writ:
> : P5b Mobo for my office server, it has 2 integrated NICs
> : the order for eth0/eth1 changes at each boot!
> 
>     as the nics integrated into the motherboard, reference to them must
> exist withing the bios.  by implication, this well prior to a kernel
> loading, and executing modules for udev (hotswap) hardware.
(Continue reading)

Adam T. Bowen | 28 Jun 10:20 2007

Re: Ethernet devide enumeration problems

Hi,

Aslan Carlos wrote:
> Hi Folks,
> look in
> http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames
> 
> maybe it will be helpful. :)

Hadn't heard of ifrename before.  That's really useful to know about
(although bizarrely it is part of the wireless-tools package under
fedora/red hat/centos).

Cheers

Adam

> []'s
> ---
> Aslan Carlos de M. Ramos
> Network Administrator
> K8 Networks, Digirati Networks, HostNet
> Tel: +55(21)2233-5950 Ramal:29
> Skype: aslancarlos
> 
> On Wed, 2007-06-27 at 03:10 -0700, terry white wrote:
>> ... ciao:
>>
>>     as a preface:
>>
(Continue reading)


Gmane