Setting NIC to eth0/eth1
rdege at cse.Buffalo.EDU
Fri Dec 21 12:16:15 EST 2001
Not that I know of. I don't know how you're previous kernel was setup.
Did you check the lilo.conf file to see if any parameters were passed at
boot time? Are the NIC drivers loaded via modules, or built into the
Perhaps the older kernel detected 1 NIC first over the other. Can be how
the PCI bus is queried during boot. You can do lspci, or cat /proc/pci do
see what devices are detected. Maybe there's an order?
What flavor of linux are we talking here? What version kernels?
> Any idea why it would have changed? Does it have anything to do with the
> order in which you select things when building the kernel?
> -----Original Message-----
> From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
> Robert Dege
> Sent: Friday, December 21, 2001 12:03 PM
> To: nflug at nflug.org
> Subject: RE: Setting NIC to eth0/eth1
> In that case, you can probably pass them as kernel parameters at the
> prompt or something similar.
> I'm not sure of the syntax, but that's the only other place that I can
> think of to do that.
> > Also, I am hard-coding the drivers in (not loading as modules, so I
> > don't think 'alias eth0 3c59x' etc will work)..
> > -----Original Message-----
> > From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf
> > Joe Bielli
> > Sent: Friday, December 21, 2001 11:48 AM
> > To: nflug at nflug.org
> > Subject: Setting NIC to eth0/eth1
> > Does anybody know how to set which NIC becomes eth0/eth1 when the
> > loads up? I know its kind of a trivial question, but I am developing a
> > solution for a customer, and I notice that this time around, my NIC's
> > have swapped. How can I set which one to be eth0 or eth1? If I boot to
> > the old kernel, they are like they were. I'm sure some kernel params
> > be passed, but how can I compile it this way?
> > Thanks,
> > Joe Bielli
> > Software Development
> > Computer SOS, Inc.
> > 1505 Cleveland Drive
> > Buffalo, NY 14225
> Inside some of us is a thin person struggling to get out, but
> they can usually be sedated with a few pieces of chocolate cake.
Inside some of us is a thin person struggling to get out, but
they can usually be sedated with a few pieces of chocolate cake.
More information about the nflug