Sunday, 30 October 2011

Linux light - SliTaz GNU/Linux and SliTaz-Aircrack-ng

Once upon a time there was DSL (Damn Small Linux) which provided a full workable system in a 50 MB image. I used to have it on a small partition for repair and rescue tasks on my desktops. It was never or at least very rarely needed as I recall, but I liked the pre-set radio stations in XMMS and the backgrounds and conky config in DSL, so I ended up running it more and more over Zenwalk 2.6, which at the time was using a very half-baked early XFCE 4.4, if only to listen to internet radio on a geeky minimalistic looking box.

DSL is no more and has been superceded by TinyCore, which is only 10 MB in size. If that is too minimal for you there is another option, SliTaz GNU/Linux. It is a small distribution based in Switzerland that at exactly 30 MB in size sits somewhere in the middle and comes in French and English by default. You choose your language after booting. It´s been around for a while, I had a look at their 1.0 release in 2008 and was impressed. It is mainly intended as a live system but can be installed to hard drive. For being this small it includes a load of functionality, the Lighttpd web server for instance which makes it perfect for loading from USB stick or CD and running a website from memory.

SliTaz even has their own administration tools, a control center previously called Taz Panel and now Control Box, and a package manager. No prizes for guessing that the package format is .taz. If this sounds different it will also not surprise you that SliTaz is as an independent distribution not directly based on any other. The project is certainly one of the more innovating ones in the linux universe and has thus deserved their spot at the table.

I'm normally not fond of this because you could just go there yourself, but in this case I'm going to quote from the web site, because it says it all, neatly condensed in a nutshell:

