Wikia

Wireless Wiki

Wi-Fi

Talk4
15pages on
this wiki

Welcome! Wireless Wiki is a practical, comprehensive, and objective resource for wireless communications, particularly wireless access to the Internet, and related wireless technologies (e.g., cellular). Founded by John Navas.

Click to Search Wireless Wiki with Google

Contributions and corrections are encouraged and appreciated, but please first visit our Community Portal for Important Policies on Content, Style, What we are, What we aren't, and answers to your questions.

This article covers the practical aspects of wireless access to the Internet via Wi-Fi.

Tip: See also Fast Fixes to Wi-Fi Problems, Wi-Fi How To, and Wi-Fi on a Boat


Data is sent over various radio frequencies depending on the service. Typical Wi-Fi connection speeds are 11 and 54 Mbps. In practice, throughput is about half the connection speed. Wireless Networks basically consists of computers equipped with wireless NICs, which may be USB, PCI, Mini PCI, CF card, PCMCIA/CardBus, or other interface. Connectivity to a wired network requires a wireless access point (AP) used as a bridging device. Connectivity to the Internet usually requires a wireless router, which includes an access point. AP's are typically located near the centre of the wireless client concentration. ==

Related Resources Edit

The TWO Rules of Wireless Networking Edit

  1. It always goes as fast as they say it does
  2. It always goes as far as they say it does
[Wireless Networking Need To Know 2006]

Getting Started Edit

See Wireless Networking Need To Know 2006

Wi-Fi Network Types Edit

Infrastructure Edit

Infrastructure

Star topology of
Infrastructure WLAN

The network topology of an Infrastructure Wireless LAN (WLAN) is a point-to-multipoint star, with a single central controller (wireless access point or wireless router), and one or more wireless clients.

  • Clients can connect to one and only one access point, and not to other clients.
  • An access point can only connect to clients, not to other access points.

Some products can be switched between different modes; e.g., either an access point or a client bridge, but not both at the same time.

Most Wi-Fi WLANs are Infrastructure.

Ad Hoc Edit

AdHoc

Full Connected topology
of Ad Hoc WLAN

The network topology of an Ad Hoc Wireless LAN (WLAN) is fully connected matrix, with two or more wireless clients connecting to each other, without any central controller.

Connecting an Ad Hoc network to other networks (e.g., the public Internet) typically involves bridging or routing in one of the wireless clients (e.g., Windows Internet Connection Sharing) to some other network connection.

 == Wi-Fi Channels ==

Wi-Fi uses spectrum near 2.4 GHz, which is standardized and unlicensed by international agreement, although the exact frequency allocations vary slightly in different parts of the world, as does maximum permitted power. However, channel numbers are standardized by frequency throughout the world, so authorized frequencies can be identified by channel numbers.

     
Wi-Fi Channels
 Channel  Center Freq (GHz)  Americas  EMEA  France  Israel  China  Japan 
12.412YYY YY
22.417YYY YY
32.422YYYYYY
42.427YYYYYY
52.432YYYYYY
62.437YYYYYY
72.442YYYYYY
82.447YYYYYY
92.452YYYYYY
102.457YYY YY
112.462YYY YY
122.467 YY  Y
132.472 YY  Y
142.484     Y


  • EMEA = Europe, Middle East and Asia (except where otherwise specified)
  • Maximum permitted power varies by region.
  • Channel spacing is 0.005 GHz (5 MHz), except for channel 14 (which is ignored for much that follows).
  • Each channels overlaps its neighbors, with the amount of interference decreasing the farther apart they are.
  • Most interference is with the two adjacent channels in each direction (above and below); e.g., channel 6 mostly interferes with channels 4, 5, 7 and 8.
  • There is significant interference with two more channels in each direction; e.g., channel 6 also has significant interference with channels 2, 3, 9 and 10.
  • There can even be some interference beyond four channels in each direction, particularly with strong transmitters; e.g., channel 6 can interfere with channels 1 and 11.
  • As a good rule of thumb, there should be minimal interference between channels that are five numbers apart, except channel 14, which has minimal interference with other channels.
  • In the USA:
    • There are three minimum interference channels: 1, 6, 11.
    • For four channels with somewhat more interference that may still be usable, channels can be three or four numbers apart:
 
