O'Reilly Hacks
oreilly.comO'Reilly NetworkSafari BookshelfConferences Sign In/My Account | View Cart   
Book List Learning Lab PDFs O'Reilly Gear Newsletters Press Room Jobs  



How do these hacks stand up? Comment on a hack from the book by choosing the associated "Discuss" link below. You can also view the code from any of the hacks by clicking on the "Listing" or "Code" links. A number of hacks have been selected to be featured online in their entirety; you may view those hacks by clicking on the hack titles that are linked.

Jump to: The Standards  | Bluetooth and Mobile Data  | Network Monitoring  | Hardware Hacks  | Do-It-Yourself Antennas  | Long Distance Links  | Wireless Security

The Standards

HACK
#1

802.11: The Mother of All IEEE Wireless Ethernet
While definitely showing its age, the original 802.11 gear still has its uses
[Discuss (0) | Link to this hack]

HACK
#2

802.11a: The Betamax of the 802.11 Family
802.11a offers more channels, higher speed, and less interference than other protocols, but it still just isn't popular
[Discuss (0) | Link to this hack]

HACK
#3

802.11b: The De Facto Standard
Many people continue to use 802.11b, the protocol of the Wi-Fi revolution
[Discuss (0) | Link to this hack]

HACK
#4

802.11g: Like 802.11b, only Faster
Turbo charge your wireless network without leaving your 802.11b users in the cold
[Discuss (0) | Link to this hack]

HACK
#5

802.16: Long Distance Wireless Infrastructure
The long awaited Municipal Area Network protocol is on the way, but isn't here just yet
[Discuss (1) | Link to this hack]

HACK
#6

Bluetooth: Cable Replacement for Devices
Bluetooth eliminates the need for cables that tether your tiny devices
[Discuss (2) | Link to this hack]

HACK
#7

900 MHz: Low Speed, Better Coverage
Ubiquity is sometimes more important than speed. If you absolutely need to make a link that isn't possible with 802.11, then this older gear might be for you
[Discuss (0) | Link to this hack]

HACK
#8

CDPD, 1xRTT, and GPRS: Cellular Data Networks
If you can't roll your own wireless, you might try one of these mobile phone carrier networks
[Discuss (0) | Link to this hack]

HACK
#9

FRS and GMRS: Super Walkie-Talkies
Use these high powered radios in places where mobile phones just don't cut it
[Discuss (0) | Link to this hack]

HACK
#10

802.1x: Port Security for Network Communications
Secure access to virtually any network port (wired or wireless) with 802.1x
[Discuss (0) | Link to this hack]

HACK
#11

HPNA and Powerline Ethernet
These nontraditional networking protocols can save you a ton of effort
[Discuss (0) | Link to this hack]

HACK
#12

BSS Versus IBSS
BSS/Master/AP/Infrastructure/IBSS/Ad-Hoc/Peer-to-Peer: these all refer to 802.11b operating modes, but what does it all mean?
[Discuss (0) | Link to this hack]

Bluetooth and Mobile Data

HACK
#13

Remote Control OS X with a Sony Ericsson Phone
Use your phone as a remote control for presentations or iTunes, or for about anything you can script with AppleScript
[Discuss (0) | Link to this hack]

HACK
#14

SMS with a Real Keyboard
Stop fiddling around with your phone's keypad and use your laptop for text messaging
[Discuss (0) | Link to this hack]

HACK
#15

Photo Blog Automatically with the Nokia 3650
Instantly publish your photos from the road, without even logging in
The Code
[Discuss (0) | Link to this hack]

HACK
#16

Using Bluetooth with Linux
Get Bluetooth up and running quickly under Linux 2.4
The Code
[Discuss (0) | Link to this hack]

HACK
#17

Bluetooth to GPRS in Linux
Use your Bluetooth phone as a modem when Wi-Fi isn't available
The Code
[Discuss (0) | Link to this hack]

HACK
#18

Bluetooth File Transfers in Linux
Exchange data freely between your Bluetooth device and your Linux box
[Discuss (0) | Link to this hack]

HACK
#19

Controlling XMMS with Bluetooth
Use your Bluetooth device to control your music remotely under Linux
[Discuss (0) | Link to this hack]

Network Monitoring

HACK
#20

