According to Michael H. Warfield: While burning my CPU.
>
> A W Young enscribed thusly:
> > Thanks to the many suggestions made here, I have now got my HP DeskJet
> > 690C printer working with RedHat Linux 5.1. However, at the moment I
> > have to change to /lib/modules/2.0.34-*/misc and type "insmod lp.o"
> > every time I log on. My last query is:
>
> > How do I get Linux to do "insmod lp.o" automatically every time I log
> > on?
>
> Add the command to /etc/rc.d/rc.local
Altho' that will work, the use of Kerneld is a much beter way of "auto
loading" modules when ever they are needed. Kerneld will look into
/etc/conf.modules when called to (ie) when starting the lp,deamon it will
also unload lp.o when lpd is killed, this way we are saving memory and
leaving more resources for other apps.
In /etc/conf.modules an entry someting like the following should be enough
to "autoload" lp.o provinding Kerneld is running as a process.
alias char-major-6 lp
Kerneld has its own howto in the /usr/doc/*/mini section, it has a 'man page'
altho its rather confusing.
The Module-HOWTO is another piece of interesting reading, look at section
2.3 ..
If a kernel is used from a distribution install then Kerneld support is
included, if you have made your own kernel check to see if you defined;
CONFIG_KERNELD by looking into /usr/src/linux/.config it should be there if
you have not done a 'make distclean' or 'mrproper'.
>
> BTW... Congradulations on getting this to work. I know it was
> difficult for some reason. :-)
>
> > --
> > A. W. Young
> > http://www.tylehurst.demon.co.uk/
>
> Mike
> --
> Michael H. Warfield | (770) 985-6132 | [EMAIL PROTECTED]
> (The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/
> NIC whois: MHW9 | An optimist believes we live in the best of all
> PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
>
--
Regards Richard.
[EMAIL PROTECTED]