Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth stuff I've learned
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Ralphus Maximus
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 148
Location: At Large

PostPosted: Thu Aug 08, 2002 5:56 pm    Post subject: eth stuff I've learned Reply with quote

After much searching, and help from the folks here, here are some things I've learned that may help other newbies.

The box I'm installing on has the Intel eepro100 card on the motherboard. As I found out, the eepro100 driver is less than desirable. I dropped a 3Com 3c905 card in a slot and restarted the install, calling it eth1. All installed dandy!

When I rebooted, the system could not find eth1. After much hair pulling, I found that the 3Com card is now eth0 and the eepro is eth1.

I re-configured the system for eth0 and all is right with the world. :D

I'm not sure why they switched positions, but it's something to be aware of.

Cheers,
RM
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Aug 08, 2002 6:00 pm    Post subject: Reply with quote

I think it is IRQ related. See if the IRQ on the new card is lower (or higher?) than the other one. If you can, see what the other/removed card was set. That might give you the answer.

On a side note, be careful with clicking 'submit' and having forum delays. I deleted about 8 or so duplicate posts.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Ralphus Maximus
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 148
Location: At Large

PostPosted: Thu Aug 08, 2002 6:06 pm    Post subject: Reply with quote

Thanks for nuking the extras. I thought I only clicked once, maybe our network is acting up.

Cheers,
RM
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Thu Aug 08, 2002 6:17 pm    Post subject: Reply with quote

I have the same thing happen to me. It's not an issue, all works fine.

I popped a new NIC into a spare machine i had to turn it into a firewall/gateway for my network. My new NIC was placed in PCI slot 2, whereas the old NIC stayed where it was in PCI slot 3. I had assumed that the new NIC would become eth0, but it didnt.

As i said, its not an issue, i just switched all my eth0's to eth1's in my script, and vice versa. It was interesting to see though, i would agree.
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Thu Aug 08, 2002 10:15 pm    Post subject: Reply with quote

Do you have the drivers compiled as modules or into the kernel :?:

If you have it compiled as modules, you can control the order of which one is eth0 and eth1 by the loading order of the modules.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Ralphus Maximus
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 148
Location: At Large

PostPosted: Thu Aug 08, 2002 10:35 pm    Post subject: Reply with quote

Quote:
I have the same thing happen to me. It's not an issue, all works fine.

Same here. For the purpose of this box, it doesn't matter which one is 0 and 1, as long as one of them works.

Quote:
Do you have the drivers compiled as modules or into the kernel icon_question.gif

If you have it compiled as modules, you can control the order of which one is eth0 and eth1 by the loading order of the modules.


I tried both at one time. Now, I have the "good" driver compiled in the kernel and it's all good. How do you control the order? Is it in the order listed in /etc/modules.autoload?

Cheers,
RM
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Thu Aug 08, 2002 10:48 pm    Post subject: Reply with quote

Ralphus Maximus wrote:
Quote:
Do you have the drivers compiled as modules or into the kernel icon_question.gif

If you have it compiled as modules, you can control the order of which one is eth0 and eth1 by the loading order of the modules.


I tried both at one time. Now, I have the "good" driver compiled in the kernel and it's all good. How do you control the order? Is it in the order listed in /etc/modules.autoload?


Yes, specify the one you want for eth0 1st and later the others. You can also control it with aliases (in /etc/modules.d/aliases), e.g:
Code:
alias eth0 eepro100


don't forget to run update-modules after doing that.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Thu Aug 08, 2002 10:59 pm    Post subject: Reply with quote

How would you do that with two 8139 NICs?
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Thu Aug 08, 2002 11:23 pm    Post subject: Reply with quote

Sequentious wrote:
How would you do that with two 8139 NICs?

This won't work in that case. I'm talking about diffrenet NICs. Maybe passing addresses to the modules will work.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Thu Aug 08, 2002 11:29 pm    Post subject: Reply with quote

mksoft wrote:
Sequentious wrote:
How would you do that with two 8139 NICs?

This won't work in that case. I'm talking about diffrenet NICs. Maybe passing addresses to the modules will work.
Well as i said, im not concerned with it, i was just curious if there was a way.
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
tadman
n00b
n00b


Joined: 08 Aug 2002
Posts: 4
Location: Toronto

PostPosted: Fri Aug 09, 2002 12:18 am    Post subject: Multiple NICs Reply with quote

I think they are usually assigned in the order they "appear" on the PCI bus. This could be left to right, or right to left depending on your motherboard and BIOS, but the order should be fairly consistent.
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Fri Aug 09, 2002 12:27 am    Post subject: Re: Multiple NICs Reply with quote

tadman wrote:
I think they are usually assigned in the order they "appear" on the PCI bus. This could be left to right, or right to left depending on your motherboard and BIOS, but the order should be fairly consistent.
That is what I thought. THe video card is in the first slot (marked 0), there was an empty (marked 1), then my NIC (marked 2). I threw my new NIC in the slot between the two existing cards expecting it to take over as eth0.

When it didnt, i figured the system had just remembered the ID of the other card and wanted to save me the trouble of having to reconfigure. I thought it was rather neat. I should actually boot off something like Tom's root boot disk to see what order it loads my NICs.
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
tadman
n00b
n00b


Joined: 08 Aug 2002
Posts: 4
Location: Toronto

PostPosted: Fri Aug 09, 2002 1:40 am    Post subject: PCI Bus Order Reply with quote

Wild guess number two is that they are sorted by MAC address, or astrological sign.

I'm with you in expecting that card to end up as eth0.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum