JASON COX

ARCHIVE

ROOFNET

Originally published May 1, 2006

Purpose -> free community wirelessDesign -> MIT's roofnet mesh network implementation

[2006-05-01]

I have long been fascinated by the idea of community wireless networks. Unfortunately there were a couple things keeping me from starting one. The first was the potential for having to manage it long after the novelty has worn off. I like to start things, but I don't like to be stuck with them :) The second thing was the cost of the hardware required.

The MIT roofnet project addresses the problem of management. It is completely self-organizing. You basically create the hardware, plug it in, and it does the rest. If you have an internet connection, it uses it to provide internet access to the rest of the network. If not, it simply relays traffic from other nodes. Of course the revolutionary thing about it is that it is a mesh network. This means that any node can relay traffic bound for any other node, and there can be multiple possible paths from one node to another. the software figures out the best route for the traffic in real time. If one node is down, the traffic it would have handled is picked up by another node.

Thanks to the efforts of many folks who have figured out a way to run linux on small wireless routers, it is now possible to run the roofnet software on the Netgear WGT634U. A small, cheap wireless router. This means that you can spend $50 and 15 minutes building a fully functional roofnet node. Cheap hardware is key, because the ultimate success of the network depends on having lots and lots of nodes. The more the better.

I started by installing a gateway node on my roof. I used a Netgear WGT634U with an upgraded miniPCI card from Netgate, and a pair of external antennas, housed in a weatherproof box and fed power and ethernet using a single run of outdoor rated ethernet cable. This plugs into my DSL connection and provides internet access to anyone who cares to connect, either with thier own wireless computer, or another roofnet node.

Links:
http://66.93.220.28/ - my rooftop gateway node.
Map of the Los Alamos roofnet network
Map of the White Rock roofnet network
MIT Roofnet project
Netgear WGT634U
Instructions for installing roofnet on the Netgear WGT634U

How you can participate:

Use the network. If you have a computer with a wireless network adapter, and are in range of any of the existing roofnet nodes, you can simply connect to the network and get free internet access. The netowkr name is "roofnet" and there is no encryption, no password. Just connect.

Host a node. If you are in range of an existing node, and can connect to the roofnet network, why get yourself a Netgear WGT634U, and configure it to be a roofnet node. Here are some really good instructions: Instructions for installing roofnet on the Netgear WGT634U I have been getting my Netgear WGT634Us here: JustDeals. They are refurbished and will take about a week to get to you, but they are only $45.

Host a gatway node. If you live within range of an existing node, and have an internet connection, why not offer your bandwidth to the network. It gets faster for everybody, and you get a redundant connection, so if something happens to your DSL or cablemodem, you will still be able to get to the internet. Plus it's just plain good karma.

Get your friends and neighbors involved. The mesh network topology relies on a large number of nodes with many redundant connections between them. The more the better. Every additional node and every additional internet gateway makes the whole network faster and more reliable for everybody.

Where can I get help? The whole point is that there is no central authority for the network. Nobody is in charge. I have created a mailing list for people involved in the Los Alamos and White Rock roofnet networks. My hoope is that we can all join the list and help eachother with problems. Join the list here: Roofnet mailing list.

Cheap and easy outdoor node:

I figured out a super cheap and easy way to make these netgear boxes weatherproof. You can get a plastic 8x8x4 NEMA 4 (basically completely watertight) enclosure from Lowe's for $23. They have these at mouser.com too.

Then get 2 waterproof cable glands from mouser.com. Get the .20"-.39" size. Mouser part number 563-NG-9513.

The trick is that the antennas are soldered to the cards, so what you do is detach the antenna so that it is just dangling by the cable (use wire cutters to snip away the plastic mounting ring), then push it through one of the cable glands. Tighten it down and you essentially have an external antenna without having to pay for pigatils, new cards, etc.

Use the other gland to seal up your run of either outdoor ethernet cable (using PoE) or just send the node 12VDC using outdoor low voltage lighting cable, which is like $8 for 100'. Cheaper than outdoor romex even. It's not round, but the glands have squishy rubber that seales well anyway.

Now just get a couple pole clamps and a piece of EMT conduit, fence toprail, or antenna mast and put that baby on your roof. Radio Shack has tons of antenna mounting stuff - tripods, chimney straps, etc. Be sure to get some good heavy copper ground wire for lightning protection. Attach it to the ground stake by your electrical panel, or pound your own ground rod below the antenna.

With this technique, you should be able to put together a weatherproof outdoor node for well under $100.

FAQ:

1. Is this legal?

Yes. The only thing that we need to be careful about is violating the Terms of Service of the ISPs who provide the connections to the internet. Speakeasy.net specifically allows the sharing of your DSL connection via wireless. There are other ISPs that allow this. If you aren't sure about yours, ask.

2. Is there a security risk associated with putting my computer on this network?

No more than on any other network. The security of you system depends primarily on the security of the software and operating system you run, and how up to date your system patches and virus updates are. This network is not firewalled, but it is NATted. NAT stands for Network Address Translation, and this means that the IP address your computer uses is not an address that can be directly connected to by a computer on the internet. This greatly reduces your chances of being the target of an attack by a person or script coming from the internet.

It can be a concern that any information you send over the network can be seen by a third party. Roofnet is not encrypted, so this is possible. Of course, the internet at large is not encypted either, so anyone along the path of your information can see it. The solution to this is to use SSL, VPN, or other ecrypted tunnelling techniques to encrypt sensitive data. Don't enter any sesnsitive data into a web form unless the site is https - the "s" stands for "secure" and means that the session is SSL encrypted.

3. How can I help if I can;t see a node from where I live?

Put up a node of your own anyway! If you want to use wireless in your house, then why not use a roofnet node instead of a conventional wireless access point? It is just as inexpensive, and much more expandable. If you need more range, just add more nodes. And if the network makes it's way to you in the future, you will be automatically connected.

4. does the antenna have to be on my roof?

No. Ideally we would have so many nodes so close to eachother that simply plugging in a node would allow it to see other nodes. Unfortunately, as the network is being built, we have the need for long range connections (up to half a mile even) and so antennas mounted on the roof help a great deal.