Find All Available Wireless Networks
Locate all wireless networks in range without installing any additional software
[Discuss (4) | Link to this hack]

HACK
#21

Network Discovery Using NetStumbler
Find all available wireless networks with this infamous monitoring tool
[Discuss (0) | Link to this hack]

HACK
#22

Network Detection on Mac OS X
Find out everything you ever wanted to know about the networks available in your area
[Discuss (0) | Link to this hack]

HACK
#23

Detecting Networks Using Handheld PCs
Easily monitor wireless networks while walking around
[Discuss (0) | Link to this hack]

HACK
#24

Passive Scanning with KisMAC
Glean detailed network information with this passive scanner for OS X
[Discuss (8) | Link to this hack]

HACK
#25

Establishing Connectivity
What to do first when you just can't get your wireless connection working
[Discuss (0) | Link to this hack]

HACK
#26

Quickly Poll Wireless Clients with ping
A quick and dirty method for determining who is on your local subnet
[Discuss (0) | Link to this hack]

HACK
#27

Finding Radio Manufacturers by MAC Address
Find out what sort of radio cards and laptops are in use on your local network
The Code
[Discuss (7) | Link to this hack]

HACK
#28

Rendezvous Service Advertisements in Linux
Let your users know what services are available on your network, even if you aren't running OS X
[Discuss (0) | Link to this hack]

HACK
#29

Advertising Arbitrary Rendezvous Services in OS X
Rendezvous isn't just for web pages and iChat. Use this OS X app to advertise whatever you like
[Discuss (0) | Link to this hack]

HACK
#30

"Brought to you by" Rendezvous Ad Redirector
Spam your fellow Rendezvous users with sponsored links
[Discuss (2) | Link to this hack]

HACK
#31

Detecting Networks with Kismet
Troubleshoot network problems with one of the most advanced wireless monitoring tools available
[Discuss (0) | Link to this hack]

HACK
#32

Running Kismet on Mac OS X
Run Kismet natively on OS X using the Viha AirPort driver
[Discuss (0) | Link to this hack]

HACK
#33

Link Monitoring in Linux with Wavemon
Monitor radio parameters in real time using Wavemon, a curses-based tool for Linux
[Discuss (0) | Link to this hack]

HACK
#34

Historical Link State Monitoring
Comprehensively track the performance of your wireless links over time
The Code
[Discuss (0) | Link to this hack]

HACK
#35

EtherPEG and DriftNet
Get a compelling visual representation of what people are looking at on your network
[Discuss (0) | Link to this hack]

HACK
#36

Estimating Network Performance
Just how quickly can you squeeze data through your AP?
[Discuss (0) | Link to this hack]

HACK
#37

Watching Traffic with tcpdump
This famous command-line packet capture tool is invaluable for troubleshooting thorny network problems
[Discuss (0) | Link to this hack]

HACK
#38

Visual Traffic Analysis with Ethereal
Sift through network data with one of the most advanced protocol analyzers available
[Discuss (0) | Link to this hack]

HACK
#39

Tracking 802.11 Frames in Ethereal
Use Ethereal to track wireless frame data it normally can't capture
[Discuss (0) | Link to this hack]

HACK
#40

Interrogating the Network with nmap
When you absolutely need to know everything you can about a network or host, nmap can help
[Discuss (0) | Link to this hack]

HACK
#41

Network Monitoring with ngrep
See who's doing what, with a grep for your network interface
The Code
[Discuss (1) | Link to this hack]

HACK
#42

Running ntop for Real-Time Network Stats
See who's doing what on your network over time with ntop
[Discuss (0) | Link to this hack]

Hardware Hacks

HACK
#43

Add-on Laptop Antennas
Improve the range of your laptop with an add-on antenna
[Discuss (0) | Link to this hack]

HACK
#44

Increasing the Range of a Titanium PowerBook
Radio waves just don't penetrate titanium, but that shouldn't keep your TiBook from getting online
[Discuss (0) | Link to this hack]

HACK
#45

WET11 Upgrades
Significantly increase the range, sensitivity, and functionality of your WET11
[Discuss (1) | Link to this hack]

HACK
#46

AirPort Linux
Turn your Graphite AirPort (or other KarlNet based AP) into a full-fledged Linux router
The Code
[Discuss (0) | Link to this hack]

