Synopses & Reviews
The popularity of wireless networking has grown exponentially over the past few years, despite a general downward trend in the telecommunications industry. More and more computers and users worldwide communicate via radio waves every day, cutting the tethers of the cabled network both at home and at work.
Wireless technology changes not only the way we talk to our devices, but also what we ask them to do. With greater flexibility, broader range, and increased mobility, wireless networks let us live, work, and think differently. Wireless networks also open up a vast range of tasty new hack possibilities, from fine-tuning network frequencies to hot-rodding handhelds.
The second edition of Wireless Hacks, co-authored by Rob Flickenger and Roger Weeks, brings readers more of the practical tips and tricks that made the first edition a runaway hit, selling nearly 30,000 copies. Completely revised and updated, this version includes over 30 brand new hacks, major overhauls of over 30 more, and timely adjustments and touchups to dozens of other hacks introduced in the first edition. From passive network scanning to aligning long-distance antennas, beefing up wireless network security, and beyond, Wireless Hacks answers real-life networking needs with direct solutions.
Flickenger and Weeks both have extensive experience in systems and network administration, and share a passion for making wireless more broadly available. The authors include detailed coverage for important new changes in specifications and in hardware and software, and they delve deep into cellular and Bluetooth technologies.
Whether you need your wireless network to extend to the edge of your desk, fit into your backpack, or cross county lines, the proven techniques in Wireless Hacks will show you how to get the coverage and functionality you're looking for.
The authors bring readers more of the practical tips and tricks that made the first edition a runaway hit. Completely revised and updated, this version includes over 30 new hacks, major overhauls of over 30 more, and timely adjustments and touch-ups to dozens of other hacks.
About the Author
Rob Flickenger has been a professional systems administrator for more than 10 years, and all around hacker for as long as he can remember. Rob enjoys spreading the good word of open networks, open standards, and ubiquitous wireless networking. His current professional project is Metrix Communication LLC, which provides wireless hardware and software that embodies the same open source principles he rants about in his books. Rob also works with the U.N. and various international organizations to bring these ideas to places where communications infrastructure is badly needed. He hopes that all of this effort is contributing toward the ultimate goal of infinite bandwidth everywhere for free. He is the author of two other O'Reilly books: Linux Server Hacks and Building Wireless Community Networks (which is in its second edition).
Table of Contents
Foreword; Credits; About the Authors; Contributors; Acknowledgments; Preface; Why Wireless Hacks?; How to Use This Book; How This Book Is Organized; Conventions Used in This Book; Using Code Examples; How to Contact Us; Chapter 1: Bluetooth, Mobile Phones, and GPS; 1.1 Hacks 1-22: Introduction; 1 Set Up Bluetooth on Linux; 2 Set Up Bluetooth on Windows XP; 3 Connect Mac OS X with a Bluetooth Phone; 4 Connect Linux with a Bluetooth Phone; 5 Connect Windows XP with a Bluetooth Phone; 6 Use Your Treo as a Modem; 7 Send SMS from a PowerBook; 8 Remote Control Mac OS X with Bluetooth Phones and PDAs; 9 Remote Control Linux with a Bluetooth Phone; 10 Control XMMS with Bluetooth; 11 Liven Up Parties with a Participatory Slideshow; 12 Send SMS from Linux; 13 Remote Control Windows with Bluetooth Phones and PDAs; 14 Control Your Bluetooth Phone with FMA; 15 Control Your Computer from Your Palm; 16 Control Your Home Theater from Your Palm; 17 Choose a Cellular Data Plan; 18 Blog from Your Mobile Phone; 19 Get Google Maps on Your Mobile Phone; 20 Share Your GPS; 21 Broadcast Your GPS Position; 22 Map Wi-Fi Networks with Kismet and GPSd; Chapter 2: Network Discovery and Monitoring; 2.1 Hacks 23-39: Introduction; 23 Find All Available Wireless Networks; 24 Discover Networks with NetStumbler; 25 Detect Networks with Handheld PCs; 26 Find and Join Wireless Networks with AP Radar; 27 Detect Networks on Mac OS X; 28 Scan Passively with KisMAC; 29 Detect Networks with Kismet; 30 Monitor Wireless Links in Linux with Wavemon; 31 Analyze Traffic with Ethereal; 32 Track 802.11 Frames in Ethereal; 33 Watch Network Traffic; 34 grep Your Network; 35 Check Wi-Fi Network Performance with Qcheck; 36 Estimate Network Performance; 37 Get Real-Time Network Stats; 38 Graph Your Wireless Performance; 39 Find Radio Manufacturers by MAC; Chapter 3: Wireless Security; 3.1 Hacks 40-51: Introduction; 40 Stop Moochers from Stealing Your Wi-Fi Bandwidth; 41 Visualize a Network; 42 Secure Your Linux Network with WPA; 43 Control Wireless Access by MAC; 44 Authenticate Wireless Users; 45 Forward Ports over SSH; 46 Proxy Web Traffic over SSH; 47 Securely Connect Two Networks; 48 Generate a Tunnel Configuration Automatically; 49 Poll Wireless Clients; 50 Interrogate the Network; 51 Track Wireless Users; Chapter 4: Hardware Hacks; 4.1 Hacks 52-62: Introduction; 52 Add an External Antenna; 53 Do-It-Yourself Access Point Hardware; 54 Boot from a Compact Flash Hard Drive; 55 Increase the Range of a PowerBook; 56 Send Power over Your Ethernet; 57 The NoCat Night Light; 58 Upgrade the Linksys WET11; 59 Scan for Wireless Networks Automatically; 60 Backlight Your Zipit; 61 Unwire Your Pistol Mouse; 62 Mobilize Your WRT54G with the WiFiCar; Chapter 5: Software Hacks; 5.1 Hacks 63-82: Introduction; 63 Build Your Own Access Point with Linux; 64 Bridge Your Linux AP; 65 Protect Your Bridge with a Firewall; 66 Filter MAC with HostAP and Madwifi; 67 Upgrade Your Wireless Router; 68 Set Up an OLSR Mesh Network; 69 Extend Your Wireless Network with WDS; 70 Pebble; 71 Wall Off Your Wireless; 72 Run Your Mac as an Access Point; 73 Run Linux on the Zipit Wireless Messenger; 74 Capture Wireless Users with NoCatAuth; 75 Capture Wireless Users on a Small Scale; 76 Build an Online Community in Your Offline Neighborhood; 77 Manage Multiple AirPort Base Stations; 78 Advertise Bonjour Services in Linux; 79 Advertise Any Service with Bonjour in Mac OS X; 80 Redirect "Brought to you by" Bonjour Ads; 81 Use a Windows-Only Wireless Card in Linux; 82 Use Your Orinoco Card with Hermes AP; Chapter 6: Do-It-Yourself Antennas; 6.1 Hacks 83-93: Introduction; 83 Make a Deep Dish Cylindrical Parabolic Reflector; 84 Spider Omni Antenna; 85 Pringles Can Waveguide; 86 Pirouette Can Waveguide; 87 Primestar Dish with Waveguide Feed; 88 Primestar Dish with Biquad Feed; 89 Cut a Cable Omni Antenna; 90 Build a Slotted Waveguide Antenna; 91 The Passive Repeater; 92 Determine Your Antenna Gain; 93 Build Cheap, Effective Roof Mounts; Chapter 7: Wireless Network Design; 7.1 Hacks 94-100: Introduction; 94 Analyze Elevation Profiles for Better Long-Range Wireless Networking; 95 Build a Wireless Network for the Large House; 96 Establish Line of Sight; 97 Calculate the Link Budget; 98 Align Antennas at Long Distances; 99 Slow Down to Speed Up; 100 Take Advantage of Antenna Polarization; Appendix A: Wireless Standards; A.1 802.11: The Mother of All IEEE Wireless Ethernet; A.2 802.11a: The Betamax of the 802.11 Family; A.3 802.11b: The De Facto Standard; A.4 802.11g: Like 802.11b, only Faster; A.5 802.16: WiMAX Long Distance Wireless Infrastructure; A.6 Bluetooth: Cable Replacement for Devices; A.7 900 MHz: Low Speed, Better Coverage; A.8 CDPD, 1xRTT, and GPRS: Cellular Data Networks; A.9 FRS and GMRS: Super Walkie-Talkies; A.10 802.1x: Port Security for Network Communications; A.11 WPA and 802.11i; A.12 BSS Versus IBSS; Appendix B: Wireless Hardware Guide; B.1 Microwave Cabling; B.2 Microwave Connector Reference; B.3 Antenna Guide; B.4 Pigtails; B.5 802.11 Hardware Suppliers; Colophon;