CNET Do-It-Yourself Home Networking Projects

Download CNET Do-It-Yourself Home Networking Projects

Post on 08-Dec-2016

213 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>Do-It-YourselfHOME NETWORKING </p><p>PROJECTS</p></li><li><p>About the AuthorJim Aspinwall is the author of six books covering topics from introduction to PCs through troubleshooting, configuration references, wireless networking, and PC hack-ing and mods. From 1995 through 2001 he satisfied the how-to appetite for PC and Windows users as the Windows Advisor for Computer Currents, and the Windows Helpdesk for CNET. In addition to writing about technology (as a hobby, BTW), Jim is an Extra Class amateur radio operator enjoying mountain-top radio system building and tower climbing. He volunteers his time as a Community Emergency Response Team (CERT) instructor and team lead within the City of Campbell, California, and as an Auxiliary Communications Service officer in the Coastal Region for the California Governors Office of Emergency Services. During business hours (and after) Jim is responsible for the evaluation, configuration, and deployment of PC technologies for over 4800 users worldwide. Hes a regular go-to guy when it comes to being prepared and jumping to action for technology or natural disasters.</p></li><li><p>Do-It-YourselfHOME NETWORKING </p><p>PROJECTS24 cool things you didnt know you could do!</p><p>Jim Aspinwall</p><p>New York Chicago San FranciscoLisbon London Madrid Mexico City</p><p>Milan New Delhi San Juan Seoul Singapore Sydney Toronto</p></li><li><p>Copyright 2008 by The McGraw-Hill Companies. All rights reserved. Manufactured in the United States of America. Except as permitted under theUnited States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a databaseor retrieval system, without the prior written permission of the publisher. </p><p>0-07-151007-9</p><p>The material in this eBook also appears in the print version of this title: 0-07-148662-3.</p><p>All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we usenames in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. </p><p>McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs.For more information, please contact George Hoare, Special Sales, at george_hoare@mcgraw-hill.com or (212) 904-4069. </p><p>TERMS OF USE </p><p>This is a copyrighted work and The McGraw-Hill Companies, Inc. (McGraw-Hill) and its licensors reserve all rights in and to the work. Use of thiswork is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you maynot decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish orsublicense the work or any part of it without McGraw-Hills prior consent. You may use the work for your own noncommercial and personal use; anyother use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms. </p><p>THE WORK IS PROVIDED AS IS. McGRAW-HILL AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THEACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANYINFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIMANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY ORFITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the functions contained in the work willmeet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyoneelse for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill and/or its licensors be liablefor any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any ofthem has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claimor cause arises in contract, tort or otherwise. </p><p>DOI: 10.1036/0071486623</p></li><li><p>We hope you enjoy thisMcGraw-Hill eBook! If</p><p>youd like more information about this book,its author, or related books and websites,please click here.</p><p>Professional</p><p>Want to learn more?</p></li><li><p>To Kathy, with love</p></li><li><p>This page intentionally left blank </p></li><li><p>vii</p><p>ContentsForeword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ixAcknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii</p><p>Part 1 Easy Project 1 Basic DSL Broadband Connection . . . . . . . . . . . . . . . . . . . . 3</p><p> Project 2 Go Wireless . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9</p><p> Project 3 File Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17</p><p> Project 4 Printer Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21</p><p> Project 5 Shared Network Storage Without the Server . . . . . . . . . . . . . . 27</p><p> Project 6 Webcam Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37</p><p> Project 7 Cellular Internet Connection to the Rescue . . . . . . . . . . . . . . . 43</p><p> Project 8 TiVo at Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53</p><p> Project 9 Sling Media Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59</p><p>Part 1I Advanced Project 10 Sharing Your Basic DSL Broadband Connection . . . . . . . . . . . . 65</p><p> Project 11 Configuring Firewall Protection for Your Network . . . . . . . . . . 73</p><p> Project 12 Home Network Workgroup . . . . . . . . . . . . . . . . . . . . . . . . 81</p><p> Project 13 Creating Computer User Accounts . . . . . . . . . . . . . . . . . . . . 85</p><p> Project 14 Control Other PCs Remotely . . . . . . . . . . . . . . . . . . . . . . . 91</p><p> Project 15 Stream Your Own Content . . . . . . . . . . . . . . . . . . . . . . . . . 97</p><p>For more information about this title, click here</p></li><li><p> Project 16 Supreme Cellular Data Connection Sharing . . . . . . . . . . . . . . 107</p><p> Project 17 PC Weather Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115</p><p> Project 18 SlingLink TURBO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123</p><p> Project 19 Firewall Configurations for IM and Voice over IP . . . . . . . . . . . 125</p><p> Part III Challenging Project 20 Bridging a Gap, Wirelessly . . . . . . . . . . . . . . . . . . . . . . . . 135</p><p> Project 21 Expanding Beyond the Bridge . . . . . . . . . . . . . . . . . . . . . . . 145</p><p> Project 22 Create a Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151</p><p> Project 23 Dealing with Dynamic IP Addresses . . . . . . . . . . . . . . . . . . . 157</p><p> Project 24 Access TiVo Files Anywhere . . . . . . . . . . . . . . . . . . . . . . . . 163</p><p>Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169</p><p>viii Contents</p></li><li><p>ForewordAfew years ago you were considered a SUPER geek if you had a home network. It meant you were probably a computer hobbyist with Ethernet cables strung down the hallway in pursuit of some arcane form of machine-to-machine connectivity.</p><p>Not anymore.Todays home network revolution was built on the Three Esease, entertain-</p><p>ment, and elegance.Ease of installation meant networks became at least comprehensible if not quite </p><p>plug and play, and the ease with which they share a broadband connection in the home is like magic. Entertainment is supercharged by a networks ability to bring all the audio and video in a home together for enjoyment in any room. And the elegance of Wi-Fi utterly changed the game; running wires through walls and under carpets had kept most of us at bay.</p><p>In this book we start with some fundamentals like connection sharing and printer sharing. These are the bread-and-butter parts of a network and gratifying to use every day. A little more advanced are projects that involve powerful security settings that lie within the network router, and setting up servers that live on the home network. Youll also find a constant TV-watching thread throughout, as we show you how to master and extend products like TiVo and Slingbox on your home network.</p><p>Home networks dont seem like such a technological luxury any more. They do such useful and indispensable services its easy to imagine a day when they are a stan-dard technology in almost every home. Until then, this book will keep you ahead of the curve.</p><p>ix</p><p>Brian CooleyCNET Editor-at-Large</p></li><li><p>This page intentionally left blank </p></li><li><p>xi</p><p>AcknowledgmentsOf course, special thanks go to Judy Bass at McGraw-Hill for yet another won-derful project, and for all of her support. Im quite flattered to again work with my favorite editor, and coincidentally enough, on a collaborative project for CNET for whom I was the Windows Helpdesk columnist a while backthe tech-family bond is comforting. Steve G. at Verizon Wireless, and Brian J. at SlingMedia, both deserve special recognition and thanks for their help with evaluation product and support. Not in the least, to my co-workers and the hundreds, perhaps thou-sands, or even millions of users and readers I hope Ive helped with each e-mail, ar-ticle, and bookwithout them there would be no reason to share all this technology and empowerment.</p><p>xi</p></li><li><p>This page intentionally left blank </p></li><li><p>xiii</p><p>IntroductionYou may be thinking that home networking is so ubiquitous there could not possibly be anything new or different to do with this interconnected marvel of now everyday technology. You can surf the Web on any of two to three PCs, upload and download photos, fill an MP3 player to the brim, and chat with your friends and family via IMwhat more could you want?</p><p>Ive learned from a lot of my friends and co-workers that indeed, thats about all they can do with their home network now. But they also know about file sharing, printer sharing, wireless, voice chats, and webcams, and think theyll set up those pretty soonuntil they hear someone else has hit a snag in their efforts to do more, and then they stop.</p><p>This book and the projects in it are about GO! Youll find out that youll want to correct things in your firewall/router, Windows configuration, secure your network and computers, share that printer, get that wireless working in the back-forty (OK, back-forty square-feet, its a small place, work with me, please). Youll be sharing music, checking your own weather, watching TV on your laptop (without a tuner card), and enjoying numerous other aspects of home networkingreliably, and a lot more secure than before.</p><p>This is the book you will take to your friends and say, hey, I found out how to and then be able to sit down at a computer and do it in 2030 minutes. (Sorry, this book will not help you if youve forgotten your password and locked yourself out of your computer.)</p><p>What Youll DoThis book consists of 24 separate, but increasingly interrelated, projects covering the basics of broadband Internet connections through expanding your network in multiple ways, and taking advantage of a reliable and secure network to have some fun. Here are some examples of what youll find:</p><p>Six projects cover creating, securing, and expanding your home network from broadband through wireless.</p><p>Six projects cover enhancing and sharing services between your Windows computersfrom files to printers to remote control.</p></li><li><p>Eight projects cover multimedia services, such as sharing weather and streaming media, to accessing resources inside your home network across the Internet.</p><p>Four projects cover alternatives to conventional broadband, and configuring your network for general Internet services.</p><p>Some of the projects build on and refer you to related projects so you get the basics down and can move on to more advanced networking features. Each project starts with outlining what you will need, if any costs are involved, and a description of the project. For most projects you already have what youll needa broadband Internet connection, a router/firewall, and a computer or two or three.</p><p> Visit this books web page at http://diynetwork.cnet.com to see related videos.</p><p>xiv Introduction</p></li><li><p>Part IEasy</p></li><li><p>This page intentionally left blank </p></li><li><p>3Project 1</p><p>Basic DSL BroadbandConnection</p><p>What Youll Need</p><p>DSL modem: Typically supplied by your service provider</p><p>DSL filters: One for each voice telephone, fax, and modem</p><p>Ethernet network cable: Usually included with your modem</p><p>Cost: DSL Internet service $1560/month; Filters $25; Cable $620; Network card $20</p><p>Beginning to explore the Internet with high-speed/broadband access is exciting, and is much more satisfying if done correctly from the beginning. This project will get you started making the new connections you need to enjoy the Internet with some serious speed.</p><p>DSL modems come in several varietiesfrom a basic just-a-DSL modem, to units with built-in firewalls, routers, Ethernet switches, and Wi-Fi access points. If you get a basic modem package, the setup is simple, can be expanded on, and typically requires some special setup at your PCwhich is what well cover in this project. Well add to your basic service in subsequent projects.</p><p>Step 1: Adjust Your Phone ConnectionsYour new DSL Internet connection requires some minor recabling of your existing phone connections. This doesnt mean you need to install new wires all over your house or apartmentyou just have to add a DSL filter (see Figure 1-1) at each phone connection. When you subscribe to DSL service, the digital signal of DSL is mixed in with your normal voice service somewhere down the lines a few blocks away. This signal produces a rushing soundlike a fast-moving waterfallif you listen to your phone without the DSL filters. Adding a DSL filter to each phone connection ensures that the annoying rushing sound is blocked from your v...</p></li></ul>