ebook img

Linux Toys II: 9 Cool New Projects for Home, Office, and Entertainment PDF

421 Pages·2005·9.085 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Linux Toys II: 9 Cool New Projects for Home, Office, and Entertainment

01_579959 ffirs.qxd 9/27/05 10:33 PM Page iii Linux® Toys II 9 Cool New Projects for Home, Office, and Entertainment Christopher Negus 01_579959 ffirs.qxd 9/27/05 10:33 PM Page i Linux® Toys II 01_579959 ffirs.qxd 9/27/05 10:33 PM Page ii 01_579959 ffirs.qxd 9/27/05 10:33 PM Page iii Linux® Toys II 9 Cool New Projects for Home, Office, and Entertainment Christopher Negus 01_579959 ffirs.qxd 9/27/05 10:33 PM Page iv Linux® Toys II:9 Cool New Projects for Home,Office,and Entertainment Published by Wiley Publishing,Inc. 10475 Crosspoint Boulevard Indianapolis,IN 46256 www.wiley.com Copyright © 2006 by Wiley Publishing,Inc.,Indianapolis,Indiana Published simultaneously in Canada ISBN-13:978-0-7645-7995-0 ISBN-10:0-7645-7995-9 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 1B/RY/RQ/QV/IN No part of this publication may be reproduced,stored in a retrieval system or transmitted in any form or by any means,electronic, mechanical,photocopying,recording,scanning or otherwise,except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act,without either the prior written permission of the Publisher,or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center,222 Rosewood Drive,Danvers,MA 01923,(978) 750-8400,fax (978) 646-8600.Requests to the Publisher for permission should be addressed to the Legal Department,Wiley Publishing,Inc.,10475 Crosspoint Blvd.,Indianapolis,IN 46256,(317) 572-3447,fax (317) 572-4355,or online at http://www.wiley.com/go/permissions. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE.NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS.THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION.THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL,ACCOUNTING,OR OTHER PROFESSIONAL SERVICES.IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM.THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE.FURTHER,READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. For general information on our other products and services or to obtain technical support,please contact our Customer Care Department within the U.S.at (800) 762-2974,outside the U.S.at (317) 572-3993 or fax (317) 572-4002. Wiley also publishes its books in a variety of electronic formats.Some content that appears in print may not be available in electronic books. Library of Congress Cataloging-in-Publication Data Negus,Chris,1957– Linux toys II :9 cool new projects for home,office,and entertainment / Christopher Negus. p.cm. Includes index. ISBN-13:978-0-7645-7995-0 (paper/cd-rom+online) ISBN-10:0-7645-7995-9 (paper/cd-rom+online) 1. Linux.2. Operating systems (Computers) 3. Multimedia systems. I.Title. QA76.76.O63N4233 2005 005.4 32—dc22 2005025375 Trademarks:Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons,Inc.and/or its affiliates,in the United States and other countries,and may not be used without written permission.Linux is a registered trademark of Linus Torvalds. ExtremeTech and the ExtremeTech logo are trademarks of Ziff Davis Publishing Holdings,Inc.Used under license.All other trademarks are the property of their respective owners.Wiley Publishing,Inc.,is not associated with any product or vendor mentioned in this book. 01_579959 ffirs.qxd 9/27/05 10:33 PM Page v As always,I dedicate this book to my wife,Sheree. 01_579959 ffirs.qxd 9/27/05 10:33 PM Page vi About the Author Christopher Neguslanded a job in 1984 at AT&T Bell Laboratories in Summit,N.J.,in the group that developed the UNIX operating system.Because he had used UNIX before (and had even written programs in BASIC),he was considered “technical”and started out writing about computer network protocols. Over the next eight years,Chris helped write (and rewrite) the thousands of pages of docu- mentation that accompanied the UNIX operating system.He stayed with the same organiza- tion,even after AT&T spun it off into UNIX System Laboratories and then to Univel,before the organization was sold (with the UNIX source code) to Novell in 1992.(Yes,this is the infamous SCO source code!) Over the following decade,Chris wrote or contributed to about a dozen UNIX books.In 1999, he made the transition to Linux with a vengeance when he wrote Red Hat Linux Bible.Since that time,the book has become a computer book bestseller and in its various editions has sold well over 240,000 copies worldwide. Between editions of Red Hat Linux Bible,Chris wrote Linux Bible,2005 Editionand co-wrote Linux Troubleshooting Biblewith Thomas Weeks.(Tom contributed two chapters to this book as well.) The originalLinux Toysand now Linux Toys IIreflect Chris’s attempts to put together open source software into fun and useful projects.The projects in this edition reflect Chris’s collabo- ration with leaders and maintainers from a handful of excellent open source initiatives. 01_579959 ffirs.qxd 9/27/05 10:33 PM Page vii Credits Executive Editor Vice President and Executive Group Carol Long Publisher Richard Swadley Acquisitions Editor Debra Williams Cauley Vice President and Executive Publisher Joseph B.Wikert Development Editor Sara Shlaer Project Coordinator Ryan Steffen Technical Editors Bharat Mediratta (Gallery) Graphics and Production Specialists Brandon Beattie,François Caen (MythTV) Carrie Foster Roberto De Leo (eMoviX) Denny Hager John Andrews,Robert Shingledecker Stephanie D.Jumper (Damn Small Linux) Barbara Moore Charles Sullivan (Heyu X10) Heather Ryan Tim Riker (BZFlag) Heiko Zuerker (Devil-Linux) Quality Control Technicians Michael Smith (Icecast) Amanda Briggs Jim McQuillan (Linux Terminal Leeann Harney Server Project) Media Development Project Supervisor Contributing Authors Laura Moss Thomas Weeks Jesse Keating Media Development Specialists Angela Denny Copy Editor Steve Kudirka Nancy Rapoport Kit Malone Travis Silvers Editorial Manager Mary Beth Wakefield Media Development Coordinator Laura Atkinson Production Manager Tim Tate Proofreading and Indexing TECHBOOKS Production Services 02_579959 ftoc.qxd 9/27/05 10:25 PM Page viii Contents at a Glance Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix Part I: The Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 1:Introduction to Linux Toys II . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Chapter 2:Finding What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Part II: Multimedia Projects . . . . . . . . . . . . . . . . . . . . . . . . . 33 Chapter 3:Creating a Web Photo Gallery . . . . . . . . . . . . . . . . . . . . . . . . . 35 Chapter 4:Creating a Personal Video Recorder with MythTV . . . . . . . . . . . . . . . 61 Chapter 5:Making Bootable Movies with eMoviX . . . . . . . . . . . . . . . . . . . . 123 Part III: Home Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Chapter 6:Customizing a Live Linux Pen Drive . . . . . . . . . . . . . . . . . . . . . 155 Chapter 7:Automating Home Lights and Gadgets with X10 . . . . . . . . . . . . . . . 185 Chapter 8:Setting Up a Game Server with BZFlag . . . . . . . . . . . . . . . . . . . . 209 Chapter 9:Building a Dedicated SOHO Firewall . . . . . . . . . . . . . . . . . . . . . 237 Part IV: Small Business Projects . . . . . . . . . . . . . . . . . . . . . . 265 Chapter 10:Running an Internet Radio Station with Icecast . . . . . . . . . . . . . . . 267 Chapter 11:Building a Thin Client Server with LTSP . . . . . . . . . . . . . . . . . . 289 Part V: Appendixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Appendix A:Using the Linux Toys II CD . . . . . . . . . . . . . . . . . . . . . . . . . 321 Appendix B:ABCs of Using Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 Appendix C:Installing Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.