LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Loading Modules (https://www.linuxquestions.org/questions/linux-newbie-8/loading-modules-62982/)

Mega Man X 06-01-2003 05:04 AM

Loading Modules
 
Hi!!!

I've another question. I could finally install my joypad correctly and works great, but there's something annoying me a little. All the time I've to use it, I've to first open a terminal, then log in as root and load the modules (in the case, modprobe joydev). Is there anyway to make it work right away when I start gnome?

Thanks in advance

MasterC 06-01-2003 05:10 AM

Yes. It is the wonder of modules.conf in /etc However, if you cannot find info for your device there, then you could simply place that (modprobe joydev) in a startup script:
rc.local (possibly in /etc or /etc/rc.d)
And have it modprobed during bootup.

Cool

Mega Man X 06-01-2003 05:30 AM

It worked
 
Thanks again MasterC :) You are on fire today, you answered all my posts right away :) You don't have ICQ have you..ghehe...

Well, thank you very much, the above worked. I've simply type modprobe into my etc/rc.d and edited the file rc.local...

I'm still not so comfortable with all Linux directories... the day I format my box I will never remember all the places I've been before :) lol@me

markus1982 06-01-2003 05:32 AM

well you can always write something like a changelog. I recommend that anyways. I did it with the new setup of the servers ... okay it's huge > 80 KB but it was well worth the work i think (although I know what I did) :-)

MasterC 06-01-2003 05:49 AM

Definitely a good idea. You will have a record of what you need to get your box back up quickly, also for setting up multiple boxes that will save you tons of time and from having to look back and forth from box to box.

:)

And, I'm glad I could help ;)

Cool

markus1982 06-01-2003 09:03 AM

Well for setting up multiple boxes I suggest creating a base image and saving that. Restoring it at the other boxes and adjusting it. This is how I am going to set up a ISP service ...

Mega Man X 06-05-2003 05:45 AM

thanks markus1982. That's a great idea :) I've done that and could set up the same config in another box without pain

Thanks guys


All times are GMT -5. The time now is 02:16 AM.