HACK
#47

Java Configurator for AirPort APs
Configure your AirPort or Lucent-based AP from a Java applet
[Discuss (0) | Link to this hack]

HACK
#48

Apple Software Base Station
Use an OS X machine with an AirPort card as a true access point
[Discuss (1) | Link to this hack]

HACK
#49

Adding an Antenna to the AirPort
Significantly extend your range when using an AirPort base station
[Discuss (0) | Link to this hack]

HACK
#50

The NoCat Night Light
Put your AP where everyone can see it—on the ceiling
[Discuss (0) | Link to this hack]

HACK
#51

Do-It-Yourself Access Point Hardware
Use one of these popular embedded PC boxes as a building block for your access point project
[Discuss (0) | Link to this hack]

HACK
#52

Compact Flash Hard Drive
Make your own tiny hard drive with no moving parts and very low power consumption
[Discuss (0) | Link to this hack]

HACK
#53

Pebble
Use this tiny Debian-based distribution for your own custom wireless access point
[Discuss (0) | Link to this hack]

HACK
#54

Tunneling: IPIP Encapsulation
IP tunneling with the Linux IPIP driver
[Discuss (0) | Link to this hack]

HACK
#55

Tunneling: GRE Encapsulation
IP tunnels with GRE for supporting multicast and Cisco devices
[Discuss (0) | Link to this hack]

HACK
#56

Running Your Own Top-Level Domain
Set up your own TLD in BIND for ease of navigation
The Code
[Discuss (0) | Link to this hack]

HACK
#57

Getting Started with Host AP
Use a Prism II radio card with Linux as if it were a hardware access point
[Discuss (0) | Link to this hack]

HACK
#58

Make Host AP a Layer 2 Bridge
Make a simple Ethernet bridge with Host AP and one other network interface
[Discuss (0) | Link to this hack]

HACK
#59

Bridging with a Firewall
Regain control over your Layer 2 bridge with iptables and ebtables
[Discuss (0) | Link to this hack]

HACK
#60

MAC Filtering with Host AP
Filter MAC addresses before they associate with your Host AP
[Discuss (0) | Link to this hack]

HACK
#61

Hermes AP
Enable BSS master mode on Hermes-based radios
[Discuss (2) | Link to this hack]

HACK
#62

Microwave Cabling Guide
There are myriad antenna feed cables available. Which is the right one for the job?
[Discuss (0) | Link to this hack]

HACK
#63

Microwave Connector Reference
Be able to tell one microwave connector from another with this field reference
[Discuss (0) | Link to this hack]

HACK
#64

Antenna Guide
How do you know which antenna is the best for the job? This guide will explain
[Discuss (0) | Link to this hack]

HACK
#65

Client Capability Reference Chart
A quick guide to what's what in the world of consumer wireless gear
[Discuss (0) | Link to this hack]

HACK
#66

Pigtails
Use a short length of feed line to connect your wireless device to an antenna
[Discuss (0) | Link to this hack]

HACK
#67

802.11 Hardware Suppliers
Where to get hard-to-find parts and supplies
[Discuss (0) | Link to this hack]

HACK
#68

Home-Brew Power over Ethernet
Power your access point without running a separate power cable by using free pairs on the CAT5
[Discuss (0) | Link to this hack]

HACK
#69

Cheap but Effective Roof Mounts
Install wireless gear on your flat roof without piercing it with mounting hardware
[Discuss (1) | Link to this hack]

Do-It-Yourself Antennas

HACK
#70

Deep Dish Cylindrical Parabolic Reflector
This simple design provides high gain without pigtails or modifying your AP
[Discuss (1) | Link to this hack]

HACK
#71

"Spider" Omni
Possibly the smallest and simplest omnidirectional antenna there is
[Discuss (1) | Link to this hack]

HACK
#72

Pringles Can Waveguide
How to make the infamous Pringles cantenna
[Discuss (0) | Link to this hack]

HACK
#73

Pirouette Can Waveguide
Build a simpler, higher-gain antenna-in-a-can
[Discuss (0) | Link to this hack]

HACK
#74

Primestar Dish with Waveguide Feed
Use a cantenna waveguide in conjunction with a recycled satellite dish
[Discuss (0) | Link to this hack]

HACK
#75