Option #1 Option #2 Option #3
1, 4, 7, 11 1, 4, 8, 11 1, 5, 8, 11

References:

Wi-Fi Hardware Edit

Wireless Access Point Edit

A Wireless Access Point (AP) is the central bridge device used in an Infrastructure (as opposed to Ad Hoc) wireless network. (See Wi-Fi Network Types) Traffic from the wireless side of the bridge is sent to the Ethernet (wired) side of the bridge, and vice versa. The wireless access point controls all traffic with wireless client radios.

Note: A wireless router, which is often less expensive than a wireless access point, can be configured to work as just a wireless access point -- see Wi-Fi How To Use a wireless router as a wireless access point.

Wireless Router Edit

A wireless router typically consists of three sections:

  1. Ethernet router, including:
    • DHCP client and server
    • NAT(PAT)
    • Firewall (sometimes, not always -- NAT alone is not a real firewall)
  2. Ethernet switch
  3. Wireless access point (radio)

Some boxes also include either:

Note: A wireless router, which is often less expensive than a wireless access point, can be configured to work as just a wireless access point -- see Wi-Fi How To Use a wireless router as a wireless access point.

Wireless Bridge Edit

All 802.11 wireless is bridging, where everything is done on Layer 2. IP addresses are used only for configuration of the access points. Wi-Fi encapsulates 802.3 Ethernet packets inside 802.11 wireless packets.

Wireless Bridge Types Edit

Common client radio used in workstations, laptops, and PDA's. Limited to connecting one computer to an infrastructure access point.
  • Multiple MAC address client adapter
Client wireless adapter that can bridge more than one MAC address. Used for connecting more than one computer via a single wireless link to an infrastructure access point.
  • Point-to-point wireless bridge
Two identical radios used to connect two networks. Same as transparent bridge. Will bridge more than one MAC address.
  • Transparent bridges.
Bridges more than one MAC address. Same as point to point bridge.
  • Point-to-multipoint wireless bridge
Three or more identical radios used to connect multiple networks. Bridge more than one MAC address
  • Workgroup bridge
Bridges a limited number of MAC addresses (usually 4, 8, or 16) to an infrastructure access point. (Examples: 3Com 3CRWE675075, 3CRWE83096A, Cisco AIR-WGB352)
  • Game adapter
Muddled marketing term for either a workgroup bridge or single MAC address client adapter. Bridges an indeterminant number of MAC addresses. Some do one MAC, some do more. Good luck.
Store-and-forward repeater. Repeats all packets it hears for a configured SSID. Also repeats all broadcasts. Used to extend the range or coverage of a wireless network.
Simultaneously act as a bridge and as an access point. Used to extend the range or coverage of a network. Wireless users can connect to any WDS bridge as if were an access point. WDS bridge radios talk to each other as if they were transparent bridge radios.
Multiple simple access point radios connected to a central intelligent switch. Offers centralized management and monitoring. Very easy to expand. Note that a switch is a bridge with more than two ports.

Wireless Ethernet Bridges Edit

Note: There are limits on how many units (MAC addresses) these products are able to bridge (even with a separate wired hub or switch). Some (which may be called "game adapter") are only able to bridge a single MAC address. Some (but not necessarily all) bridges able to handle more than one MAC address are identified with multi, with a number in parentheses if the specific limit is known. This information may not be reliable, and should be verified before making a purchase!

Adapter Types Edit

Link Calculations Edit

The easiest way to do this is by example. Your setup and numbers will vary. This is the best case solution, with no consideration for atmospherics, Fresnel zone edge diffraction, folliage attenuation, and non-line of sight effect. Fade margin only gets worse, never better.

