Tag Archives: rural internet

Technology down on the farm…

This is a blog about using technology to make life – business and home – better in rural America.Rural Life - with the Internet

My interest is in networking, and, particularly, wireless networking. I realized some time back that a huge shift has occurred in the way everything is communicated: it is now possible and even desirable to put all communications media onto Internet Protocol (IP) so you have only one communications network. I also realized that wi-fi and other wireless networking is being grossly underutilized, especially in the country.

My specific interests include:

  • Networking – both Local-Area Networks (LAN) and Wide-Area Networks (WAN)
  • Computers – but these days, mostly as communications devices
  • The Internet – all the things you can do with it
  • Wireless Communications – from Ham Radio to SHF, but particularly low-cost wireless IP networking

When I bought a house a few years back, I thought it was kind of “cool” that the previous owner had gone to the expense to set up an Ethernet network in the house, with jacks built in the walls and wires leading to the “networking closet” (also known as the “laundry room”). Today, only one of those jacks is in use (to support my desktop computer and some other “wired” gadgets) because everything else in the house is on Wi-Fi, and that has happened over a span of about 5 years.

As a matter of fact, the only wires running in or out of our house now are (1) Electricity and (2) Internet. We have AT&T U-Verse, so our phone lines run on IP, our TV is IP, and, of course, our Internet access is IP. So, for better or worse, we are committed.

I have a number of projects I am working on to improve our household and business, as well as helping neighbors and friends. What I’d like to do here is share what I learn for the benefit of all.

Getting on the Internet

If you live in the city, it’s very easy to get “high-speed” internet connectivity (meaning always-on, 1 Mbps or faster) – choose from the available (usually several) methods based on cost, speed, and reliability.

In the country, however, it’s not so easy – so let’s review the options:

Old acoustic coupler1.) Dial-up using a modem: not a realistic option. First, it’s not “always on,” it’s only on when you dial up, so there are a lot of things you cannot do. Second, the speed you can achieve is dependent on how far away your local telephone switching station is; maximum modem speed is about 56 kilobits per second, and, practically, you might be lucky to get half that. It’s OK for getting and sending “conversational” emails, but it can take a long time to download a webpage, simple document, or large picture.

Cable Modem2.) Cable or DSL: probably your best bet IF you can get it. You have to be within a certain distance of a telephone or cable TV facility, and most rural residents don’t qualify. Cable and DSL usually provide the fastest speeds and best reliability if you can get it, though.

Fixed Wireless Antenna on home3.) Fixed Wireless (also known as WISP for “Wireless Internet Service Provider”): Next best option, because you can get good speed and reliability without wires. The problems here are that not all WISPs are created equal, and not all places are served by a WISP. What WISPs do is set up towers with radios on them, then install a radio on your house (known as “Customer Premises Equipment” or “CPE”) to “talk” to the radio on the tower. If you are in direct line-of-sight to a nearby  tower, and the tower is operated by a good WISP, this can work very well. If not, it’s not  a good option. There is a coalition of WISPS called WISPA – you can check their website for a WISP near you – see the links to the right.

USB AirCard4.) Cellular (or Mobile Wireless): OK, but can get expensive. Cellular companies sell “Air Cards” – typically USB devices that plug into a laptop computer to provide Internet access via the cellular network. They used to be very slow, but “3G” networks now routinely provide better than 1 Mbps, and new “4G” networks may provide many times that speed. While an Air Card is designed to be plugged into a laptop,  you can also plug them into special routers from NetGear, Kyocera, Cradlepoint, and others to provide a more “normal” Internet connection (one to which you can connect several computers). Some of the cellular companies are selling routers with the Air Card built-in as a way of getting into the home internet market – Clear (the company that provides WiMax connections through Sprint) is one of those companies with their new “Clear Modem.” Several cellular companies (Verizon being the one I’m familiar with) are selling the “MiFi” device that creates a wi-fi hotspot from an internal cellular data card. Unfortunately, the MiFi devices I have seen don’t have an Ethernet port, which limits their usefulness.

