Networking for Security, lesson 9 of 12
Wireless links
Sometimes a cable cannot reach: a camera on a pole across a parking lot, a gate at the far end of a yard, a building across the street. A pair of radios can stand in for the cable. This lesson shows when that is a sound choice, what the radio signal needs, and the handful of things that make a wireless link fail months after it was installed.
A link across the parking lot
Pick a situation, then play or step through.
The everyday picture
Imagine sending messages across a valley at night with a flashlight. It works well if four things are true. You can see the other person. Your flashlight is pointed at them. The air is clear, without fog. And nobody nearby is waving flashlights of their own.
A wireless link depends on the same four things. The two radios need a clear view of each other. They must be aimed. Rain and wet leaves weaken the signal as fog dims a light. And other radios on the same channel get in the way.
A cable has none of these problems. So the first rule of wireless is plain: if a cable can reasonably be run, run the cable. Wireless is for the places where it cannot.
Four kinds of wireless link
| Kind | What it is | Good for | Watch out for |
|---|---|---|---|
| Point-to-point bridge | Two radios aimed at each other, acting as an invisible cable | One building to another, or one pole to a building | Needs a clear path and careful aiming |
| Point-to-multipoint | One base radio with a wide antenna serving several remote radios | Several poles around one building | All the remote radios share the base radio's capacity |
| Wi-Fi | A camera joining the building's ordinary wireless network | Homes and very small shops | Shares the air with every phone and laptop. Weak through walls. |
| Cellular | A router that uses the mobile phone network | Remote sites with no other connection, such as a construction yard | Monthly cost and data limits. Video uses a great deal of data. |
The rest of this lesson is mostly about the first two, because they are what a professional installation uses to replace a cable. The two radios of a bridge are sold as a pair or matched in setup. A device plugged into one end behaves as if it were plugged into a switch at the other.
What the signal needs
The first need is line of sight: a straight, unblocked view from one antenna to the other. Stand at one mounting point and look. If you cannot see the other, expect trouble.
Seeing is not quite enough. A radio signal does not travel as a thin line. It spreads into a long cigar shape between the antennas, fattest in the middle. That shape is called the Fresnel zone, said "fre-NEL". Anything that pokes into it, such as a roof edge, a parked truck or a tree, weakens the signal even though you can still see past it. The working rule is to keep at least 60 percent of the zone's radius clear all around the straight line. The calculator further down works out the size.
Three more things weaken a link:
- Water. Rain, wet leaves and wet snow soak up radio energy. A tree in summer leaf blocks far more than the same tree in winter.
- Interference. The bands these radios use are open to everyone, with no license needed. A neighbor's radio on the same channel forces both to slow down.
- Poor aim. Bridge antennas focus the signal into a narrow cone to reach further. A few degrees off, and most of it misses.
Check yourself
A link installed in January works perfectly until June, then drops out on wet afternoons. Nothing was touched. What is the most likely cause?
Bands and signal strength
Radios work in a band, a range of frequencies measured in gigahertz, written GHz. Three bands cover nearly all security links in the United States.
| Band | Character | Typical use |
|---|---|---|
| 2.4 GHz | Passes through walls and leaves better than the others. Few channels, and very crowded. | Indoor Wi-Fi. Rarely a good choice for a new bridge. |
| 5 GHz | More channels and more capacity. Needs a clear path. Parts of the band are shared with radar, and a radio that detects radar must change channel. | The usual choice for bridges from a few hundred feet to a few miles |
| 60 GHz | Very high capacity and a very narrow beam, so little interference. Weakened by the air itself and strongly by heavy rain. | Short, fast links. Often sold with a 5 GHz backup radio built in. |
Signal strength is shown on the radio's status page in dBm. The numbers are negative, and closer to zero is stronger. So −55 is a much stronger signal than −75. As a rough guide for a bridge, a reading in the −50s or low −60s is healthy, the −70s are marginal, and by −80 the link is unreliable. The exact level a radio needs for each speed is in its data sheet.
Radios also adapt. When the signal weakens, they switch to a slower, sturdier way of sending. This is why a struggling link first gets slow and only later drops. It is also why the big number on the box is a best case. Plan on real throughput, the data that actually gets across, being half the advertised rate or less, then apply the 70 percent rule from Bandwidth and video to that.
How much clearance?
The Fresnel zone grows with distance and shrinks at higher frequencies. Enter your link and the tallest thing near the middle of the path.
Fresnel zone calculator
The sum behind it: the radius in feet is 72 times the square root of the distance in miles divided by four times the frequency in GHz. Over paths of several miles the curve of the earth also has to be allowed for, and the radio maker's planning tool does that for you.
Installing it to last
- Power. A radio replaces the data cable, not the power. Most outdoor radios are powered by PoE from a small injector, so the pole still needs an electrical supply for the radio and the camera.
- Mounting. Use a rigid mast or bracket. A pole that sways in the wind swings a narrow beam off its target.
- Lightning and surges. A radio on a roof or pole is exposed. Use outdoor-rated shielded cable, ground the mast, and fit surge protectors where the cable enters the building, following the maker's instructions and the electrical code.
- Security. Change the default password, turn on the strongest encryption the radios offer, and keep their software up to date. An unencrypted bridge sends your video to anyone in range.
- A fallback. Any wireless link will drop now and then. A camera that also records to its own memory card fills the gaps.
Three examples
Simple: a gate camera across a yard
A contractor's yard has a gate 300 feet from the office, across open gravel with nothing between. Trenching would cost more than the camera. A 5 GHz point-to-point pair is fitted, one radio on the office wall at 15 feet and one on the gate post. The signal reads −52 dBm. The camera sends 4 Mbps over a link that measures 150 Mbps, so capacity is no concern. The installer writes "−52 dBm on the day of install" inside the enclosure door.
Medium: Wi-Fi cameras in a shop
A shop owner has four Wi-Fi cameras joined to the same wireless router as the staff phones and the card terminal. The camera by the stockroom, two walls away, drops out several times a day. Its signal reads −79 dBm.
Nothing is faulty. Two walls and a crowded 2.4 GHz channel are too much. The lasting fix is a cable to each camera from a PoE switch, which is the standard answer inside any building where cable can be pulled.
Advanced: six poles around a distribution center
Six light poles in a truck yard each get a camera. The poles have power but no data. A point-to-multipoint system is chosen: one base radio on the roof with a wide antenna, and a small radio on each pole aimed back at it.
The capacity sum matters here, because all six share the base radio. Each camera is limited to 4 Mbps, so the load is 6 × 4 = 24 Mbps. On site the weakest pole reads −68 dBm and the base radio's real throughput measures 80 Mbps. The load is 30 percent of that, inside the 70 percent rule. A truck parking lane crosses one path, so that pole's radio is mounted at 25 feet, above the tallest trailer plus the Fresnel clearance. Each camera also records to its memory card.
From the field
- Survey in the worst season. Look at the path and ask what it will look like with trees in leaf, trucks parked and snow piled up.
- Record the signal level at handover. A reading that has fallen 10 dBm since installation tells you something has moved or grown, before the link fails.
- Aim with the readout, not by eye. Radios show live signal strength for this. Move one end a little at a time, side to side and then up and down, and lock it at the peak.
- Measure real throughput. Most bridge radios have a built-in speed test. Use it, and write the result down.
- Look at what channels are in use with the radio's scan tool, and pick a quiet one.
Common mistakes
- Choosing wireless to save a cable pull that was perfectly possible.
- Checking that the far end is visible and ignoring the Fresnel zone.
- Designing with the speed printed on the box.
- Forgetting that the pole still needs power.
- Leaving the radios on their default password with encryption off.
- Mounting a narrow-beam radio on a pole that moves in the wind.
Summary
- Run a cable when you can. Use wireless where you cannot.
- A bridge needs line of sight and a clear Fresnel zone, not just a view of the other end.
- Water, interference and poor aim are the three things that weaken a link.
- 5 GHz suits most bridges. 60 GHz is fast but short and sensitive to rain.
- Plan on real, measured throughput, and record the signal level on the day of installation.
Exercises
Answer each one yourself first, then open the answer.
Exercise 1. Which signal is stronger, −60 dBm or −72 dBm?
Show answer
Exercise 2. Use the calculator. A 5 GHz link is 1,500 feet long and crosses a single-story building 20 feet tall near the middle. How high must the straight line between the radios be?
Show answer
Exercise 3. A bridge is advertised at 450 Mbps. Following the rules in this lesson, how much camera traffic would you plan to put on it before measuring it?
Show answer
Exercise 4 (think, don't memorize). A customer wants cameras on a warehouse wall 80 feet from the nearest switch, inside the same building, and suggests Wi-Fi cameras "to save the wiring". What do you advise?