[Techtalk] Automatic loading of network card module after kernel upgrade

Therese Gustafsson th_gustafsson at yahoo.com
Mon Jul 22 12:40:12 EST 2002


--- Nicole Zimmerman <colby at wsu.edu> wrote:
> 
> It is possible that the network card you had was
> either:
> 
> 1. Compiled into the kernel
> 2. Done "the other way" (via modutils and
> /etc/modules.conf).

Yes, it seems that it's compiled into the 2.2.20 
kernel. So that explains it. 

--- Conor Daly <conor.daly at oceanfree.net> wrote:
># This should work
># assuming the expression syntax is right...
>
>if -n `kernelversion` == 2.4
>  alias eth0 8139too
>elseif -n `kernelversion` == 2.2
>  alias eth0 ne-2k
>endif

That worked. I put it in /etc/modutils/local and 
then I ran update-modules. Thank you!

/Th






__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



More information about the Techtalk mailing list