-->
Previous | Table of Contents | Next |
For the most part, installation of Linux from the accompanying CD-ROMs is a pretty straightforward proposition, and you shouldnt have many problems. However, there may be some cases when you run into problems when you reboot the Linux system after installation. These problems may include:
Now that youve got Linux basically installed and running, you can take the time to set up some system peripherals. These include printers, sound cards, and (for laptop users) PCMCIA devices.
When you installed Slackware, you were asked about the location of your printer. This information was translated into the UNIX equivalent; a printer on the first parallel port is assigned a device name of /dev/lp0. Similarly, if youre using a serial printer (which, thank goodness, are getting rarer and rarer), it will probably be assigned a device name of /dev/ttyS1.
This simple configuration means that you can immediately print ASCII characters, with the Linux system treating your printer like a simple line printer. Printing is actually a more involved process than you might think. Well cover printing in Chapter 4, but you should be aware right now that printing in Linux involves the following steps:
Obviously, youll want to make sure that /etc/printcap contains correct information about your printer. When you look at it in a text editor like elvis or emacs, youll see that all the lines are commented out with # characters. Most popular printers are listed in this file (such as HP LaserJets), and if you uncomment out the lines specific to your printer, you should be able to use it.
Its important to get this information correct, because Linux printers that arent configured properly have a tendency to suffer from the staircase effect, where lines are staggered at the beginning:
We hate the staircase effect. It makes our documents look really stupid. And it makes it hard for us to do our work properly. In fact, we find that we don't print things out when our printer is misconfigured.
More information about printing in Linux can be found on the first CD-ROM, in the PRINTING-HOWTO.
As installed, Slackware includes no support for the sound component of sound boards. Yet many of you installed kernels that supported sound boards, like the sbpcd kernel used for systems with a CD-ROM attached to the sound board. What gives?
When you install one of these kernels, youre actually making sure that the CD-ROM attached to the sound board will work, not the sound board itself. To actually use one of these sound boards, youll need to recompile a kernel that supports a sound board.
Why would you do this? Well, maybe youre a dedicated Internet surfer and you want to be able to use the RealAudio streaming-audio player on your machine (yes, there is a Linux version; check out http://www.realaudio.com). Or maybe youre a dedicated gamesperson and you want to experience the audio gore of DOOM. Or maybe you want to play musical CDs using some of the tools we discuss in Chapter 4.
To add sound support, youll want to recompile a Linux kernel specific to your needs, a process we explained earlier in the section entitled Recompiling a Kernel. In step 2 of that process, youll be asked to specify components that youll need. There will be a line in that process requiring a positive response from you:
Sound card support (CONFIG_SOUND) [M/n/y/?]
Youll answer y (for yes).
After that process is completed, another configuration script will be run, going through a list of sound cards and asking you to specify your sound card. The questions are very specific; youll be asked about every sound board listed in Chapter 1, so be patient and wait for your sound board to be listed.
WARNING: Be careful about sound cards that are advertised as being compatible with popular sound cards, such as the SoundBlaster from Creative Labs. Compatibility can mean two different things: One level of compatibility means that the hardware is exactly the same as a popular model, while the other means that a computer can be tricked, usually with special drivers, to think that its using a clone instead of the popular model. In the second case, these special drivers run under DOS or Windows and will be worthless under Linux.
After saying yes to a specific sound card, you may be asked about your sound card and where its actually found on the computer system, meaning the I/O address, IRQ, and DMA. (If you dont know this, you better start reading the documentation.) You may also be asked to supply a file used to initialize the card; this information will be incorporated into the kernel. These files should be found on installation diskettes that ship with your sound card.
Previous | Table of Contents | Next |