Slashdot Mirror


Linux Toys

Alex Moskalyuk writes "Remember those 'how-to' and 'home improvement' books that you enjoyed reading as a little kid? In the first half of the last century there was a variety of books, with names like 'Boy Mechanic' or '1,000 Projects for a Boy,' which would give a teenager a variety of projects to work on productively. Building bird houses, creatively reusing helmets from World War I, and later different projects that had to do with radio and transistors - in the pre-television age all that guaranteed some creative time for geeks (whether kids or adults) and allowed them pick up skills, necessary perhaps in real life." Alex reviews below a book that fills a similar niche for the present day, outlining all 13 projects in Linux Toys: 13 Cool Projects for Home, Office and Entertainment. Whether you'd consider all of the projects toys is up to you. Linux Toys: 13 Cool Projects for Home, Office and Entertainment author Chris Negus. Chuck Wolber pages 360 publisher John Wiley & Sons rating 9/10 reviewer Alex Moskalyuk ISBN 0764525085 summary Variety of Linux-based projects for home, business or just for fun

Things changed in 21st century, so what's a geek to do? As for the household products, you can probably always get stuff cheaper at Wal-Mart than build it yourself. Radio-related projects just don't seem that much fun anymore, since there's little sense of discovery.

Linux Toys is just the book that fills that void.

What's covered Chris Negus (author of the Red Hat Linux Bible) and Chuck Wolber (from Tacoma LUG) came up with 13 different projects that one can do at home. All of them require a PC running Linux (the authors use and recommend Red Hat Linux 9, since that's the environment where the projects have been tested) and a variety of hardware (including none besides the PC), depending on which project you decide to go with. What are the projects? The entire listing is at the book's Web site, but here's a list of all thirteen with short descriptions of what's accomplished in the end (not necessarily in the same order as the chapters):
  1. Digital Picture Frame: excellent endeavor if you have an old useless laptop with nice LCD screen lying around. The book has detailed step-by-step guide with pictures on how to turn an old laptop into a fancy picture frame playing a slideshow of digital images stored on the hard drive locally or uploaded from network (in case the old laptop has a network card and you decide to keep it when assembling the picture frame). By the way, these things do cost a lot commercially, while P200 and lower laptops are virtually free.
  2. Arcade Game Player: how to turn an old computer with a good monitor into the arcade game player running XMame. Your house guests can then use joystick to play Donkey Kong, Pac-Man, Asteroids at your next Blast from the Past party.
  3. Digital Answering Machine: using the Red Hat Linux box as an answering machine that listens for incoming telephone calls (via vgetty), converts the voice messages into digitally compressed sound files and notifies the receiver about new voice message via e-mail.
  4. Home Music System: have an old PC with fairly large hard drive and some good home entertainment speakers? This project allows the reader to build a jukebox used to play Ogg Vorbis files. The authors use ltJukebox and freedb for music management and information retrieval. The ltJukebox software (which comes with the book's CD) automatically rips the music CDs into .ogg files, though digitizing your collection (if you haven't done it yet) might take a while. After that, however, a standalone computer nicely tucked somewhere in the room behind the speaker system can provide for hours of music. And if you plug it into the network, you'll have the ability to change settings and playlists via telnet.
  5. Home Video Archive: ever wanted to digitize your VHS collection? This chapter uses ffmpeg and nvrec for capturing and xawtv for adjusting television input. The authors then use Hauppauge WinTV Go and WinTV Theater TV capture card and then record the videos off the TV input into an AVI file. The resulting file is then burned to a CD/DVD (still using Linux tools) as well as into the VCD format that's recognized by most DVD players.
  6. Personal Video Recorder: ever dreamed of cutting TiVo's market share with your own devices? Well, perhaps, maybe within just one market -- your house. The authors use the same nvrec utility to record the TV input, XmlTV and WebVCPlus for downloading the data on television shows and using Web interface to choose the ones you would like to record. Unlike TiVo though, this home-built digital PVR can only play the recorded shows on a Linux PC in AVI format, but if you followed the previous project, you can burn the resulting file into VCD format.
  7. Providing dial-up access: this basic project is perhaps familiar to all those who bear the title Network Administrator or used to work for an ISP, but for beginners in the field (and especially for beginners with Linux) it provides a detailed step-by-step plan on how to setup your own dial-up server and become a small ISP. A computer permanently connected to the Internet with a static IP is required for this project.
  8. Web hosting business: assuming that a computer with static IP address from the previous project and a domain name are available, this project takes the reader through the details of becoming a Linux hoster. This project is especially interesting, since it's applicable to those who have pretty good knowledge of the OS. Numerous online how-to's and manuals take you through separate processes, like adding user accounts, configuring Apache, setting up disk quotas, but few are "turnkey" solutions, where after closing up the book on the last page you can start the hosting business right away.
  9. Home network with a Linux box: rather detailed description of properly configuring iptables, NAT, as well as DHCP and Samba servers to run the home network with a Red Hat Linux 9 box as a server with the firewall and various Linux/Windows clients connecting to it.
  10. Video streaming server: set up a camcorder, Web cam or security camera to broadcast the video to the Internet. The authors use a camcorder and ffserver software to stream the video.
  11. Temperature Monitor: here a temperature sensor kit from DigiTemp needs to be purchased and connected to the telephone cable, which, in turn, will connect to the parallel port. Apparently the ordering page is down as of writing this review, but DigiTemp developer uses Dallas Semiconductors temperature sensors. Then the software provided with the book (ltweather) allows you to look at the current temperature, log it consistently and display it on a Web page if needed.
  12. Linux and some games on a single floppy: re-using that 3.5'' drive for something practical is the purpose of this project. Although the result - single-floppy with some essential Linux and character-based games on it, can be hardly practical in the modern world, perhaps it's worth playing with just to see how little you need to get the whole OS going from scratch.
  13. Controlling RC cars from Linux: if you have a large collection of RC cars (and according to the spam messages I am getting, they're the hottest trend this Christmas), there's a variety of things you can do when suddenly instead of using the remote control you engage a Linux PC. Unattended races, testing your AI algorithms for entering DARPA autonomous vehicle challenge, writing some complex artificial life, where species of all sorts can see how well they can survive in a crowded world. The authors use a LynX-PORT board, a fairly expensive, but according to the authors, quite useful I/O board that could be re-used for all sorts of projects.

The Book With 274 pages of useful information (excluding the cover pages), the book creates a very favorable impression. The writing is clear and succinct; each chapter follows the same structure with an overview of the project first, the list of things needed for the project second, a step-by-step guide third, some additional information for those willing to go further fourth, and summary of the project fifth. Each step that requires interaction with a Linux box has the exact command-line instructions spelled out, no matter how basic. (On page 44, for example, the authors provide the mount /mnt/cdrom command, even though knowledge of this step is expected of a Linux user at the command line). Where interaction with the GUI is required, a screenshot is provided. The Troubleshooting section explains what might go wrong with a Red Hat Linux 9 box and how to react to it.

Furthermore, there is no dependence on previous chapters, making each project independent. You will not be told to "start up the video capturing as you have learned in the previous chapter" or refer to "previously described procedures". Theoretically, you could rip out the pages for a single project and give them to someone with no previous knowledge of the project and expect them to complete it.

Pictures are indispensable. Granted, they wouldn't be very useful for the Linux on a Floppy project, but for something like a digital picture frame, where you're required to disassemble an old laptop and play with the parts, it's essential. The pictures are all black-and-white, and by "pictures" I mean real photographs, not diagrams explaining how things should be done in theory.

The authors' sense of humor permeates the book, which makes it an enjoyable read. For example, on page 255, when completing the Linux RC toy car project, the photo of the race has a caption about every Linux car crossing the "Finnish" line. (Tip: Linus didn't always live in California). The layout of the book also makes it convenient to read and follow. A bar across the top of the page always tells you which project you're on. When enumerating the things required for the project, the authors use bulleted lists with clear explanations.

