[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
howtos:misc:biffs_slackware_tips [2018/03/04 22:49 (UTC)] – created bifferos | howtos:misc:biffs_slackware_tips [2018/03/04 23:47 (UTC)] – [USB] bifferos | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Biff's Slackware Tips for Noobs ====== | ====== Biff's Slackware Tips for Noobs ====== | ||
- | ==== Introduction ==== | + | ===== Introduction |
I was going to call this page ' | I was going to call this page ' | ||
- | ==== Booting the Installer ==== | + | ===== Booting the Installer |
=== 1) How much memory does Slackware require? === | === 1) How much memory does Slackware require? === | ||
Line 13: | Line 13: | ||
=== 2) The installer just dropped me into a shell. | === 2) The installer just dropped me into a shell. | ||
- | You need to create a partition on your hard disk before continuing. | + | You need to create a partition on your hard disk before continuing. |
< | < | ||
Line 46: | Line 46: | ||
Fluxbox. | Fluxbox. | ||
- | === Do I need to create a rescue disk === | + | === Do I need to create a rescue disk? === |
No. If you mess up your bootloader you can still recover your system using the install media, so there' | No. If you mess up your bootloader you can still recover your system using the install media, so there' | ||
- | ==== First Boot After Install ==== | + | ===== First Boot After Install |
- | === How do I stop Slackware taking 2 minutes to boot === | + | === How do I stop Slackware taking 2 minutes to boot? === |
If you are using LILO, edit / | If you are using LILO, edit / | ||
Line 70: | Line 70: | ||
=== How do I add a user? === | === How do I add a user? === | ||
- | Adding a user is probably the first thing you need to do on a newly installed Slackware system because you don't want to do everything as root. This isn't because you give a stuff about security, it's because lots of program | + | Adding a user is probably the first thing you need to do on a newly installed Slackware system because you don't want to do everything as root. This isn't because you give a stuff about security, it's because lots of programs |
- | Run the ' | + | Run the ' |
< | < | ||
Line 80: | Line 80: | ||
Keep hitting the ' | Keep hitting the ' | ||
+ | ===== Xorg ===== | ||
+ | === There' | ||
+ | |||
+ | Once upon a time X had to be configured before it worked in Slackware. | ||
+ | |||
+ | === My keyboard doesn' | ||
+ | |||
+ | That bit I said about X now detecting almost all your settings? | ||
+ | |||
+ | < | ||
+ | setxkbmap < | ||
+ | </ | ||
+ | |||
+ | Where < | ||
+ | |||
+ | === Your Window manager recommendation sucks. | ||
+ | |||
+ | You just need to change one link in / | ||
+ | |||
+ | * Login as root | ||
+ | * cd / | ||
+ | * ls # to look at the WMs available. | ||
+ | * rm xinitrc | ||
+ | * ln xinitrc.< | ||
+ | |||
+ | === But I want X to start on boot, how? === | ||
+ | |||
+ | Slackware already has a [[slackware: | ||
+ | |||
+ | ===== Networking ===== | ||
+ | |||
+ | === How can I see what's listening on my computer' | ||
+ | |||
+ | < | ||
+ | # netstat -an | less | ||
+ | </ | ||
+ | |||
+ | === I changed my network card and now the new one comes up as eth1 instead of eth0 === | ||
+ | |||
+ | < | ||
+ | # rm / | ||
+ | </ | ||
+ | (reboot) | ||
+ | |||
+ | ===== Slackware programs ===== | ||
+ | |||
+ | === How do I find which packages have been installed? === | ||
+ | |||
+ | < | ||
+ | # ls / | ||
+ | </ | ||
+ | |||
+ | === How do I find out what libraries a program uses? === | ||
+ | |||
+ | < | ||
+ | # ldd <exe path> | ||
+ | </ | ||
+ | |||
+ | === How do I find all the libraries on my system? === | ||
+ | |||
+ | (as root) | ||
+ | < | ||
+ | # ldconfig -p | ||
+ | </ | ||
+ | |||
+ | === How do I find which Slackware package contains file XXX so I can install it on my system? === | ||
+ | |||
+ | < | ||
+ | # wget http:// | ||
+ | # less MANIFEST.bz2 | ||
+ | </ | ||
+ | (search for the file) | ||
+ | |||
+ | ===== USB ===== | ||
+ | |||
+ | === I can only access my USB device as root === | ||
+ | |||
+ | Create a new file in / | ||
+ | |||
+ | < | ||
+ | ATTRS{idVendor}=="< | ||
+ | </ | ||
+ | |||
+ | For < | ||
+ | |||
+ | Worked example: | ||
+ | |||
+ | < | ||
+ | # lsusb | ||
+ | Bus 005 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard | ||
+ | </ | ||
+ | |||
+ | / | ||
+ | < | ||
+ | ATTRS{idVendor}==" | ||
+ | </ | ||
+ | |||
+ | This will allow any users to access that device, which on a multi-user system could be considered insecure but will get you working. | ||
+ | |||
+ | |||
+ | |||
+ | ===== CD/DVD-ROM drives ===== | ||
+ | |||
+ | === How do I write a CD/DVD, I don't understand cdrecord? === | ||
+ | |||
+ | You're not the only one. To write the image myimage.iso, | ||
+ | |||
+ | < | ||
+ | # growisofs -Z / | ||
+ | </ | ||
+ | |||
+ | You may need to be root to run this. | ||