[plug] Need assistance changing network card.

Bill Kenworthy billk at opera.iinet.net.au
Mon Jan 3 16:53:48 WST 2000


There is no modules file - conf.modules or sometimes modules.conf (apparently
superseeded?).  Mine reads:
################
alias eth0 ne2k-pci
alias parport_lowlevel parport_pc
alias char-major-14 esssolo1
alias char-major-81 bttv
post-install bttv modprobe -kv tuner
alias LS120 ide-floppy
# lm-sensors
alias char-major-89 i2c-dev
###############
# is a comment
alias is what name you want an installable module to be referenced by
post install is for commands to run after another module has been installed
the char-major numbers are standard device references (in a text file somewhere)
In some cases an options line is required for a module
module use is very poorly documented with bits all over the place.  Main is in "man
modprobe".  This file is used by kerneld or kmod to load modules and any other
dependent modules that it can identify from the one you specify.

you want to remove the 3c509 and replace with the ne2k-pci if you are using a pci
card.  I presume "ne" is a is the isa equivalent,  if unsure look in
/lib/modules/<kernel_version>/net (in my case)

BillK




David Buddrige wrote:

> My conf.modules file says:
>
> alias eth0 3c509
>
> I had tried changing this to :
>
> alias eth0 ne
>
> However this did not (apparently) work.
>
> Unfortunately, Redhat does not appear to have a /etc/modules file...
>
> cheers
>
> David. 8-)
>
> Kenworthy Family wrote:
>
> > check "/etc/conf.modules" My realtek ne2000 clone is set up as modular and the
> > load is controlled by kmod via the modules.conf file.  If you want a copy of
> > the settings, let me know.
> >
> > BillK
> >
> > Brad Campbell wrote:
> >
> > > David Buddrige wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I am running Redhat 6 at the moment and have been troubleshooting the
> > > > network.  To summarise where I am up to - I think that the network card
> > > > I had in the system is faulty - it was an EtherLink III (circa 1992).
> > > > In any case, I have removed it and installed a new network card.  The
> > > > problem however is how to  change the configuration files such that it
> > > > automatically loads the module for the new card.  I can load the card
> > > > manually using modprobe - with the ne.o module, and specifying an
> > > > address of 0x300.  However, I don't know which config file I need to
> > > > change to get this to be automatically loaded at runtime (instead of the
> > > > system trying to load the old module)
> > > >
> > > > Can someone enlighten me?
> > > >
> > > > thanks heaps
> > > >
> > > > David Buddrige
> > >
> > > /etc/modules
> > >
> > > ne io=0x300 irq=10
> > >
> > > well, that's how I do it on all my Debian systems.. I'm not sure about
> > > the red cap..
> > >
> > > --
> > > Brad....
> > > "The ultimate result is that some innovations that would
> > > truly benefit consumers never occur for the sole reason
> > > that they do not conincide with Microsoft's self-interest"
> > > - Judge Thomas Penfield Jackson
> > >          /"\
> > >          \ /     ASCII RIBBON CAMPAIGN
> > >           X      AGAINST HTML MAIL
> > >          / \



More information about the plug mailing list