My Slaxperience

April 12, 2006 on 9:18 pm | In Linux, Distributions |

I have been using Slackware 10.2 for a week now, and I have to say I love it. I have no regrets - every day I like Slackware more and more. Slackware, along with Gentoo and possibly Debian, is considered to be one of the most difficult distros out there, and is the ultimate target for every newbie. I have always thought: The day I use Slackware, I can consider myself adept at using Linux. That day has come.

Let me start by describing the installation, where this experience began. I had already downloaded the 10.2 isos from LQ ISOs, so I burned those to disk and inserted the first disc into my laptop. Here are its (main) specifications:

Compaq Presario R3000T Dedicated Graphics
3.0 Ghz Pentium 4
1 GB RAM
128 MB ATI MOBILITY Radeon 9600
1280×800 resolution
ATI Technologies Inc IXP150 AC’97 Audio Controller (soundcard)
Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) (NIC)

The installation went well. I installed quite a lot of packages, I included X and KDE (a little ‘mistake’), and once that was over I rebooted. The system came up, and I booted into root. I created another user, switched over to that account, and ran ’startx’. KDE 3.4 was looking good!

But I wanted a bit more. So, I tried accessing the internet - that was a no go. There was something wrong with my ethernet network card and it just wasn’t allowing me to go online. I tried running ‘ifconfig up eth0′ to start it, but that still didn’t work. Looking back on what I did, I realise that I should have tried setting the IP address, subnet mask and DNS addresses (in resolv.conf) manually!

Out of frustration, I started up my desktop and shot off an email to Ray - a seasoned Slackware user - with the outputs of ‘lspci’, ‘ifconfig’ and ‘dmesg’ attached. I then shut down the laptop, and waited for his reply. When it came (not long after), he suggested I try ‘dhcpcd eth0′ because it appeared that dhcpcd was not running - and to add a line to rc.inet1.conf to make dhcpcd start on boot. So, I booted the laptop and was just about to test out Ray’s suggestion when I realised that the blasted network card had decided to work, and that I could now browse the internet. Ah well, at least I’ve learned something!

Pleased that I could now access the internet, I popped over to Linux Packages and downloaded the latest version of nano, which came as a tgz file. Being a Slackware newbie, I did what most other Linux users in my situation might have done - that’s right, I tried to unpack it! Having run a ‘tar xzvf nano*’, and attempting to chmod a+x and run the installer script, I figured out that something was wrong. It wouldn’t install properly!

I got bored of trying to install nano and went over to swaret. I had heard a lot about swaret, so I was eager to try it. Having come from a Debian-based background, I thought swaret was like apt-get, a package manager - which it isn’t, and I learned that the hard way. What it does excellently though is keep your system up to date. Anyway, back to my story. So I downloaded the swaret tgz and reflected on the fact that I would still be stuck if I tried to install it. I took a peek at the FAQ and discovered the wonders of the ‘installpkg’ command from there. I contentedly returned to my terminal window and ran ‘installpkg nano*’ and ‘installpkg swaret*’. Slackware was already winning me over.

Ray had kindly supplied some hints as well:

I always use Swaret. Basically, my steps are:
* install Slack with no gui but with xorg
* do “links www.linuxpackages.net” and grab nano (for fixing
/etc/swaret.conf.new)
*change the swaret settings to “current” from “9.1″ and do “updatedb
&& swaret -update && swaret –upgrade -a”
* go to www.alsa-project.org and grab the latest drivers (swaret
updates alsa but doesn’t get it working and I prefer to hand build
them)
* do “swaret –install qt, swaret –install kdebase, swaret –install
kdelibs and then grab the rest of it [swaret –install kde]
* go to www.linuxant.com and get hold of my wireless drivers - after
having ndiswrapper randomly screw up and fail to install a few too
many times, I got fed up and went to Linuxant, I always have success
with them!
* then I go and get mplayer and the codecs and then get all my Firefox
extensions and plugins from inside KDE

I had already installed X.org and KDE on top, and I didn’t really want to reinstall Slackware, so I moved on to the next step - configuring swaret. With Ray’s advice, that was fairly easy - simply altering /etc/swaret.conf. Then I ran all the commands he had supplied - including the KDE ones. When I rebooted the computer once all this was done (I left it overnight - they are large downloads), I was greeted by KDE 3.5.2 on starting X; brilliant!

However, I had a problem. Since the KDE upgrade, artsd crashed with a signal 11. Had I reread Ray’s first email, I would have saved him a response. Why:


* go to www.alsa-project.org and grab the latest drivers (swaret
updates alsa but doesn’t get it working and I prefer to hand build
them)