--SliTaz GNU/Linux is a mini distribution and live CD designed to run speedily on hardware with 256 MB of RAM. SliTaz uses BusyBox, a recent Linux kernel and GNU software. It boots with Syslinux and provides more than 200 Linux commands, the lighttpd web server, SQLite database, rescue tools, IRC client, SSH client and server powered by Dropbear, X window system, JWM (Joe's Window Manager), gFTP, Geany IDE, Mozilla Firefox, AlsaPlayer, GParted, a sound file editor and more. The SliTaz ISO image fits on a less than 30 MB media and takes just 80 MB of hard disk space.--

This release uses LXDE by the way, so newly found minimalists who may have moved from their main distribution to another spin like Lubuntu or Fedora LXDE should not have too many problems. SliTaz is only available for the i386 architecture which in theory should make it well suited even for those really old machines in your basement or cupboard, and it runs entirely from RAM when not installed. I downloaded the latest stable image slitaz-3.0.iso which comes with a 2.6.30.6 kernel. This means it is quite old by today's standards, and indeed it was released as far back as March 2010.
Unfortunately I found the project seems to be having some trouble lately. Earlier SliTaz versions booted up and worked well for me, but 3.0 just landed me at a blank screen after the initial boot sequence on my Acer laptop, and acpi=off which usually helps in those situations also did not work as the kernel option is not available.
SliTaz is a small project but very laudably with documentation in many major languages. Going to the German wiki though showed that it has not been updated in some time and the page is looking for a new maintainer. Then today the entire site at www.slitaz.org is down. This doesn't bode well and I hope it's just a passing occurrence. Update: Site is back up as of 01/11/2001.
The SliTaz project besides official releases also provides a Cooking channel, in which similar to Mandriva who I think coined this expression development takes place. Users can download development snapshots in live image format, just like the full releases. The latest Cooking image from May 2011 comes with a newer 2.6.37 kernel and Xorg 1.9.4 instead of 1.5.2. which might have worked better on my laptop. (Confirmed to run without problems on the Acer Aspire 5551.)

SliTaz boot screen
You get to choose your language and keyboard layout and a chance to pass additional options. Hitting F5 lists a short description and F6 explains the available boot options.

F5 menu
F6 - available boot options
This distribution packs an incredible punch for its small size. Using 'web' at the boot prompt allows us to update to the latest Cooker image or boot smaller (without X) or fuller images over the internet via PXE server.

Booting from PXE server
Web boot options

Although you can specify the language in the initial screen you are prompted for your desired language and keyboard layout again after the short boot process, and are then logged in straight to the desktop as an unprivileged user 'tux'. Running any of the system utilities requires the root password, which by default is also 'root', but can be set to something different via cheat codes in the beginning, just as the name of the unprivileged user can be changed like this from the outset.

The SliTaz-3.0 desktop

Next to access to your home folder and a text editor there's an excellent introduction on the desktop on how to accomplish most things that could be of more immediate interest, like configuring the network, with links to more in-depth information and the release notes. This should be enough to get most users started even if not familiar with the system.

Applications and Tools
You'll find a plethora of small applications in the menu and I won't list them all here, but the listing is a bit deceptive. In no particular order there's an IRC program, Gparted, Burnbox for burning CD's, a paint program and several media players. Clicking on the Twitter icon revealed it's just a link to their main page and not an actual client. Trying to Watch Video started the package manager which, after authenticating, downloaded Mplayer including codecs, Flash and the gecko-plugin for Firefox. Similarly, the Write Documents entry tried to download Abiword. Osmo is your personal time manager, ISOmaster is included as well as Asunder for CD ripping, an audio editor, the Transmission Bittorrent client and more. Tools to install to hard drive or to USB can also be found in the menu. A local port scanner is provided for your convenience.
On the panel you'll find links to a terminal (xterm), Midori as the browser of choice (which starts up incredibly fast and has a custom SliTaz home page with Wikipedia and Google search boxes), and as usual in LXDE the PCman File Manager. To the right you find volume, network, battery and clock applets on the panel and shortcuts to the control center and the package manager, making access to important administration tools a breeze.
The Control Box lets you set such details as time and language and administer users in a graphical environment, allows to change timeout and color of the Grub boot loader if installed to hard drive, administer login details (default user, auto login yes/no) and window managers (openbox, jwm) and more interestingly also provides an interface from where you can load modules, check which daemons are running and even check a partitions file system.
In Netbox Manager you can edit your connections and add scripts, configure an IP address and set a host name.
All that in 30 MB, but there's more. The original image came with 202 packages installed. Downloading repository data only took around 10 seconds (Recharge lists as SliTaz calls it), and the package manager then revealed 2293 packages in the repositories. This may not be a huge number, but it may well be enough. Xfce is available for those who want a more complete desktop environment, but no GNOME or KDE. Abiword and Gnumeric are encouraged in the spirit of keeping it light weight, but there's a script in the repo that downloads OpenOffice (get-OpenOffice3). Spell checkers and the Apache web server can be found, several media players and the necessary codecs, tools like bootchart and wireless drivers like the broadcom-wl package of interest at least to me. Even Claws-Mail with plenty of additional plugins is here. Proprietary software like Flash and Opera and larger downloads like Eclipse can be added via get-scripts. More such scripts that will fetch non-free firmware are in /usr/bin, for example for Ralink USB devices.

I'm getting the impression that most common usage scenarios are actually covered, despite the relatively small numbers. If that is not enough there is Tazwok, a command line tool to configure and compile packages from source. It can also create packages ready to be installed with the SliTaz package manager which reminds me of several Slackware derivatives and their custom tools to make installing from source easier for their users.
The last tool in SliTaz I would like to mention is Tazlito. Tazlito can generate a distribution, read your personal spin-off,  from a list of packages that have been downloaded into a directory. It can also extract a LiveCD and then rebuild the ISO, but you already have ISOmaster for that anyway. The provided image is a hybrid that can also be extracted and run from USB.

SliTaz Aircrack-ng
With Slitaz Aircrack-ng there's also at least one specialist spin-off that even has its own forum. Basically it does what it says on the tin and contains wireless drivers patched for injection and other related tools. You can read a short description here. At 54.7 MB it is still a relatively small image. If all that you want is do some penetration testing of your networks this might be good enough and you won't need to download the full Backtrack or Network Security Toolkit distributions, which both are rather heavy at nearly 2 GB and 1.3 GB respectively.
Unfortunately it's rather old now and no longer supported, but there are good tips and hints on the site. If you've got some older hardware and a card capable of passive mode it can still do the trick. Read more about what Aircrack-ng suite does here and here if you just had no idea what all this was about. Would be nice if somebody put out an updated spin with Aircrack 1.1 and newer kernel.


Conclusion
I would not recommend SliTaz to Linux newcomers, but it's an innovative and unique little distribution whose strength lies in its small size, low resource usage and ability to run entirely from RAM, and in its general versatility and flexibility. It appeals to the part in me that likes to start with a minimal base, but with the X server included if possible, and build up a light system from there with minimal dependencies.
It also is great for distributed computing and booting a network of machines that are using the same image via PXE from a central server, all running in memory, with a complete flush just a reboot away. Seems ideal if somebody took the time to customize it for internet cafe's for example. There's a lot to like about SliTaz and I hope it isn't going downhill fast. It's also extremely fast, installed or live, and sure to please those speed freaks among us who can't stand any lag on their desktop.

Check out some screenshots at http://www.slitaz.org/artwork/screenshots.html once the site is back up.
For further reading and information on installing to hard drive which I did not cover see Jesse's excellent review of Cooking from June 2011 on Distrowatch.

6 comments:

  1. LXDE is hardly "minimalistic", it's a whole DE. if i remember correctly slitaz used to use openbox as default, which made more sense, considering.

    ReplyDelete
  2. I have a lot of fondness for SliTaz, though to be honest I rarely use it. I installed it to an old pc (K62 cpu) and it runs ok on that, though less well than e.g. Windows 2000. I have to agree LXDE is quite a step back from their openbox aesthetic. One of the things I liked about SliTaz was the artwork and the whole, minimalistic look and feel, which set it well apart from the usual suspects. Some really great, retro-looking wallpapers and stylings.

    ReplyDelete
  3. I've used SliTaz recently whenever I need to boot from a CD, because it's FAST. I like the whole approach. Much cleaner and more straightforward than other mini-distros I've tried.

    ReplyDelete
  4. I use Puppy Linux which runs in ram with good update support. Runs nicely off a flash drive. I have used it to delete a file or two on a neighbors win machine when nothing else would do it. Also it will see any hidden file on a windows machine. I think I will try SliTaz to increase my knowledge of Linux,

    ReplyDelete
  5. Excellent pieces. Keep posting such kind of information on your blog. I really impressed by your blog.
    Vee Eee Technologies

    ReplyDelete
  6. How to configure the network connection after installation of slitaz ?

    ReplyDelete

Please leave your comment here. Spam will be deleted.

Note: only a member of this blog may post a comment.

12.04 LTS (1) 1280x1024 (2) 14.1 (1) absolute (6) accessibility (6) ad-blocking (2) administration (2) afterstep (1) android (3) announcements (15) anonymity (5) anonymous (1) anonymous browsing (1) anti-malware (1) anti-virus (1) antiX (4) applications (1) arch (11) archbang (11) archone (1) artix (2) authentication (1) backports (1) base (1) bash (2) bittorrent (2) block-this (1) bluestar (1) bodhi (1) books (1) brave (1) brave-browser (1) browsers (8) browsing (1) bsd (4) bug (2) bugs (3) calculate (1) centos (1) certification (1) chakra (2) changelog (22) chat (1) chatzilla (1) chromebook (1) chromium (2) click (1) commodore 64 (1) ControlD (1) critique (1) crunchbang (5) crux (1) ctkarch (1) cyber war (1) debian (29) desktop (62) devuan (6) digital certificates (1) digital memories (1) distributions (75) DNS (1) documentaries (1) documentation (2) dr. web (1) drivers (1) duo (1) e17 (1) email (1) encryption (3) enlightenment (1) events (1) exit nodes (1) ext4 (1) fake (1) fallout (1) fallout 4 (1) fedora (6) file server (2) file systems (1) firefox (3) flash (1) flush (1) fluxbox (7) fluxflux (1) FPS (2) free software (3) frugalware (1) FSF (1) ftp (2) furybsd (1) fusion (1) fvwm (1) fvwm-crystal (1) games (11) gaming (10) gentoo (3) gnome (9) gnome shell (4) gnu/linux (4) google (2) google-chrome (3) graphics (1) grml (1) gtk+ (1) hangouts (1) hardcore punk (1) hardware (3) how-to (23) humor (2) i3 (1) icewm (6) init (3) init freedom (5) interview (1) introduction (1) jibbed (1) jwm (2) kanotix (4) kde (21) KDE neon (1) kde3 (2) kernel (6) knoppix (1) kodi (2) kongoni (2) kubuntu (3) LAS (1) libtorrent-rasterbar (1) linux (20) linux light (16) Linux Mint (6) live (50) live medium (28) live system (13) liveslak (3) LMDE 4 (3) localisation (1) LTS (1) lxde (12) lxqt (1) mageia (1) mandriva (2) manjaro (1) marine life (1) mate (1) media center (6) mepis (2) mint (5) mobile (2) mobile security (1) movies (6) mozilla (3) music (1) MX Linux (1) netbook (2) netrunner (1) networking (5) news (3) nvidia (1) open source (1) openbox (15) openSUSE (4) opinion (13) other (5) overclockix (1) packages (1) pclinuxos (4) perl (1) plasma (5) poll (2) porteus (3) privacy (5) privoxy (1) programming (1) proxy (2) puppy (3) qbittorrent (1) qt (1) quick look (10) ratpoison (1) red hat (7) redcore linux (1) relax (1) release (2) rescue (3) reviews (57) rhythmbox (1) rolling (1) RPG (2) rpm (1) sabayon (5) salix (15) scientific (7) screenshots (2) scripts (3) seamonkey (1) security (4) semplice (1) server (5) shell (1) shooter (4) siduction (1) slackel (1) slackware (68) slackware 14.2 (2) slackware 15.0 (8) slackware-current (34) slax (7) slitaz (1) smart phones (2) sms (1) south africa (2) specialist (1) spoof (1) ssh (1) surfing (1) systemd (2) table mountain (1) TDE (1) tegra k1 (1) The Walking Dead (1) themes (1) tinyme (2) tips (1) tor (3) torrenting (1) torrents (1) traffic analysis (2) trinity (2) trisquel (1) TV shows (2) TWD (1) ubuntu (6) unity (2) unity linux (4) unix (1) upgrade (6) vector (2) video (4) vinux (2) virtualbsd (1) visual impairment (5) voip (1) vpn (5) VSIDO (1) wallpapers (3) window maker (4) window managers (1) windscribe (1) wireless (10) xfce (16) youtube (1) zenwalk (3) zombies (1) zoo (1)