Re: How to load an Ethernet driver on only one adapter
- From: David Bailey <Newsgroups@xxxxxxxxxxxx>
- Date: Sun, 25 Feb 2007 07:06:05 -0000
On Wed, 21 Feb 2007 10:35:59 -0500, Cyril Perrin wrote:
Hi,
I'm using a PC with two Intel Gigabit adapters (i8254x). When Linux
(RedHat 7.2, kernel 2.4.24) boots, it calls "insmod e1000.o" and the
driver initializes and takes control of both adapters. Is there a way to
restrict the e1000 driver to only one adapter? I've searched in the
driver parameters but there is nothing obvious.
Thanks,
Cyril.
Hi Cyril,
Have a look in your /etc/modprobe.conf (or possibly modules.conf)
it will have entries for both your network cards there something like:
alias eth0 e1000
alias eth1 e1000
Remark out the second one (eth1)
next look at your /etc/sysconfig/networking/devices directory
you will probably have a couple of configuration files, one for each nic.
They will be named something like:ifcfg-eth0
In your ifcfg-eth0 file, make sure you reference the correct mac address
of the nic you want to enable. eg:
HWADDR=00:00:00:00:00:00
This should effectively disable your eth1 device. To be extra sure, you
could rename ifcfg-eth1 to old-ifcfg-eth0 (NB. put the old as a prefix
rather than a suffix, as I believe the system looks for ifcfg-* files )
--
Regards,
David Bailey
david _AT_ bailey dot id dot au
.
- Prev by Date: Re: Make multicast packets local-only?
- Next by Date: Re: switch newbie
- Previous by thread: Re: How to load an Ethernet driver on only one adapter
- Next by thread: ethernet aliases & kernel?
- Index(es):
Relevant Pages
|