LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-11-2004, 03:43 AM   #1
badmofo666
Member
 
Registered: Mar 2004
Location: Texas, USA
Distribution: Ubuntu 12 (notebook), Debian Squeeze (home server), OpenSuse 12 (desktop)
Posts: 96

Rep: Reputation: 15
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?
 
Old 08-11-2004, 06:56 AM   #2
slano
Member
 
Registered: May 2003
Distribution: slack,gentoo
Posts: 57

Rep: Reputation: 16
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
 
Old 08-11-2004, 06:43 PM   #3
badmofo666
Member
 
Registered: Mar 2004
Location: Texas, USA
Distribution: Ubuntu 12 (notebook), Debian Squeeze (home server), OpenSuse 12 (desktop)
Posts: 96

Original Poster
Rep: Reputation: 15
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?
 
Old 08-12-2004, 09:09 AM   #4
slano
Member
 
Registered: May 2003
Distribution: slack,gentoo
Posts: 57

Rep: Reputation: 16
just run this command as root
Code:
echo "modprobe snd-pcm-oss" >> /etc/rc.d/rc.local
this will add the line you need to rc.local file
 
Old 08-12-2004, 07:35 PM   #5
badmofo666
Member
 
Registered: Mar 2004
Location: Texas, USA
Distribution: Ubuntu 12 (notebook), Debian Squeeze (home server), OpenSuse 12 (desktop)
Posts: 96

Original Poster
Rep: Reputation: 15
nevermind got it to work by adding snd-pcm-oss to /etc/modules.preload.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modules loading at startup badlife69 Linux - Newbie 1 04-14-2005 11:23 AM
stop loading modules at startup..please help GSX Linux - Newbie 5 03-23-2005 11:19 AM
Loading Modules at startup - turning off hotplug? numb Slackware 47 03-21-2005 12:23 PM
loading modules at kernel startup linux_lover2005 Linux - Software 2 12-21-2004 11:43 AM
error loading modules at startup archish Slackware 7 05-01-2004 02:52 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration