Italiano English
Modifica History Actions

wndwFirstEdition/Chapter1


Add your comments


Where to Begin

This book was created by a team of individuals who each, in their own field, are actively participating in the ever-expanding Internet by pushing its reach farther than ever before. The massive popularity of wireless networking has caused equipment costs to continually plummet, while equipment capabilities continue to sharply increase. We believe that by taking advantage of this state of affairs, people can finally begin to have a stake in building their own communications infrastructure. We hope to not only convince you that this is possible, but also show how we have done it, and to give you the information and tools you need to start a network project in your local community.

Wireless infrastructure can be built for very little cost compared to traditional wired alternatives. But building wireless networks is only partly about saving money. By providing people in your local community with cheaper and easier access to information, they will directly benefit from what the Internet has to offer. The time and effort saved by having access to the global network of information translates into wealth on a local scale, as more work can be done in less time and with less effort.

Likewise, the network becomes all the more valuable as more people are connected to it. Communities connected to the Internet at high speed have a voice in a global marketplace, where transactions happen around the world at the speed of light. People all over the world are finding that Internet access gives them a voice to discuss their problems, politics, and whatever else is important to their lives, in a way that the telephone and television simply cannot compete with. What has until recently sounded like science fiction is now becoming a reality, and that reality is being built on wireless networks.

But even without access to the Internet, wireless community networks have tremendous value. They allow people to collaborate on projects across wide distances. Voice communications, email, and other data can be exchanged for very little cost. By involving local people in the construction of the network, knowledge and trust are spread throughout the community, and people begin to understand the importance of having a share in their communications infrastructure. Ultimately, they realize that communication networks are built to allow people to connect with each other.

In this book we will focus on wireless data networking technologies in the 802.11 family. While such a network can carry data, voice, and video (as well as traditional web and Internet traffic), the networks described in this book are data networks. We specifically do not cover GSM, CDMA, or other wireless voice technologies, since the cost of deploying these technologies is well beyond the reach of most community projects.

Purpose of this book

The overall goal of this book is to help you build affordable communication technology in your local community by making best use of whatever resources are available. Using inexpensive off-the-shelf equipment, you can build high speed data networks that connect remote areas together, provide broadband network access in areas that even dialup does not exist, and ultimately connect you and your neighbors to the global Internet. By using local sources for materials and fabricating parts yourself, you can build reliable network links with very little budget. And by working with your local community, you can build a telecommunications infrastructure that benefits everyone who participates in it.

This book is not a guide to configuring a radio card in your laptop or choosing consumer grade gear for your home network. The emphasis is on building infrastructure links intended to be used as the backbone for wide area wireless networks. With that goal in mind, information is presented from many points of view, including technical, social, and financial factors. The extensive collection of case studies present various groups' attempts at building these networks, the resources that were committed to them, and the ultimate results of these attempts.

Since the first spark gap experiments at the turn of the last century, wireless has been a rapidly evolving area of communications technology. While we provide specific examples of how to build working high speed data links, the techniques described in this book are not intended to replace existing wired infrastructure (such as telephone systems or fiber optic backbone). Rather, these techniques are intended to augment existing systems, and provide connectivity in areas where running fiber or other physical cable would be impractical.

We hope you find this book useful for solving your particular communication challenges.

Fitting wireless into your existing network

If you are a network administrator, you may wonder how wireless might fit into your existing network infrastructure. Wireless can serve in many capacities, from a simple extension (like a several kilometer Ethernet cable) to a distribution point (like a large hub). Here just a few examples of how your network can benefit from wireless technology.

http://wiki.wndw.net/images/figures/en/figure-1.1.png

Figure 1.1: Some wireless networking examples.

Wireless networking protocols

The primary technology used for building low-cost wireless networks is currently the 802.11 family of protocols, also known in many circles as Wi-Fi. The 802.11 family of radio protocols (802.11a, 802.11b, and 802.11g) have enjoyed an incredible popularity in the United States and Europe. By implementing a common set of protocols, manufacturers world wide have built highly interoperable equipment. This decision has proven to be a significant boon to the industry and the consumer. Consumers are able to use equipment that implements 802.11 without fear of "vendor lock-in". As a result, consumers are able to purchase low-cost equipment at a volume which has benefitted manufacturers. If manufacturers had chosen to implement their own proprietary protocols, it is unlikely that wireless networking would be as inexpensive and ubiquitous as it is today.

While new protocols such as 802.16 (also known as WiMax) will likely solve some difficult problems currently observed with 802.11, they have a long way to go to match the popularity and price point of 802.11 equipment. As this equipment that supports WiMax is just becoming available at the time of this writing, we will focus primarily on the 802.11 family.