Satellite Dish5.) Satellite Internet: OK, but introduces a problem called “latency.” Satellite internet is available anywhere you have a clear view of the southern sky, so it has been the method of choice for rural households for some time. The problem is that the satellite is over 35,000 miles away, and a packet has to go all the way from your computer, 35,000 miles up to the satellite, 35,000 miles back down to the ground, to the server you are “talking to,” and then the response has to travel 35,000 miles back up to the satellite and 35,000 miles back down to you, and all of that takes about a second or more. While a second doesn’t make much difference if you’re just browsing a web page, it makes using Voice over IP applications like Skype or gaming services like Xbox Live impossible.

Once you figure out which option is best for you, the company will set you up and you’re on the Internet. Now the fun begins…

Gettin’ rural with it…

Up to now, honestly, everything I have written about is equally applicable to anyone, rural or urban. But this is where that ends…

If you live in town, once you have a network that spans your house and yard, you’re pretty much done. You might want to put up cameras around the house or link in your watering system so you can control it over the internet, but, once you have the router set up, the network-building part is finished.

If you live in the country, though, you typically have a house, a garage, a workshop (or two), offices, barns, stables, and a wide variety of other possible outbuildings, as well as fields, storage facilities, waterways, etc.

Your $35 wireless router will not reach all these places, and a $200 router will only do slightly better. Nor is “hard-wiring” an option: Ethernet can only go 100 meters, and, although fiber cable can go farther, running cable is a difficult and prone to needing repair (critters seem to love cable, especially for lunch).

Wi-fi is the answer, but not the typical wi-fi router. A typical “consumer-grade” wi-fi router has an output power of 60 milliWatts (mW), or 0.06 watts, to a 2 deciBel omnidirectional antenna, which gives it an “Effective Isotropic Radiated Power” (EIRP) of about 100 mW or 0.1 Watts. If that doesn’t sound like much, that’s because it’s not – it is designed to provide a wi-fi signal inside a suburban house while not interfering with the house next door.

The Federal Communications Commission (FCC) and Industry Canada (IC), however, allow unlicensed “point-to-multipoint” stations on 2.4 GHz, like a wi-fi access point, to operate up to 1 Watt of power to a 6 dB antenna, for a total EIRP of 4 watts.

Now, 4 watts is going to go a lot further than 100 mW, and there is no restriction to how many of these higher-power devices you use. So we are faced with two problems:

  1. Where do I find a device with a whole lot more power?
  2. What do I do to get the most range out of it?

The first one is easy: there are a few companies out there building high-power, low-cost access points for the Wireless ISP (WISP) market. The second one, however, is a little tougher.

Wi-fi, at least the “b,” “g,” and “n” variants operate at 2.4 GHz (“n” can also operate simultaneously on 5.8 GHz), which is a very high radio frequency. For reference, cell phones operate at 0.8 GHz (sometimes at 1.9 GHz.), and FM radio operates at 0.1 GHz (100 MHz).

A friend of mine told me it’s best to think about it this way: the higher the frequency, the more radio waves behave like light. Lower-frequency radio waves will “bend” around or pass right through obstacles, but high-frequency radio waves will be weakened (“attenuated” is the technical term) by any solid objects. How much they are attenuated depends on the object, but, in general, the more solid, dense, and metallic the object, the more it will attenuate the signal. Metal is the worst – it is possible to build a structure with metallic mesh that you can see through but will stop almost all radio emissions from entering (called a “Faraday Cage“)

So, to get the best range from your wi-fi access point, you want to have it outside, so it doesn’t have to pass through the walls of your house.

However, the radio waves don’t all follow a completely straight line from transmitter to receiver – it turns out that they are distributed in the air in a football-shaped regionFresnel zone image between the transmitter and the receiver called the “Fresnel Zone.” For short distances, the Fresnel Zone is not that important, but, once you get out over 100 yards or so, it becomes increasingly important: for “good” radio transmission (constant contact with the source and a good rate of data transmission) you want to have the Fresnel Zone 80% open; to just have a fairly reliable connection, it needs to be at least 60% open.