We'll use a pair of Linksys WRT54G v4 802.11g with DD-WRT alternative firmware setup as a transparent bridge. This makes it easy because both sides are the same. The transmit output is about +17 dBm. The WRT54G will be mounted in a weatherproof box somewhere near the antenna with a single 3 ft cable (pigtail) using LMR-240 coax with a loss of about 4 dB including connectors.

Next, we gotta do some guesswork. I'll assume that we can live with about 6 Mbits/sec thruput. That means the connection speed will be about twice that or 12 Mbits/sec. The receiver sensitivity varies with the speed and modulation type. The following is from the Dlink DI-624 datasheet but is close enough for most similar 802.11g radios:

 
MbpsTypePERdBm
54OFDM10%-68
48OFDM10%-68
36OFDM10%-75
24OFDM10%-79
18OFDM10%-82
12OFDM10%-84
 
MbpsTypePERdBm
11CCK8%-82
9OFDM10%-87
6OFDM10%-88
5.5CCK8%-85
2QPSK8%-86
1BPSK8%-89

12 Mbps connect speed thus sets the receiver sensitivity at -84 dBm.

PER (Packet Error Rate) is similar to BER (Bit Error Rate) but is easier to measure. You would not want to operate at a 10% PER error rate. 1 in 10 packets trashed is useable, but no fun. This is approximately the same as a BER of 1E105, which is one of the common reference levels for measuring receiver sensitivity. Again, these are measurement reference levels, not operating points.

Next, we must guess the fade margin. Fade margin or system operating margin is how much stronger the operating level is above the receiver reference level. 20 dB is considered to be a good minimum. In other words, your operating signal level must be 100 times stronger than the receiver sensitivity or the link is going to be flaky and unreliable.

The relationship between fade margin and reliability is:

 
SOM dBReliability %Downtime per year
8 
18 
28 
38 
48 
58 
90 
99 
99.9
99.99
99.999
99.9999
876 hours
88 hours
8.8hours
53 minutes
5.3minutes
32 seconds

99% reliability might sound great, but that means your link will be useless for 1% of the year, or 3.6 days per year. Don't go below 20 dB fade margin, which is 70 hours of downtime per year.

Plugging the above guesswork into a suitable Link Calculator and trying various antenna gains until we get a 20 dB fade margin:

 
TX power 
TX coax loss 
TX ant gain 
Distance 
RX ant gain 
RX coax loss 
RX sens 
Fade margin 
 +15 dBm
 4 dB (3 ft LMR-240 plus a mess of connectors)
 unknown
 2 miles
 unknown
 4 dB (same at other end)
 -84 dBm (at 12 Mbits/sec)
 20 dB

yields a minimum antenna gain of +21 dBi. Any less than +21 dBi antenna gain will result in insufficient fade margin and a corresponding loss in link reliability. That makes the required antenna to be a dish. We can use a lower gain antenna by running at a slower speed, shorter coax, or more transmit power at both ends.

Online link calculators:

Performance and Speed Edit

Wireless connection speed and throughput are quite different. The wireless may offer a connection speed of 54 Mbits/sec, but the actual thruput is considerably less, typically less than half. That's because of management packet overhead, 802.11b compatibility, inter-symbol gaps, and necessary timing delays. Also, note that wireless is half-duplex, where only one radio in a given airspace can transmit at a time.

This is taken from an Atheros paper with some additions and corrections.

 
Wi-Fi typeNon-overlapping
Channels
ModulationMax LinkMax TCPMax UDP
802.11b only3CCK115.97.1
802.11g with 802.11b3OFDM/CCK5414.419.5
802.11g only3OFDM5424.430.5
802.11g turbo1OFDM10842.954.8
802.11a13OFDM5424.430.5
802.11a turbo6OFDM10842.954.8