There are many protocols in the 802.11 family, and not all are directly related to the radio protocol itself. The three wireless standards currently implemented in most readily available gear are:

  • 802.11b. Ratified by the IEEE on September 16, 1999, 802.11b is probably the most popular wireless networking protocol in use today. Millions of devices supporting it have shipped since 1999. It uses a modulation called Direct Sequence Spread Spectrum (DSSS) in a portion of the ISM band from 2.412 to 2.484GHz. It has a maximum rate of 11Mbps, with actual usable data speeds up to about 5Mbps.

  • 802.11g. As it wasn't finalized until June 2003, 802.11g is a relative late-comer to the wireless marketplace. Despite the late start, 802.11g is now the de facto standard wireless networking protocol as it now ships as a standard feature on virtually all laptops and most handheld devices. 802.11g uses the same ISM range as 802.11b, but uses a modulation scheme called Orthogonal Frequency Division Multiplexing (OFDM). It has a maximum data rate of 54Mbps (with usable throughput of up to 25Mbps), and can fall back to 11Mbps DSSS or slower for backwards compatibility with the hugely popular 802.11b.

  • 802.11a. Also ratified by the IEEE on September 16, 1999, 802.11a uses OFDM. It has a maximum data rate of 54Mbps, with actual throughput of up to 27Mbps. 802.11a operates in the ISM band between 5.745 and 5.805GHz, and in a portion of the UNII band between 5.170 and 5.320GHz. This makes it incompatible with 802.11b or 802.11g, and the higher frequency means shorter range compared to 802.11b/g at the same power. While this portion of the spectrum is relatively unused compared to 2.4GHz, it is unfortunately only legal for use in a few parts of the world. Check with your local authorities before using 802.11a equipment, particularly in outdoor applications. 802.11a equipment is still quite inexpensive, but is not nearly as popular as 802.11b/g.

In addition to the above standards, there are a number of vendor-specific extensions to equipment, touting speeds of 108Mbps, stronger encryption, and increased range. Unfortunately these extensions will not operate between equipment from different manufacturers, and purchasing them will effectively lock you into that vendor for every part of your network. New equipment and standards (such as 802.11n, 802.16, MIMO, and WiMAX) promise significant increases in speed and reliability, but this equipment is just starting to ship at the time of this writing, and availability and vendor interoperability is unclear.

Due to the ubiquity of equipment, better range, and unlicensed nature of the 2.4GHz ISM band, this book will concentrate building networks using 802.11b and 802.11g.

Question & Answer

If you are new to wireless networking, you likely have a number of questions about what the technology can do and what it will cost. Here are some commonly asked questions, with answers and suggestions on the listed page.

Power

  • How can I supply power to my radio equipment, if there is no power available? Page 184.

  • Do I need to run a power cable all the way up the tower? Page 180.

  • How can I use solar panel to power my wireless node while keeping it online overnight? Page 184.

  • How long will my access point run on a battery? Page 186.

Management

  • How can I monitor and manage remote access points from my office? Page 165.

  • What do I do when the network breaks? Page 166, 198.

  • What are the most common problems encountered on wireless networks, and how do I fix them? Page 199.

Distance

  • How good is the range of my access point? Page 51.

  • Is there any formula I can use to know how far I can go with a given access point? Page 51.

  • How can I know if a remote place can be connected to Internet using a wireless link? Page 58.

  • The manufacturer says my access point has a range of 300 meters. Is that true? Page 51.

  • How can I provide wireless connectivity to many remote clients, spread all around the city? Page 29.

  • Is it true that I can reach a much greater distance adding a tin can or aluminum foil to my AP's antenna ? Page 101.

  • Can I use wireless to connect to a remote site and share a single central Internet connection? Page 28.

  • My wireless link looks like it will be too long. Can I put a repeater in the middle to make it better? Page 62.

  • Should I use an amplifier instead? Page 60, 99.

Installation

  • How can I install my indoor AP on the top of a mast on my roof? Page 171.

  • Is it really useful to add a lightning protector and proper grounding to my antenna mast, or can I go without them? Page 131, 182.

  • Can I build an antenna mast by myself? How high can I go? Page 181.

  • Why does my antenna work much better when I mount it "sideways"? Page 93.

  • Which channel should I use? Page 15.

  • Will radio waves travel through buildings and trees? What about people? Page 17.

  • Will radio waves travel through a hill that is in the way? Page 22.

  • How do I build a mesh network? Page 41.

  • What kind of antenna is the best one for my network? Page 94.

  • Can I build an access point using a recycled PC? Page 133.

  • How can I install Linux on my AP? Why should I do so? Page 142.

Money

  • How can I know if a wireless link is achievable with a limited amount of money? Page 125.

  • Which is the best AP with the lowest price? Page 123.

  • How can I track and bill customers for using my wireless network? Page 153, 165.

Partners and Customers

  • If I am supplying connectivity, do I still need service from an ISP? Why? Page 27.

  • How many customers do I need to cover my costs? Page 228.

  • How many customers will my wireless network support? Page 49.

  • How do I make my wireless network go faster? Page 64.

  • Is my Internet connection as fast as it can be? Page 74.

Security

  • How can I protect my wireless network from unauthorized access? Page 150.

  • Is it true that a wireless network is always insecure and open to attacks by hackers? Page 148.

  • Is it true that the use of open source software makes my network less secure? Page 156.

  • How can I see what is happening on my network? Page 164.

Information and Licensing

  • What other books should I read to improve my wireless networking skills? Page 242.

  • Where can I find more information online? Page 237.

  • Can I use parts of this book for my own teaching? Can I print and sell copies of this book? Yes. See About This Book for more details.