What this means, for instance, is, even if you can see the antenna above a dense stand of trees, you may not be able to access the wi-fi access point from your computer because the trees are disrupting too much of the Fresnel Zone. Indeed, if you have the access point out in the open but only 4 feet off the ground, the ground will start to be more and more of an obstacle as you get further away.

The size of the Fresnel Zone increases as the distance between the transmitter and the receiver; for instance at 2.4 GHz and a distance of 1 mile, the Fresnel zone is approximately fifty feet across.

The keys, then, to getting the a wi-fi signal out to your garage, office, workshop, and stables are:

  1. Getting a powerful wi-fi signal to start with; and
  2. Removing as many obstacles as possible from the path between your wi-fi access point and your computer.

We’ll look at that first one in the next post.

High-Power Wi-Fi

So, in order to use the Internet from all over your property, you need something a little more powerful than your typical wifi router. But what, exactly?

If you’re like me, the first thing you do is go to Google and search for “high power wifi” or “long-distance wifi” or something like that, and you get back… almost nothing useful. The searches return (at least as of the time I am writing this) numerous pages of links to industrial-grade wi-fi systems (for tens of thousands of dollars), do-it-yourself projects (“build a wifi antenna out of cans and baling wire), high-power indoor wifi routers (e.g. Bountiful and others), and high-power wi-fi adapters for your laptop (so you can access the free wi-fi at the coffee shop from a block away).

A few of the ads are for things like “high-power AP & CPE” which, believe it or not, is what we’re looking for. These ads are aimed at Wireless Internet Service Providers, who use them (usually “tweaked” so they can’t be used for wi-fi access) as Access Points (AP) and Customer Premises Equipment (CPE) – the AP goes on a tower, and the CPE goes on the side of someone’s house to provide them with an internet connection. Because this equipment is meant for use by this rather demanding but low-margin business, they are tough, weatherproof (for mounting outside), and remarkably low-cost.

You’ll see, looking at those links, that there are two general kinds; most of them are directional, which means they have an antenna that “focuses” the radio energy in one particular direction, and some of them are omnidirectional (or don’t have an antenna at all), meaning they cast the radio energy in all directions around the unit.

The funny thing is that folks usually start with a directional unit because they are thinking of getting wi-fi to a specific place (e.g. a workshop) and a directional radio is the obvious way to do that. The problem comes later on when they realize that it’s also useful to have a link to some other place (e.g. a barn) or two (garage, storage building, stable, grain bin, etc.), or just to have internet access all around the house.

Some of these directional devices have external connectors that can be used with omnidirectional antennas. Good examples include the Ubiquiti NanoStation, the EnGenius EOC2611P, and the Deliberant AP-Solo. If you’re uncertain about how you want to proceed, these APs can provide flexibility. You can also start with one of them and simply add more in additional directions; 4-6 of them (depending on the directional gain of the antenna, pointed in various directions) create an omnidirectional signal.

However, best of all is to simply use an omnidirectional access point; my favorites are the Ubiquiti PicoStation 2 HP Ubiquiti Picostationand the PicoStation M2; their cousins the Bullet 2 HP and Bullet M2 are similar, but comes without any antenna or power supply.

These Access Points are quite inexpensive, and they can be used up to half a mile away with a normal laptop. In addition, they have a function called “WDS” that allows you to set up additional APs as “repeaters.” This can allow you to cover a very large area with a WiFi signal, although my own testing shows that the practical limit is two repeaters. The WDS system creates a lot of network “overhead” traffic, and more than two repeaters seems to overload the network.

These high-power APs can broaden the distribution of your internet connection considerably, making a reliable WiFi signal available across your property.  But there is a lot more you can do…

The middle ground between Access Points and Point-to-Point

In the last two posts I have talked about high-power outdoor access points that you can connect to your router and provide WiFi connectivity across a wide area and about point-to-point links that can connect one point to another.

In many cases, however, you want some of each: an access point that can provide good wifi coverage for the buildings around the house, and something that can “pull” that signal out to another building 2 miles away.

I call that piece of equipment a “directional client” but there are really two very different devices that fit this category:

  • A high-powered directional WiFi adapter like the WiFire or the WiFiStation – these plug into the USB port of your computerWiFire adapterWiFiStation adapter
  • A directional WiFi radio that’s really the “client half” of a wireless bridge – for example, a NanoStation – that provides an Ethernet extension of your wireless network.