He replied, explaining the above a bit more (it is only upon writing this post that I have realised he actually answered my problem in his first email), and also giving me a few more tips. Following the instructions on the alsa website, I managed to set it up.

Now that I had the core of the OS set up, I wanted to move on to another issue - my graphics driver. I have an ATI graphics card, and in the Linux world ATI cards are renowned for being pains in the neck to configure correctly. I was unperturbed by this thought, and downloaded the ATI driver to give it my best shot. I tried no less than four times - and failed every single one of them - to set it up. It was hopeless. My card just wasn’t going to work, and I was going to have to get used to running at 1024×768 on a 1280×800 screen. Imagine what DVDs must look like ;)

I needed a firewall too. I was thinking of going for Firestarter or guarddog, but they ended up being problematic. Then Ray told me to search his bookmarks for a premade iptables script - and I found it. It works very well. Here you go: firewall.

I was tempted to install MPlayer, but I couldn’t really be bothered so I stuck with NoAtun instead. I also downloaded VLC a bit later! I got w32codecs from the MPlayer site, and I also downloaded a couple of libraries and applications from Linux Packages. It’s a great resource! I was surprised to see that even applications as large as the latest release of OpenOffice.org were available from Linux Packages as a single tgz file. Ray also threw in a hint of using ‘pkgtool’ - which you can use to install all the packages in a directory instead of having to install each one individually with ‘installpkg’.

I’m into penetration testing, so (naturally) I wanted to install some security tools. nmap, nessus, hping, metasploit, ipsorcery, nikto, hydra, ethereal, dsniff and ettercap were top on my list. I’m glad to say I installed most of them, whether from source or from tgz files, but there are a couple I’ve had some trouble with (especially dsniff). If worst comes to worst, I’ll set up a dual-boot with a distro I know they work on, but I know I’ll be able to get them going in the end. Just give it time :P

I still get an artsd crash when I start the computer, but then I load up konsole, type ‘alsamixer’, turn up and switch on the inputs, and my audio works like a charm.

Thanks Patrick for this great distro! (And Ray for your help!) I’ve found that, with Slackware, there’s always something new to learn, and another feat to accomplish. This makes it even more fun than the rest ;)

