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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
It's gonna depend on which distro you are using as to which file to edit. Slack uses rc.modules to load and unload modules. Others use /etc/modules.conf or so forth. Since you seem to use many different distros, which one are you trying to do this with?
When speeking of uncommenting a line it is speaking of removing the # (usually) in front of the module or code to load. For Example: (commented) #/sbin/modprobe emu10k1
(uncommented) /sbin/modprobe emu10k1
Using chmod changes the file permissions for any given file. Sometimes whenyou create a new user he won't hear sound, therefore you would have to set permission for him to use the applicable devices related to sound. The chmod a+w gives 'w'rite access to 'a'll. Type man chmod to get a grasp on how it works before deciding anything on it.
What is the name/brand/etc..of your sound card? That will tell you which driver you'll need to load/uncomment in the modules file. whn you know that and have the module loading, then you can worry about anything else IF it's even a problem.
Originally posted by jamaso AC 97 Audio controller ( multimedia audio controller)
Yes, that's what you need to know. The modules as I said with Slack are loaded using /etc/rc.d/rc.modules So you'll want to edit that file, scroll down to audio support, then uncomment the line dealing with the AC97 Audio Codec. Save the file and make sure you have PNP BIOS set to NO in your BIOS. That'll save you alot of sound and other hassles. When you reboot, you should see the module loading, if you get an error, it may be that it's not built as a module in the kernel. That's probably not the case though on a new install. Try that and see what happens first and go from there.
This looks stupid but how can i actually edit a file ? I already tried emacs but i guess JOE is easier ( at least it looked simpler) . I know i'm not doing my "homework" but i've got very little time to study Linux . I already wrote the /etc/rc.d/rc.modules on th editor but NOTHING happend . I'm going now to disable the PNP BIOS and return . thanks
I sort of go against the grain when editing by not using the 'standard' editors like pico and vi/vim. By far, the easiest is jed. I think you'll be surprised how much easier editing a file is using this editor. So when you edited rc.modules, which file did you uncomment and does it load on startup? It should be in some of the last ten or so startup lines. If not sure, jed your /var/log/messages file and go to the bottom and look at the last startup and see. I believe that the emu10k1 module will work for the AC97 Codec for the on-board sound.
That's great to hear you found the module in rc.modules. All you have to do is remove the # sign to make the module load on startup. When is it and what is it that you've done to get the read-only buffer? That's could be easily file permissions in /dev if you are doing this as a user and not root. Try all this as root first.
After changing to root i did manage to uncomment asyou said . Went to the EDIT and "saved as" . I got the message of the lines it wrote to the file . what next ? I tried to use xmms but no sound . thanks
Sorry about the quoting .i think i was trying to do something else. Is there a way that i can record stuff like this , to show it as quote supposing it's quite often one needs to refer to outcoming messages like it ?