Here’s how it works: let’s say you have your Access point up on your house, but you need access for a computer or two out in the barn, and the signal just isn’t quite “loud” enough out there. You might just get a WiFire or WiFiStation, put it on the computer, and put the antenna in the window facing the house, so it will pick up the signal better. You might also mount a NanoStation on the outside of the barn facing the house, and then hook up the Ethernet port to your computer. If you have multiple computers, you can attach an Ethernet switch to the NanoStation and run Ethernet to each of them. You can also attach a WiFi access point (another PicoStation, or just a consumer-grade router) to the NanoStation to provide WiFi in the barn – just configure it as a “bridge.”

You may be surprised by how well this works – I have used a NanoStation to connect to a PicoStation 2 HP at well over 2 miles (hilltop to hilltop – nice, clear Fresnel zone).

It should also be mentioned that there are high-power OMNIDIRECTIONAL WiFi adapters – there is a version of the WiFiStation that is both omnidirectional and outdoor-mountable (so you can put it outside the barn or even mount it on a vehicle) and a variety of small USB adapters with big antennas on them (Alfa seems to be one popular brand, and Engenius has a nice one). You can also use a PicoStation or something similar in “client” mode just like the NanoStation. You’ll lose some “gain” because of the lack of directionality, but you won’t have to point the antenna at it – extremely desirable if you are mounting on a vehicle.

Next – on to the REALLY good stuff!

The Rural WiFi Mesh Network

Just a few years ago, mesh networks were considered so esoteric that no one would even think of using one unless you had wads of money and a cadre of geeks at your beck and call. The notion of someone using a mesh network to provide rural WiFi on a farm would have been laughable.

Some years back, though, those clever kids at MIT decided they wanted a mesh network across the campus (and beyond) at the lowest possible cost. The result was RoofNet, which eventually gave rise to a commercial offering from Meraki and, later, Open-Mesh and, eventually, AyrMesh. These mesh networks all use low-cost WiFi radios and the internet in clever ways to provide a very flexible WiFi “cloud.”

What’s a mesh network?

A mesh network uses multiple Access Points (called “nodes” or “hubs”) which communicate with each other via wireless links. WiFi MeshOne or more of these nodes may be connected to the Internet; they are usually called “Gateway” nodes. Nodes at the outer edge of the network are referred to as “Leaf” nodes, and nodes between the Gateway and the Leaf nodes are frequently called “Repeaters.”

The major features of a mesh network are:

  1. Practically unlimited expansion – you can use mesh nodes to extend your network around all kinds of corners: into buildings, around physical obstacles, and, potentially, across large distances
  2. Simple networking – the mesh can present as a single network, so anything in the network across a broad area can be addressed via its IP address
  3. Easy maintenance and administration – modern mesh networks like the ones we are discussing here use a central “dashboard” on the internet to manage the nodes, so you never have to go out and “touch” a node (unless it physically fails).

Of course, while a mesh network can be expanded almost arbitrarily, it requires additional mesh nodes to do so. One of the most extraordinary things about the mesh systems mentioned earlier is that the nodes are quite inexpensive – from less than $100 apiece to a few hundred. Besides requiring enormous technical expertise, previous mesh networks cost thousands of dollars per node.

The upshot is that, while mesh networks were previously only for the military and large companies, they are now perfectly suitable for your farm or homestead.

A mesh network of a single node is, essentially, equivalent to a single access point. You connect it to an internet source and turn it on, and it behaves much like a wireless router. The big difference is that you can simply install more nodes to “repeat” or “relay” the signal to different areas: further away and around obstacles to line-of-sight. You can also use those additional nodes to connect “wired” devices into the network by plugging them into the Ethernet ports of the nodes.

This makes the mesh network an extremely useful and practical tool for building your “Farm-Area Network.” A mesh network may not be the “be-all and end-all,” and you may still want to use point-t0-point links and directional clients to expand your network. But I believe that a mesh network on the farmstead  is the right place to start.