Welcome to the new location of Alien's Wiki, sharing a single dokuwiki install with the SlackDocs Wiki.

Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
slackware:fixes [2006/04/14 14:06] alienslackware:fixes [2006/09/29 19:58] – Create a FAT32 partition. alien
Line 22: Line 22:
 ---------------- ----------------
  
 +==== ALSA OSS sequencer not loaded ====
 +
 +In Slackware 10.2, the ALSA OSS-compatible sequencer module is not loaded. This results in missing device files ''/dev/midi'' and ''/dev/sequencer''.\\
 +Edit the file ''/etc/rc.d/rc.alsa'' and look for the function <code>
 +load_alsa_oss_modules() {
 +  if ! cat /proc/modules | grep -wq snd-pcm-oss ; then
 +    if ! cat /proc/modules | grep -wq snd_pcm_oss ; then
 +      echo "Loading OSS compatibility modules for ALSA."
 +      modprobe snd-pcm-oss
 +      modprobe snd-mixer-oss
 +}</code> Add the following line after the line ''modprobe snd-mixer-oss'' in that function: <code>
 +      modprobe snd-seq-oss
 +</code> and restart ALSA.
 +
 +----------------
 +
 +==== Using Samba without installing CUPS ====
 +
 +In Slackware, CUPS is available as the default printing solution, while the old lprNG remains in the "''/pasture''" directory. Some people still prefer the trusted lpr/lpd style of printing and do not install CUPS. However, the Samba package is compiled against the CUPS libraries. Although the necessary CUPS libraries are always installed with the //aaa_elflibs// package, Samba still periodically complains loudly in the ''/var/log/messages'' logfile about the absent CUPS server: <file>
 +smbd[....]: Unable to connect to CUPS server localhost - Connection refused
 +</file>
 +The solution (if you don't need a printing facility in Samba) is to disable printing completely. This is what you need to add to the **''[Global]''** section of your ''/etc/samba/smb.conf'' file: <code>
 +load printers = no
 +printing = bsd
 +printcap name = /dev/null
 +</code>
 +
 +----------------
 +
 +==== Where is mkfs.vfat? ====
 +
 +FAT32 (also known as vfat) partitions are commonly used on USB sticks, and they are also quite useful when you have a dual-boot system with Windows on a NTFS partition on the "other side", and want a shared partition where both OS-es can write files.\\
 +Now, where did that "''mkfs.vfat''" command go, that seems to be available on so many other Linux distributions and is mentioned in lots of Google search results when you try to find out how to format your partition as FAT32 instead of FAT16?
 +
 +The ''mkdosfs'' command aka the ''mkfs.msdos'' command (they're the same command, one is symlinked to the other) which by default creates FAT16 ("//DOS//") partitions, can create these FAT32 partitions as well!\\ Run it with the **''-F32''** switch: <code>
 +mkfs.msdos -F32 /dev/<devicename>
 +</code>
 Fixes for annoyances in Slackware ()
SlackDocs