-   Linux - Software (
-   -   Loading modules on startup (

badmofo666 08-11-2004 03:43 AM

Loading modules on startup
Hey, I've been having trouble with my sound in some games. But when I type "modprobe snd-pcm-oss" it works. So my question is how do I get it to do this on linux startup?

slano 08-11-2004 06:56 AM

it depends on your distribution, take a look somewhere in /etc/rc.d/rc.modules or /etc/modules.autoload, or you can put it in your /etc/rc.d/rc.local and it will run it every time you reboot you computer

badmofo666 08-11-2004 06:43 PM

ok, I'm using Mandrake 10 and I have an /etc/rc.d/rc.local. I opened it in kwrite but it's in some kind of code. How would I add it?

slano 08-12-2004 09:09 AM

just run this command as root

echo "modprobe snd-pcm-oss" >> /etc/rc.d/rc.local
this will add the line you need to rc.local file

badmofo666 08-12-2004 07:35 PM

nevermind got it to work by adding snd-pcm-oss to /etc/modules.preload.

All times are GMT -5. The time now is 04:33 PM.