Wireless File Sharing Without Internet Access
The smartphone continues to play an increasingly important role in search and rescue with all manner of apps available to assist SAR members in the field. More than anything else, I use my phone for land navigation. In fact, unless the weather is really bad, I rarely pull my dedicated GPS out of my bag. With my phone I can easily enter waypoints, scroll around on a map, and even use a decent compass. Earlier, I've mentioned specific apps that are handy, as well as ways to keep your phone powered throughout multiple operational periods, but there still remains the problem of moving data on and off the phone outside of cellular networks, and with minimal client-side requirements. Sure, it is relatively easy to provide FTP access to some command post files, but that would require that end users understand how to FTP and have the proper software loaded. This is not easily accomplished when there is no cell coverage. Enter Piratebox.
Piratebox, and its fork LibraryBox, allow file sharing outside of any internet connection. LibraryBox is a fork of the Piratebox project, and has similar functionality. The differences primarily lie in the ability to upload. Piratebox has a provision for file uploading by others, while LibraryBox is a, primarily, one-way operation; there is no provision for upload. Since it would be nice to be able to easily collect things like GPS tracks from phones, I figured that the ability to upload files would be helpful.
There are a handful of routers that are known to work with the Piratebox software, and I chose the TP-Link MR3040 because it comes with an integrated battery, and charges via a micro USB cable. To build your Piratebox, you flash the router with new firmware (OpenWRT) that has been modified to work with Piratebox, then install the Piratebox software. I won't replicate the directions here, but I followed them on the Piratebox site, and they worked fine.
When you are finished, you are able to share any files on an attached thumb drive. People access the files by connecting to the wireless router (Connect just like you would any WiFi hotspot. This one won't have internet access, though.). Once they are connected, they will be redirected to a browser window that shows a place to view files, and a box to upload files.
The whole install and configuration took about 30 minutes. I did make a few modifications, however. I modified the landing page text to reflect the use in SAR, and I changed the header image. I used the instructions from this thread to accomplish this. I changed the default SSID to "SAR-Files SBSAR" and configured file uploads to go to a different directory using the instructions on this page. Since I didn't want just anybody accessing the files on the Piratebox, I also put a password on the WiFi access using these instructions.
My goal with this project is to make .GPX/.KML files for all search assignments available for download to searcher's phones. Also to be included are PDF maps and other documentation such as photos, track prints, etc. So, rather than getting an assignment, and spending time entering in waypoints and such, the searcher can quickly download his/her area to include on the mapping program on their phone (Backcountry Navigator, Locus, Gaia, etc). The command post would load up the flash drive with the files, plug it into the Piratebox, and set it on the check-in table for SAR members to access at their leisure.
When the team returns, and has tracks and/or photos on their phones, they can connect to the Piratebox again, and upload their files. Later, the command post can pull the thumb drive and download all the files uploaded by the teams. Since everything is done with a web browser, no special software needs to be installed on the end-user's phone. This is key. Any solution that is designed to work outside of internet access, can't require a special app download since there will be no way to download the app without prior planning.
I have yet to try my Piratebox on an actual search, but it won't be long before the call arrives, and I will be able to give it a whirl. I will continue to update the links that I have found useful with this project at https://pinboard.in/u:jlehman/t:Piratebox. All of the links mentioned in this article are there. Drop me a line if you have any questions.
Reader Comments