BiQuad Feed for Primestar Dish
Make an even higher gain antenna out of a recycled Primestar dish
[Discuss (2) | Link to this hack]

HACK
#76

Cut Cable Omni Antenna
Make a high-gain omni out of bits of feed cable
[Discuss (0) | Link to this hack]

HACK
#77

Slotted Waveguides
Make a high-gain, horizontally polarized omni or unidirectional antenna. And it looks cool too!
[Discuss (0) | Link to this hack]

HACK
#78

The Passive Repeater
Use a passive device that requires no power to shoot around obstacles
[Discuss (0) | Link to this hack]

HACK
#79

Determining Antenna Gain
Figure out the approximate gain of your home brew antenna—without a spectrum analyzer
[Discuss (0) | Link to this hack]

Long Distance Links

HACK
#80

Establishing Line of Sight
Use these methods to quickly tell if a long distance wireless shot is possible
[Discuss (0) | Link to this hack]

HACK
#81

Calculating the Link Budget
Figure out whether a long distance link is even possible before you buy any equipment
[Discuss (0) | Link to this hack]

HACK
#82

Aligning Antennas at Long Distances
By working methodically and communicating well, you can easily bring up wireless links several miles apart
[Discuss (4) | Link to this hack]

HACK
#83

Slow Down to Speed Up
On a flaky link, talking slowly can actually speed up data transfers
[Discuss (0) | Link to this hack]

HACK
#84

Taking Advantage of Antenna Polarization
Use electromagnetic polarization to avoid noise from other antennas in the same spectrum
[Discuss (0) | Link to this hack]

HACK
#85

Map the Wireless Landscape with NoCat Maps
Manage many wireless nodes with this open source mapping project
[Discuss (2) | Link to this hack]

Wireless Security

HACK
#86

Making the Best of WEP
While not the answer to every wireless security need, WEP can still be effective if used properly
[Discuss (0) | Link to this hack]

HACK
#87

Dispel the Myth of Wireless Security
Find out for yourself just how "secure" your standard wireless network really is
[Discuss (0) | Link to this hack]

HACK
#88

Cracking WEP with AirSnort: The Easy Way
Use a dictionary attack to test the security of your WEP key
[Discuss (1) | Link to this hack]

HACK
#89

NoCatAuth Captive Portal
Provide cryptographically sound access control using only a web browser
[Discuss (1) | Link to this hack]

HACK
#90

NoCatSplash and Cheshire
If you need a simple "splash screen" for your wireless users, try either of these simple captive portals
[Discuss (0) | Link to this hack]

HACK
#91

Squid Proxy over SSH
Secure your web traffic from prying eyes—and improve performance in the process
[Discuss (0) | Link to this hack]

HACK
#92

SSH SOCKS 4 Proxy
Protect your web traffic using the basic VPN functionality built into SSH itself
[Discuss (0) | Link to this hack]

HACK
#93

Forwarding Ports over SSH
Keep network traffic to arbitrary ports secure with SSH port forwarding
[Discuss (0) | Link to this hack]

HACK
#94

Quick Logins with SSH Client Keys
Using SSH keys instead of password authentication to speed up and automate logins
[Discuss (0) | Link to this hack]

HACK
#95

"Turbo-Mode" SSH Logins
Even faster logins from the command line
[Discuss (0) | Link to this hack]

HACK
#96

OpenSSH on Windows Using Cygwin
Use any of the powerful OpenSSH hacks in this chapter on a Windows box
[Discuss (0) | Link to this hack]

HACK
#97

Location Support for Tunnels in OS X
Easily choose between encrypted and unencrypted communications using the Network Location feature in Mac OS X
[Discuss (0) | Link to this hack]

HACK
#98

Using vtun over SSH
Connect two networks together using vtun and a single SSH connection
The Code
[Discuss (0) | Link to this hack]

HACK
#99

Automatic vtund.conf Generator
Generate a vtund.conf on the fly to match changing network conditions
The Code
[Discuss (0) | Link to this hack]

HACK
#100

Tracking Wireless Users with arpwatch
Automatically keep a database of MAC address to IP address mappings
[Discuss (0) | Link to this hack]


O'Reilly Home | Privacy Policy

© 2007 O'Reilly Media, Inc.
Website: | Customer Service: | Book issues:

All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.