Showing posts with label olsr on nanostation 2. Show all posts
Showing posts with label olsr on nanostation 2. Show all posts

Friday, March 20, 2009

Nanostations, OLSR, and OpenWRT

Well, it has been an interesting period of time since my last post.

Please understand that I have been simultaneously working on the technical aspects of the Ayrstone AyrMesh(TM), updating the web page, writing the business plan, and preparing to show the product at the World Ag Expo in Tulare, CA.

So, first, the technology. While OLSR does definitely work on Ubiquiti's AirOS, the odd fact is that they have somehow messed with MadWiFi so that you cannot create a VAP running in adhoc or ahdemo mode. This, of course, effectively prevents the creation of a mesh network using AirOS.

Ubiquiti must have had some very good reason for doing this, but I have not yet had the temerity to ask them.

I decided at this point to start working with the open-source OpenWRT OS, a Linux distribution originally built for the Linksys WRT54G. It has been ported to the Atheros chipset used by Ubiquiti and runs very well on the NanoStations while providing a lot more control. I started by studing two existing meshing packages: RoBIn and NightWing. From them I was able to figure out how to build a version of OpenWRT that (1) fits in the 4 MB space on the NanoStation and (2) does what we want it to do. So far it's working very, very nicely.

A very nice added bonus is that it works perfectly on the new Ubiquiti Bullet2HP, which is better-suited to our purposes than the NanoStation. I have one of the early units, and it is working very well.

In the meantime, we showed the Ayrstone AyrMesh at the World Ag Expo and were very well-recieved there. People asked what we had and, when we explained, were simultaneously very surprised and very interested. Those who were able to fully understand the capabilities and potential of the concept were eager to try it out, although, in fairness, not everyone really understood it. This is the bane of the high-tech marketer's existance: figuring out how to explain technology so that people understand the full potential of the device - the facsimile machine being a "classic" example.

Meanwhile, we are polishing up the business plan and starting to look for funding. Anyone with a few hundred thousand that you'd like to use to buy into the next high-growth agricultural technology company, please form an orderly line...

Monday, January 5, 2009

OLSR on NanoStation 2

As noted earlier, I built the Nanostation firmware for the Nanostation 2 using the code and directions found here: https://wiki.graz.funkfeuer.at/UbntStations

You can get the code for the NanoStation 5 there, of course, and I have posted my build of the code for the NanoStation 2 here.

Please let me know if you want to try it out - bmoffitt "at" bmoffitt "dot" com

Friday, January 2, 2009

More from Radio Boy...

A friend of mine, a few Christmases back, bought me a couple of old serial books, part of the "Radio Boys" series, about a group of boys experimenting with radios (new-fangled, high-tech stuff). They make me smile every time I look over at them - from the 1920s, the language is somewhat odd, but the stories are cute.

I'm trying to find the "perfect" radio system for this product. The perfect radio system will be no-config - just power it up and it will figure out its role. Each node should automatically configure itself as a gateway, repeater, or client (or, even better, repeater-client). I know this is possible, because the Open-Mesh boxes do it. They're just not suitable for outdoor use.

So far, the Ubiquiti radios (I have been testing the NanoStation 2) have won the day - mostly open-source firmware, with a very nice SDK for developing new extensions. The only problem is that the only "meshing" protocol that comes with them is WDS with STP. It actually works pretty well, and will get the job done. However, it requires more setup than I like (not automatic configuration) and doesn't use the "best" encryption algorithm (WEP vs. WPA).

The Open-Mesh boxes run an interesting mix of software, and they can use either B.A.T.M.A.N. or OLSR as the meshing protocol. I recently changed my Open-Mesh boxes from B.A.T.M.A.N. to OLSR and noticed no difference in performance. Running either of these protocols would seem to be a possible solution, but I'd have to change my NanoStations over to OpenWRT, which I am somewhat reluctant to do.

However, I recently found a fellow in Austria who has ported OLSR to Ubiquiti's AirOS as part of a "free wi-fi network" project - see https://wiki.graz.funkfeuer.at/UbntStations.

So I downloaded the SDK, code, patches, and other files from ubnt.com and from funkfeuer.at, and made myself a firmware file for the NanoStation 2 (on about the fifth try - hey, I haven't done real software development for over 15 years!) I loaded it on to one of the Nanos, fired it up, turned it on, and it was running happily.

There are still some small glitches to be worked out before this solution is ready for prime time, so, for now, we'll keep going with WDS. However, the more I read about OLSR the more excited I am about it. The benefits for the Ayrstone customers are great.