I didn't write the cript, but it  is designed to test all variants of
nics and try and automatically load the appropriate one.

It would not be appropriate to do whart you suggest as it won't work on
machines with as different card.

Thanks for the input though.

On Tue, 24 Jun 2003 10:03:42 +1200 (NZST)
"Ryurick M. Hristev" <[EMAIL PROTECTED]> wrote:

> On Mon, 23 Jun 2003, Nick Rout wrote:
> 
> > My research shows that the toshiba 6100 uses the e100.o driver, It
> > resides in /lib/modules/*/kernel/drivers/net/e100/e100.o (most net
> > drivers simply live in lib/modules/*/kernel/drivers/net )
> > 
> > My question for script gurus is: will this code fragment catch it?
> > 
> > [start]
> > for x in /lib/modules/*/kernel/drivers/net/*
> >                 do
> >                         y=${x##*/}
> >                         y=${y%%.*}
> >                         echo -ne " ${GOOD}*${NORMAL} Scanning for ${y}..."
> >                         insmod -f ${x} > /dev/null 2>&1
> >                         backup
> >                 done
> > [end]
> > 
> > the uncertainty in my mind being that the e100.o  driver is in a
> > subdirectory of /lib/modules/*/kernel/drivers/net/*
> 
> It would be much better to try to take a step back and ask yourself what
> do you want to achieve in fact.
> 
> If you just want to load the e100 driver then all you need is a line in modules.conf:
>    alias eth0 e100
> (or similar)
> 
> Your script looks like a solution in search of a problem :-) :-)
> 
> Cheers,
> -- 
> Ryurick M. Hristev mailto:[EMAIL PROTECTED]
> Computer Systems Manager
> University of Canterbury, Physics & Astronomy Dept., New Zealand
> 


Reply via email to