loading
I am currently looking for someone to help out with this blog. I didn't realize the scope that this blog would effect. Hits from countries in political strife and the like, people looking for a way to communicate outside of government control. If you would like to help please send me an email George dot Endrulat at Gmail dot Com.

Friday, May 20, 2011

[TUT]Roll Your Own PirateBox! PirateBoxMobile - xda-developers

[TUT]Roll Your Own PirateBox! PirateBoxMobile - xda-developers
[TUT]Roll Your Own PirateBox! PirateBoxMobile

FORWARDING NOW WORKS! THIS IS NOW FULLY FUNCTIONAL! ALL CREDS TO JOSCHI70!

While reading Gizmodo, I stumbled across an article about the PirateBox, an offline network for sharing files. I wanted to do this, but I didn't want to buy all the supplies. Instead, I decided to use an old Android phone, my HTC Hero (Sprint) that got abandoned after upgrading to an EVO 4G. In reality, any phone with Android, root, and WiFi woill work just fine.
Materials
  • Android Device
  • root
  • Wireless Tether App (market)
  • PAW Server (attached)
  • SDCard
  • Pirate Lunchbox (Not necessary)
  • BatteryPack (Not Necessary)
Instructions
  1. First, get on the internet and download the "Wireless Tether for Root Users" app. This will establish our PirateBox Network.
  2. Set up the name to "PirateBox" or anything you like. Make the network "open"
  3. Download and install the APK below. This version of PAW Server includes PirateBox, and the forwarding stuffz. Credits to joschi70
  4. Make a folder called "piratebox" on the root of the SDCard
  5. Next, Start the Tether app.
  6. Start PAW Server
  7. Finally, test the system out by uploading a file from another device. If all works well, the file will be at the folder called "piratebox" under the "html" folder where the pages are.
  8. EXTRA: For an almost-exact replica of the original PirateBox, place your device in a Pirate lunchbox with a battery pack.
How It Works

This works by the users joining the "PirateBox" network. PAW Server then serves the site. The page uses BeanShell Code because PAW Server does not like PHP and because BeanShell is supported by PAW. In the recent versions, joschi70 has changed PirateBox from a half-working project to a fully-working install-on-the-fly system. He has redesigned PirateBox to an almost-precise replica of the original PirateBox. He is also the one to get forwarding woking, so he deserves all credit for finishing this. I just started it

Other Stuff

NOW MORE PROBLEMS!!!!!11!!1!!!!!!1!!!!1

In order for this to work, you have to use "Wireless Tether for Root Users" and NOT the native tethering in ROMS like CyanogenMOD and MIUI. In fact, DO NOT use a rom with Native Tethering functionality. It screws up the ENTIRE connection to PirateBox. Sense is proven to work, since this was all tested on a Sprint Hero. MotoBlur and TouchWiz are not yet proven.

EDIT: Attached is a "server.txt" without the 2MB limit added by PAW. Rename the "server.txt" to "server.xml". Then, place "server.xml" in "sdcard/paw/conf/server.xml". Also, installation process is alot simpler thanks to Joschi70. He is the developer of PAW and has made an APK with PirateBox built in. His version looks more like the original and works more efficiently.

Original PirateBox: http://wiki.daviddarts.com/PirateBox
Credits to David Darts for inspiring me to roll my own with what I had.

Also, credits to joschi70, the developer of PAW, for the PirateBox bundle AND for fixing forwarding! Now enter any website address and it redirects to PirateBox! YAY and HIGH FIVE to joschi70!

-files if you follow the initial link

kw: mesh, networking, freedom, p2p, internet, bitcoin, asterisk, google, google voice, android, root, free, wireless, data, linux, voip, voice, pirate box



No comments:

Post a Comment