Subject: Re: [SLUG] /etc/module question From: Jeff Waugh <[EMAIL PROTECTED]> Date: Fri, 26 Nov 2004 19:40:12 +1100 To: [EMAIL PROTECTED]

To:
[EMAIL PROTECTED]


<quote who="Russell Davie">

neither of these added 8139too to the the /etc/modules file and the date didn't change so maybe the file wasn't touched. ?


Yeah, depmod doesn't do anything with /etc/modules. Just add '8139too' to
/etc/modules on a new line,
or run 'modconf', which will add it for you when
you select the module.

- Jeff

Thanks for showing modconf.

/etc/modules was originally generated somehow and and I would like the system to do it again. This is so if I add or change another piece of different hardware the system spots it and loads the new module without me having to do:
1) a pci search
2) match the module
3) load the module
4) edit the /etc/module file for next reboot


When I replaced the old nic the network was unreliable for 24 hrs and mission critical transactions were missed. It really spazed me out as I expected the system to automatically accommodate a hardware change and this took some time to figure out. Which was quite hard as I didn't have a reliable connection to the www to google-search for how to fix this. The system had updated itself last time I changed a NIC, and it didn't this time as I had expected it to, which is probably a mistake. This was in kernel 2.4.22 but now in kernel 2.6.6 it hadn't. Other systems (and OSs) I have used can do this, but not this shiny new Debian 2.6.6 kernel. why not?

The point is: I wish to know how to have /etc/modules file generated automatically or have some way of automatically spotting when there is a hardware change and load appropriate modules at the reboot.

TIA

Russell







--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to