[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 equal ethernet controller



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Nov 04, 2004 at 10:46:12PM +0000, Nuno wrote:
> Hi!
> 
> I have 2 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+
> It's possible to "say" manually which of them is eth0 and eth1?

Hello,

I live in the Netherlands. This week was a person,
who said what he thought, murdered in my country.
His philosophy[1] was: 

 "Hey, If you don't like it, consider me the local fool"

Yep, a strange dialog, but still a dialog[2].


So, you have two identically Ethernet controllers,
but you ask where they differ.

The easy way for you is to get different N.I.Cards.

The easy way for me is to ignore you[3].

I choose to go for a better world and take some time
to educate[4] you.


Lets assume the RTL8139 is a PCI card.
PCI bus controllers have electronic circuits to remap and to configure
the same boards at different places in memory. PCI slots on the main
board do look identically, but the electronic makes then unique. They
have an identification number. The program `lspci` shows you information
on occupied slots. Notice there is a sequence in the slot numbers.

The Linux kernel is[5] aware of the PCI bus controller and can read
model type of a PCI card. With the model information it can initalize
next kernel code[6] such an ethernet driver. And so create "eth0",
"eth1" and "eth...". It will use the same sequence as the PCI slot
numbers.

> thanks

You still don't know which NIC will be eth0. You have at least to
verify what you just have read.

I do hope that you get this E-mail. I did left out an CC on purpose.
This message is only about how can people work together  :D

> Nuno Carvalho


Cheers
Geert Stappers

[1]  Yes, you are right, The philosphy of Theo van Goch doesn't fit a
     single line.
[2]  Keep communicating[2b], hence my reason for this E-mail.
[2b] Free Software helps with that,
     hence my reason to work on Free Software.
[3]  I could live with that. One of the great rules on asking smart
     questions, is to select carefull the forum.
[4]  If you consider your self an educated person, 
     then you are invited to educate the next generation.
[5]  In fact "has to be", but usaully "is"
[6]  kernel module or build-in.


PS:

The 'you' mentioned above is you, part of mankind.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBjOBvOSINbgwa/7sRAs5bAKC5zwqZTLEpywZcJ8PSo4rcR1WW1QCcDl6O
Q0xjbPbZVv9ZxFE9ed4k5G4=
=Ia/e
-----END PGP SIGNATURE-----



Reply to: