The forming of a LQ.org Slackware FAQ - donations of knowledge required!
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The forming of a LQ.org Slackware FAQ - donations of knowledge required!
Well, I for one may go insane if I see another "five button mouse" thread - or a "what is X.org?" thread ... or another of the many topics that come up frequently.
unspawn has agreed to the idea of having a local FAQ in the forum - I think it would make a nice place to add some information that is asked a lot - as well as up to date information, such as installing the latest drivers for graphics cards or using the Composite extension.
If anyone else feels the same way I do - please donate your knowledge by replying to this thread with a question / answer, or even just a question - that'd be great.
Here's some:
---
No sound after install:
First, try unmuting Master and PCM in 'aslamixer'. Save this setting with 'alsactl store'. Kmix in KDE might also work for this.
If that doesn't work, maybe there are some debugging steps like seeing if modules are running ...
---
After 2.4 kernel (re)compile, ALSA sound doesn't work:
The ALSA modules were lost, reinstall the alsa-drivers package.
---
After kernel (re)compile, my ATI 3d accellerations is not working:
Reinstall the fglrx drivers.
slackware do not have enough fonts. MS fonts is recommended for better web pages display and better compatibility with windows documents. Install URW and make sure those high quality type1 fonts is ready.
-for cjk display you can get arphic, kochi and baekmuk.
1. copy the fonts to a font directory or simply put them under default x font directories under:
/usr/X11R6/lib/X11/fonts/
2.add fontpath:
edit /etc/fonts/local.conf and put your fontpath inside <dir>.....</dir>
3.go to each font directory:
/usr/X11R6/bin/mkfontscale
/usr/X11R6/bin/mkfontdir
/usr/X11R6/bin/fc-cache
4.If your locale's default font is not eye-easy. You can set the default font to other:
example,
echo gtk-font-name="Bitstream Vera Sans 11">~/.gtkrc-2.0
(it would work for gtk2 based applications)
yes yes yes, I think this is an outstanding idea. shilo's "how I do it all" post is now in excess of 300+ postings...a world of good information is contained there. Tough to sort through it all and time consuming as well to read them all. I'll do my best to incorporate a few things as well, including ppp setup options as I am forever doomed to 28.8 in these hills I live in with no hope of parole!
I think that making the F.A.Q. should be release specific commencing with 10.0 with sub-notes on previous releases if required.
Great idea. Although I don't think I could write it to make scence,
don't forget the ever popular -" I can print here, but can't print there " threads.
(I was a victum of that once!)
I wrote a kinda-how-to somwhere here on LQ on closing ports for security purposes.
(found it - 9th post on the thread) - I'm sure someone with more knowledge can spruce it up a
bit - but it might help someone. If you want, feel free to use it.
Here is anather one that gets asked once in a while - but since we are going for an
FAQ, it might be helpful - I am not sure how "all enclusive" you are going for. I
would imagine between every one here a nice book could be written.
Is this the type of thing you are looking for?
Boot into graphical mode:
Edit the file /etc/inittab
change:
Code:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
to
Code:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
Also, so you have tty2 - tty4, while in /etc/inittab:
change:
Code:
# These are the standard console login getties in multiuser mode:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
to:
Code:
# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
Save and exit /etc/inittab
Then open the file /etc/rc.d/rc.4
Here is where you select your login manager.
By default, you have 3 options, GDM, KDM, and XDM. To make your
selection, simply put the one you want first in the list.
(What it looks like by defualt)
Code:
# Try to use GNOME's gdm session manager:
if [ -x /usr/bin/gdm ]; then
exec /usr/bin/gdm -nodaemon
fi
# Not there? OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
fi
# If all you have is XDM, I guess it will have to do:
if [ -x /usr/X11R6/bin/xdm ]; then
exec /usr/X11R6/bin/xdm -nodaemon
fi
If you want KDM, instead of GDM, copy and past the KDE section above
the GDM section, so it looks like this:
Code:
# KDE first:
if [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
fi
# GDM if we have too:
if [ -x /usr/bin/gdm ]; then
exec /usr/bin/gdm -nodaemon
fi
# XDM will be our last resort:
if [ -x /usr/X11R6/bin/xdm ]; then
exec /usr/X11R6/bin/xdm -nodaemon
fi
THis is a great idea. Iwould recommend that you keep two posts, like you seem to be doing. Have the FAQ stickied and locked so that only moderators can edit it. They are really helpful. Take requests and submissions in the other.
The reason I think this would be the best route is:
1) Sometimes people right out a liittle FAQ and it is confusing.
2) If you just leave it wide open, you get a lot of posts that are irrelevant. You end up with numerous pages that need to be sifted through to get all the good stuff.
3) leaving it wide open, people are free to post confilcting advice. This leads to confusion. An example. Someone with a stock kernel wants to get their burner working. After searching a bit, they decide to try out SCSI emulation. They get everything working. They later upgrade to a 2.6.x kernel. Not thinking anything about it, they leave scsi emulation enabled. It works. They write a FAQ that says that SCSI emulation is required for burning. Someone else posts that it is not required for 2.6.x. It can get confusing for someone to follow along with. Better to just have the FAQ as a place to get a definative answer.
4) People have different methods for doing things. It can make learning difficult. An example; One person recommends "chmod -x" an rc file to make it not start at boot time. Another says "rm" the file. Both work. Better to have a FAQ that addresses similar issues with similar solutions.
Probably this is what you were gonna do anyway, but I thought I'd mention it.
I think that printing comes up a lot. A lot of people recommend changing symlinks manually. I like this, though:
A full install of Slackware comes with both lprng and CUPS. The packages conflict with each other. To get printing working properly, you need to choose one. After choosing one, remove the other and re-install the one that you chose. As an example, say you want to use CUPS. As root:
Code:
removepkg lprng
Now, change to a directory containing the CUPS .tgz file. You may not have it locally, so you may need to mount your installation CD and find it. After you are in the directory with the CUPS package:
Code:
upgradepkg --reinstall cups*.tgz
Another thing to maybe add is setting up X. There are four options available, "X -configure" (autoconfiguration), "xorgcfg" (graphical with some autodetetction), "xorgconfig" (text based without autoconfiguration), and "xorgsetup"(?). I don't remember any of them very well, but it might be nice to add a liitle write up about them, how they differ, and that not all of them work for everyone.
Here are 3 ways to setup dialout ppp on your Slackware system.
pppsetup
To run the program, make sure you are logged in as root. Then type
#pppsetup
The program will present a series of questions, to which you will feed it appropriate answers. Things like your modem device, the modem initialization string, and the ISP phone number. Some items will have a default, which you can accept in most cases.
To use your newly configured dial-out use thes commands:
#ppp-go
#ppp-off
kppp
For the users of KDE, this is a quick and easy method of starting dial-out. open kppp from the menu and click on configure then the accounts tab then New, then Manual Setup
Connection name:enter your isp account name (such as foobar.net)
Add: click on this and then enter isp phone # (1234567)
then click OK.
Click on connect. The default settings not covered here in kppp will get most people connected, you may need to tweak some settings
wvdial
Run wvdialconf to generate a configuration file containing information on your modem and ISP information. The output should look like this:
[root@blah /root]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
ttyS1<*1>: ATQ0 V1 E1 -- OK
ttyS1<*1>: ATQ0 V1 E1 Z -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS1<*1>: Modem Identifier: ATI -- 28800
ttyS1<*1>: Speed 2400: AT -- OK
ttyS1<*1>: Speed 4800: AT -- OK
ttyS1<*1>: Speed 9600: AT -- OK
ttyS1<*1>: Speed 19200: AT -- OK
ttyS1<*1>: Speed 38400: AT -- OK
ttyS1<*1>: Speed 57600: AT -- OK
ttyS1<*1>: Speed 115200: AT -- OK
ttyS1<*1>: Max speed is 115200; that should be safe.
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1 -- ATQ0 V1 E1 -- nothing.
Port Scan<*1>: S2 S3
Found a modem on /dev/ttyS1.
As you can see, wvdialconf probes your comm ports, looking for a modem, and determine the capabilities of any modems it finds.
If your output looks different, check that your modem is plugged in, turned on, and connected to a com port.
Configuring WvDial
Once you have run wvdialconf, you need to edit the /etc/wvdial.conf file to reflect the phone number to dial, and your username and password.
Open up /etc/wvdial.conf in your favorite text editor. It should look something like this:
Remove the ';' in front of the Phone, Username and Password lines
Fill in your isp # on the Phone = line.
Fill in your Username on the Username = line.
Fill in your Password on the Password = line.
Save your changes and exit out of the text editor.
Connect to the Internet
#wvdial
Assuming that you filled in your phone number, username, and password correctly, wvdial will now dial your ISP.
Disconnecting from the Internet
wvdial will not exit until the connection is terminated- you can do a Ctrl-C to terminate it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.