Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I load a module at boot time?
The problem is that at boot, only lp and parport is being loaded, bu not parport_pc. So I have to load it everytime I want to use a printer.
I edited rc.modules and uncomented the lines about parallel port, but didn't work. The strange thing is even lp and parport were comented, so I don't think rc.modules have anything to do with loading the modules.
I'm using Slackware 9.1 and just compiled kernel 2.6.3.
All three modules are inserted as M on the kernel.
After my system is booted, lsmod doesn't show lp, parport, or parport_pc. But, then, when I try to print a page (e.g. lpr testpage), all three modules get automatically loaded. So, if your case is similar to mine, maybe there's no need to uncomment those lines in rc.modules.
This is the exact question I was looking for an answer to.
I am wanting to load the module sonypi on boot up. Currently I am loading it manually through the console after logining into linux with su -.
I have searched for the file rc.modules, but have been unable to find it. I am running Fedora core 1.
Can I simply make the file rc.modules and place it in the /etc/rc.d/ directory, and if does it need to referenced in any other boot scripts? Or is there another way to have modules load on boot in Fedora?
Your right Fedora doesn't use rc.modules, and i couldn't figure out the modules.conf. However I read in the 'Fedora' forum that I could use the rc.local file which is in /etc/rc.d/. It works I'm just not sure if this is the best way of making it work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.