16 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Here’s another bit of help:
    open a terminal, set your alsamixer settings and then exit alsamixer. Do alsactl store and that will hold the settings. Something LQ taught me a long time ago, but I only needed when in Slack.

    Oh, and you may need to mute the “headphone jack sense” and possibly the “line jack sense” in alsamixer or you won’t be able to hear anything. Totally intuitive, isn’t it :)
    For quite some time, I considered Slackware to be the “holy grail” of Linux - if i could install and use Slackware i would truly be a Linux user. Having used it for a while and seeing many experienced Linux users using Suse, Fedora, Mandriva, etc i realise that that was a bit misguided. But still, I can’t go back to using the more gui driven distros.

    Now that my latest copy of Linux Format has the latest Gentoo on it and now i sort of know what I did wrong, I may retry it.

    I believe that the only way to get the ATi drivers to work is to do a kernel recompile or to install the 2.6.x kernel and recompile it. But I really can’t be bothered to do it :)

    Comment by ray — April 13, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.1 on Linux Linux

  2. Thanks Ray!

    Totally intuitive, isn’t it :)

    Lol, if they had made it any clearer I would probably have been confused :S

    I like SUSE a lot, but there’s something about Slackware which isn’t like the other distros. I’m going to set up a Slackware webserver and a SUSE one and run some tests against them both.. Just out of curiosity.

    Is there a newer Gentoo than the one I tried? I gave 2006.0 a go IIRC. Can’t buy Linux Format here, so I’ll have to wait for about a week until I can get my next copy (when I return to the UK).

    I really think I should try to get the ATI driver working as well. But I can’t be bothered to recompile a kernel either.. Maybe when I retry Gentoo I’ll see if it works! After all, some LQ members DID reply to my Gentoo thread and I completely forgot about it because I installed another distro over it.. :eek: At least their posts taught me something :)
    Thanks for the help Ray - the more tips the better :P

    Comment by J_K9 — April 14, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.1 on Windows Windows XP

  3. I like SUSE a lot, but there’s something about Slackware which isn’t like the other distros.

    I couldn’t agree more. I think that after using Slackware (at least, this applies to me) it is really hard to go back to a distro that does so many things automatically. I feel somehow crippled by using even RPMs. This isn’t, I hasten to add, a snobbery on my part, it’s just that Slack works like me - nothing too automatic, slightly awkward, fun to know :)
    The ATi driver is a pain. I remember when I first installed the Nvidia driver on my first RH8 install, it went amazingly - there was one problem encountered and that was purely my fault. I didn’t RTFM.

    The Gentoo I have is 2006.0. I tried the live cd install (a la Knoppix) and encountered problems. To be perfectly honest, the text/manual install went so much better and I understood much more about what I was doing every step of the way.

    I think that the Slack install has spoiled me for GUI installs :D

    Comment by ray — April 15, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.1 on Linux Linux

  4. Lol.. I don’t really want to muck up my Slackware installation, but running at an odd resolution affects your eyes after a while! I might try to compile a 2.6 kernel and install the ATI driver, although I can really see myself screwing it up..

    Ah well, if worst comes to worst, I’ll reinstall Slackware. Hopefully I shouldn’t have a problem - as long as I stick to TFM ;)
    If I give Gentoo another go, I know I won’t be using the GUI install. The text mode installation is what Gentoo is famed for, after all! Ok, I won’t be compiling each and every package separately - I’ll be doing a Stage 3 install, but still.. Plus, the text based installation is good fun :D

    Comment by J_K9 — April 16, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.1 on Windows Windows XP

  5. The best thing about the text install is that it really holds your hand throughout. All the options that they make available to you (you can stray from the path if you want to :)) are thoroughly explained. This is the strength of the install IMO. The GUI install just doesn’t give you that.

    No other distro, AFAIK, does this - once it’s up and running it is indistuingishable from anything similar, but the control over the install is pretty awesome.

    So, Slackware for a speedy install, Gentoo for a detailed install.

    Comment by ray — April 16, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.1 on Linux Linux

  6. I’m going to dump SUSE from my laptop. Too many quirks and issues… Maybe Slackware will be ideal for it, or maybe Debian.

    I would go with Debian if I had an installation media or I could get a DVD drive in my laptop. But I haven’t got one yet.

    Slackware’s initial configuration is always a painful procedure. It’s all well and good manually editing config files, but it starts aching after a while. ;) However, once it get it up and running it pretty much works as you want. The other biggest problem I faced before with Slackware was having to recompile the kernel to include certain drivers for my hardware. It’s always so. Slackware stock kernel is not as comprehensively configured and compiled as a Debian stock kernel.

    I’m still thinking whether to install Slackware on my laptop or wait till I get a DVD drive and install DesktopBSD or Debian. Either way, I think SUSE is on its way out with its problems of having only to configure with YaST or not at all…

    Comment by hari — April 30, 2006 #
    Using Mozilla Firefox Mozilla Firefox 3.0a1

  7. And there I was thinking that choosing a distro was relitivly easy!

    Comment by Gunny — July 17, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  8. Lol!

    It is… That’s where LDC comes in! ;) I love Slackware, but Ubuntu is also very good. However, I now consider myself a Slacker for life :D

    Comment by J_K9 — July 17, 2006 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.4 on Windows Windows XP

  9. for the crown. I thought to dine names. other things

    Comment by gostayfreeib — February 22, 2008 #
    Using Mozilla Firefox Mozilla Firefox 1.5.0.7 on Windows Windows XP

  10. Buy fioricet online without a prescription….

    Buy fioricet online that ships to missouri. Buy fioricet online without a prescription….

    Trackback by Buy fioricet online that ships to missouri. — February 26, 2008 #
    Using Unknown browser

  11. Codeine addiction symptoms….

    Cheap codeine. Tylenol with codeine elixir dosing. Codeine….

    Trackback by Codeine. — April 19, 2008 #
    Using Unknown browser

  12. Webresults fioricet….

    Cheapest fioricet….

    Trackback by Fioricet. — May 30, 2008 #
    Using Unknown browser

  13. Soma….

    Generic soma. Soma addiction and lying. Buy cheap soma. Cheap soma. Drug soma. The strokes is this it soma lyrics free….

    Trackback by Soma online sales. — May 30, 2008 #
    Using Unknown browser

  14. Buy movie tickets online kingston ontario….

    Tickets online. Nhlhockey buy amp sell tickets online. Online tickets. Bus project drive tickets online. Buy bus tickets online. Cheap adi online classes for tickets. Where can i buy cheap nba tickets online….

    Trackback by Vrs online tickets preise. — June 7, 2008 #
    Using Unknown browser

  15. play united uk online…

    regional defendants belching oppose …

    Trackback by play united uk online — July 19, 2008 #
    Using Internet Explorer Internet Explorer 5.5 on Windows Windows 2000

  16. nerladdning holdem poker…

    connectedness ampoule disjunct …

    Trackback by nerladdning holdem poker — July 20, 2008 #
    Using Internet Explorer Internet Explorer 5.5 on Windows Windows 2000

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Powered by WordPress with Pool theme.
Entries and comments feeds. Valid XHTML and CSS. ^Top^
0.635 seconds.

Personal Loans - Loans - Internet Marketing - Credit Card Consolidation