Another thing worth mentioning is the book's integration with the Web. The book's Web forums allow you to post questions and impressions from each specific project. The authors are also accepting submissions for new Linux Toys from the readers. The Web site in this sense is remarkable, as with too many technical books the so called "companion Web site" is not truly a companion, but a marketing pitch followed by a bookstore link.

Overall, I think Chris Negus and Chuck Wolber have done a very nice job. If I had more time, I would explore more of the projects personally (so far I am started on rebuilding my home network, but I do want to try out the digital picture frame, being a proud owner of Compaq LTE P100 laptop). The book would be a good read for anyone looking for some cool hobby projects, and perhaps would be a good gift for technically inclined kids, who are interested in technology.

Speaking from a different perspective, Linux Toys is the book needed by the open source community. While the usual arguments of being able to look at the OS's source code and concepts of Free software only vaguely interest most individuals, a book like this would spark interest in Linux OS as providing the opportunities to create a variety of cool toys and have fun doing it.

Read more of Alex's reviews of technical and tech business books. You can purchase Linux Toys: 13 Cool Projects for Home, Office and Entertainment from bn.com. Slashdot welcomes readers' book reviews -- to submit a review for consideration, read the book review guidelines, then visit the submission page.

17 of 226 comments (clear)

  1. meh by Anonymous Coward · · Score: 5, Funny

    "it provides a detailed step-by-step plan on how to setup your own dial-up server and become a small ISP."

    how 1994.

    1. Re:meh by Total_Wimp · · Score: 3, Funny

      Not to mention setting up your home broadband connection to allow you dial-up from your grandma's house when you go to visit her.

      Why would you want to download porn on your g-ma's AOL account? Isn't she in trouble enough from all those MP3s you downloaded?

      TW

  2. age? by Savatte · · Score: 5, Funny

    Remember those 'how-to' and 'home improvement' books that you enjoyed reading as a little kid? In the first half of the last century...

    I think you vastly overestimate the average age here on /.

    1. Re:age? by jaciii · · Score: 2, Funny

      Distributer cap for a Model T. http://www.snydersantiqueauto.com/catalog.htm?cata logmain.htm~main
      Post pics of the x-ray machine when you finish it.

  3. Re:free laptops? by kryliss · · Score: 3, Funny

    Yeah, if you find out let me know...
    Just imagine a beow...... er ehem.....

    --
    --- If the bible proves the existence of God, then Superman comics prove the existence of Superman.
  4. Modern version of the book... by Anonymous Coward · · Score: 5, Funny

    SCO Toys: 13 Cool Lawsuits for Home,Office, and Entertainment.

    With Backward by Darl McBride

  5. Re:arcade cabinets by Anonymous Coward · · Score: 3, Funny

    Get yourself a pickup, a length of chain, and a ski mask. Contact me when this is together. I will tell you how to use it to get your very own free cabinet, at no cost to you.

  6. Do you remember by euxneks · · Score: 1, Funny

    "Remember those 'how-to' and 'home improvement' books that you enjoyed reading as a little kid? In the first half of the last century there was a variety of books, ... Building bird houses, creatively reusing helmets from World War I..."

    Some of us were born in the 70's - 80's bub.

    --
    in girum imus nocte et consumimur igni
  7. BSD has a similar book: by Anonymous Coward · · Score: 5, Funny

    Here are the projects:
    1. Managing graveyards
    2. Payroll for gravediggers
    3. Computerized coffins
    4. Email from beyond the grave
    5. Epitaph generators

  8. Hijack this picture by manganese4 · · Score: 3, Funny

    Could you imagine the shock granny would get when your kid's punk friends deciede to upload something besides the picture of your xmas tree?

    --
    I make my face look like this and concerned words come out.
  9. Best description of shell scripting ever by Anonymous Coward · · Score: 1, Funny

    creatively reusing helmets from World War I

  10. where? by Suppafly · · Score: 2, Funny

    Where does everyone get these free/ dirt cheap p200 class laptops? The only laptop I ever got for free was a broken p133 and I had to trade a semester worth of cobol homework assignments for it.

  11. Re:1000 projects for a boy by zakezuke · · Score: 3, Funny

    How very sexist to assume only boys are wired to do mechanical or technical shit. What's on the girls shelf? "How to Get a Boy to Build You a Bird House"? "How to Get a Boy to Fix Your Toyota and Save a Bundle"? "How Suferage for Women Was a Bad Idea and That's Why You Must Fix Your Own Damn Car"?

    --
    There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
  12. Boy Mechanics were deadly by mr_lithic · · Score: 3, Funny
    The machines and projects in The Boy Mechanic: 700 Things for Boys to Do were fun to read but no one with an ounce of sense would ever try to construct them.

    Some classics:

    Fourth of July Fun - aka Pipe Bombs for the Feeble of mind

    Classic Glider - They don't tell you that the original model killed the inventor Otto Lilienthal in 1896

    How to manufacture Hydrogen or Acetylene for more explosive fun!

    Thankfully today we only have idiots with the Anarchists CookBook in pdf format.

  13. Re:free laptops? by JVert · · Score: 3, Funny

    I'm going to add you to my friends list... But only because I expect a gift from you this christmas...

  14. FLAC Jukebox by ratamacue · · Score: 3, Funny
    I did the jukebox, but I used FLAC instead of lossy compression. Why? Because with lossless compression, you will always have the master digital copy, bit for bit. If the original CD is lost or damaged, you still have the master copy. Not so with lossy compression. Once you go lossy, you're stuck. If you compress a WAV file into FLAC, and then uncompress back to WAV, you will have the original WAV file bit for bit. Not so with ogg or mp3.

    The jukebox is killer, but the main reason I did all this was to permanently archive my CD collection. In the event it was destroyed or stolen, I would still have the master digital copies.

    I don't think you need to use all that fancy database-driven jukebox software that he suggests in the article. I use plain old XMMS in random/repeat mode, usually with every song from every CD in the playlist (this is guaranteed to impress the guests). If you structure your directory tree by music category (rock, jazz, new age, etc) then you can easily select playlists by category.

    Of course, you will need a large hard disk in order to do this. I have one 120GB main disk, and another one for backup (yes I know it's not the most reliable backup solution), but large disks are getting so cheap that I'll probably buy another one for redundancy.

    Anyone want to buy a 5-disc CD changer?

  15. My project by ExCEPTION · · Score: 2, Funny

    Can someone help me? I am still working on my tin foil hat project.