The paper claims that encryption is enabled for these calculations, but the numbers seem to indicate that these number are for encryption disabled. (Don't know for sure.) The maximum TCP and maximum UDP are the theoretical maximum throughput rates. No calculations for Turbo and SuperG modes yet.

There is also a relationship between speed and range. The following table is from a paper by Intel on wireless hotspot deployment for 802.11b/g.

 
Rate MbpsRange ft
1 
2 
5.5
6 
9 
11 
350
250
180
300
250
150
 
Rate MbpsRange ft
12 
18 
24 
36 
48 
54 
200
170
140
100
95
90

The rather optimistic ranges listed are probably with a better than standard omnidirectional antenna and with unobstructed line of sight. There are similar charts in the Intel Wi-Fi hotspot paper for other frequencies and protocols.

Attenuation Edit

Solid objects greatly attenuate (reduce) Wi-Fi radio signals, so clear line of sight is best. The amount of attenuation is expressed in dB, where each 3 dB of attenuation is a power loss of 1/2.

Indoor Edit

Attenuation Properties of Common Building Materials
Building Material 2.4 GHz Attenuation 5 GHz Attenuation
Solid Wood Door 1.75"   6 dB 10 dB
Hollow Wood Door 1.75"   4 dB   7 dB
Interior Office Door w/Window 1.75"/0.5"   4 dB   6 dB
Steel Fire/Exit Door 1.75" 13 dB 25 dB
Steel Fire/Exit Door 2.5" 19 dB 32 dB
Steel Rollup Door 1.5" 11 dB 19 dB
Brick 3.5"   6 dB 10 dB
Concrete Wall 18" 18 dB 30 dB
Cubical Wall (Fabric) 2.25" 18 dB 30 dB
Exterior Concrete Wall 27" 53 dB 45 dB
Glass Divider 0.5" 12 dB   8 dB
Interior Hollow Wall 4"   5 dB   3 dB
Interior Hollow Wall 6"   9 dB   4 dB
Interior Solid Wall 5" 14 dB 16 dB
Marble 2"   6 dB 10 dB
Bullet-Proof Glass 1" 10 dB 20 dB
Exterior Double Pane Coated Glass 1" 13 dB 20 dB
Exterior Single Pane Window 0.5"   7 dB   6 dB
Interior Office Window 1"   3 dB   6 dB
Safety Glass-Wire 0.25"   3 dB   2 dB
Safety Glass-Wire 1.0" 13 dB 18 dB
[Source: 3Com Wireless Antennas Product Guide]

Outdoor Edit

To Do: Please contribute if you can, or check back later for content.

Repeaters Edit

To Do: Please contribute if you can, or check back later for content.

Antennas Edit

Antenna Manufacturers Edit

Do It Yourself Edit

Manufacturers Edit

Belkin Edit

Buffalo Technology Edit

D-Link Edit

Hawking Technology Edit

Intel Edit

Linksys Edit

Motorola Edit

NETGEAR Edit

  • NETGEAR home page
  • WG511 PC Card
    • Version 1 (v1) has about the best range and performance of readily available 802.11g PC Card adapters
    • Version 2 (v2), a different design, isn't as good as Version 1.

3Com Edit

2Wire Edit

3rd-party Firmware Edit

Replacing the standard firmware in certain wireless routers and access points (e.g., Linksys WRT54GL) can provide greatly increased functionality (e.g. hotspot capability) and improved stability, although a fair amount of technical skill may be needed. For specific features and supported products, see:

Replacing the standard firmware in certain wireless routers and access points (e.g., ZyxelP330W) can provide greatly increased functionality (e.g. hotspot capability) and improved stability, although a fair amount of technical skill may be needed. For specific features and supported products, see:

Wi-Fi Software Edit

Connection Managers Edit

Software for rapid changing of network configuration profiles.

Network Monitors Edit

Monitor network throughout, amount of data sent/received, etc. Recommended products are shown in bold.

Site Survey Tools Edit

See Why and How to do a Site Survey

WEP cracking Edit

Wi-Fi Speed Edit

  • The raw speed reported by your wireless network adapter is not necessarily a reliable indicator of actual raw speed. The reason is that transmit speed fluctuates according to the wireless error rate, and when the wireless link is idle, unrealistic speed may be reported (since no errors are occuring when the wireless link is idle).
  • Data can only flow on one wireless link in one direction at any one time, which means that the maximum data transfer rate will be well below half of the raw wireless network speed.
  • To measure Wi-Fi speed, see Wi-Fi How To Measure wireless network performance.

Wi-Fi Safety Edit

Anti-Virus (free) Edit

If you're not already protected, then you're probably already infected!

Resident protection

Online scanners

Anti-Spyware (free) Edit

Run only one resident protection at any given time.
(Multiple scanners are OK, and may be needed in difficult cases.)

Other good anti-spyware (e.g., for on-demand scanning)

Diagnostic tools for spyware

Wi-Fi Security Edit

Wi-Fi Security Myths Edit

Intruder Detection Edit

WEP Edit

  • See Wikipedia:Wired Equivalent Privacy (WEP)
  • WEP can be easily cracked and is not secure. Use WPA instead.
  • WEP keys can usually be entered in either ASCII format (all letters, numbers, etc.) or hex (hexadecimal) format (only 0-9 and A-F), and the difference can result in (frustrating) key mismatch. To avoid this problem, enter all keys in hex (using only symbols 0-9 and A-F).
 
WEP Type (Bits) Number of key characters
ASCII Hex
 WEP64 (40) 5 10
 WEP128 (104) 13 26

WPA Edit

Tip: WPA can be cracked if a weak passphrase is used!
See What Makes for a Strong Password or Passphrase?


SSL/TLS Edit

Software Firewall Edit

  • A good software "firewall" will protect your computer from network attacks, particularly on unencrypted Wi-Fi networks (e.g., public hotspots).
  • If running Microsoft Windows XP:
    1. Update with SP2 (Service Pack 2), and install all security updates.
    2. Make sure the Windows Firewall is enabled for the wireless connection.
  • Good free software firewalls

VPN Edit

VPN (Virtual Private Networking) is used to construct and connect private networks using the public Internet. Communications are secured by means of some type of encryption, depending on the specific type of VPN. In general, there are two kinds of VPN:

  • Remote-access, in which both payload and data are encrypted.
  • Site-to-site, in which only data are encrypted.

VPN Service Providers:Edit

What Makes for a Strong Password or Passphrase? Edit

Wireless Isolation Edit

  • If you want to open up wireless to outsiders (even just a neighbor), look for a wirelesss router with an isolation feature that blocks wireless-to-wired networking, most often found in "hotspot" routers.
  • If you also have wireless devices, then look for a wireless router or access point with a wireless isolation feature that blocks peer-to-peer wireless networking (e.g., NETGEAR WG302).

What is Wardriving? Edit

Wi-Fi Hotspots Edit

Free Public HotSpot Directories Edit

Commercial Hotspots Edit

Special Wi-Fi Applications Edit

Marine Edit

See Wi-Fi on a Boat

Mesh networks Edit

Mesh is a wireless co-operative communication infrastructure between multiple individual wireless transceivers (i.e., a wireless mesh) that have IP networking capabilities.

More information:

Streaming Audio to Home Stereo Edit

Troubleshooting Wi-Fi Edit

Interference Edit

  • Non-interfering Wi-Fi channels
    Closely spaced Wi-Fi channels overlap, and signals on two different channels can interfere with each other, especially when they are less than 5 channels apart, with the amount of interference decreasing with increasing channel separation. (Thus channels 1 and 3 interfere less with each other than channels 1 and 2.) For minimum interference between different Wi-Fi networks, first try channels 1, 6, and 11, which have minimal overlap.

Poor Signal Edit

SSID Conflict Edit

When two networks have the same SSID, wireless devices on one network may try to connect to the other network (because they look like the same network), which can cause problems. This can easily happen when two different networks use hardware from the same vendor with the same default SSID. To avoid such problems, configure a unique SSID for your network that won't conflict with other networks, now or in the future.

MAC Address Cloning Edit

www.javdict.com

Stub: This article is a stub. You can help the Wireless Wiki by expanding it.

Around Wikia's network

Random Wiki