Notices


Reply
Thread Tools
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#1
Brkn and knobtviker proudly present you PirateBox for Harmattan devices.
We have been working on this for last two weeks. Initial script was copied over from N900 and rewritten three times from scratch to provide an optimal solution for Harmattan. All this hardcore scripting was mostly done by Brkn.
It's time to test now, so any feedback would be much appreciated.

For those of you who don't know about this project, let us explain what this is and how it works.

What is it?
PirateBox is a self-contained mobile communication and file sharing device. Simply turn it on to transform any space into a free and open communications and file sharing network.

Share (and chat!) for free! Users can anonymously chat and share images, video, audio, documents, and other digital content.

PirateBox is designed to be private and secure. No logins are required and no user data is logged. Users remain completely anonymous - the system is purposely not connected to the internet in order to subvert tracking and preserve user privacy.

How does it work?
Just click on the icon and standby. Once PirateBox is fully operational, there will be a notification along with an icon change. When users join the PirateBoxN9 wireless network and open a web browser, they are automatically redirected to the PirateBox welcome page. Users can then immediately begin chatting and/or uploading or downloading files.

Where are files stored?
Upload/download folder is automatically created in /home/user/MyDocs/Piratebox

You need more info?
Further information, in action videos, images and instructions on PirateBox can be found here:
PirateBox

How does it look like?
This app has no UI! Everything you need is in the web browser. Icon itself and notifications are all you see besides the main page in web browser.
Here are some screenshosts:



Where can I download?
PirateBox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

Here:
Download PirateBox from Dropbox

I want to say thanks?
First, say thanks to Brkn!
Second, say thanks to knobtviker!
If you wish to donate and support further work and scripting, we aren't going to stop you.

Have fun sharing and chatting!

It doesn't work!
Try this debug version with a very simple log (no private data):
Download PirateBox DEBUG VERSION from Dropbox
You can show us what happened uploading or pasting /home/user/piratebox.log

Last edited by knobtviker; 2012-11-30 at 09:39. Reason: Download link updated to PirateBox_0.0.2-12
 

The Following 51 Users Say Thank You to knobtviker For This Useful Post:
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#2
PirateBox for N9 changelog:

v0.0.2-12: fixed chatlog flushing on restart
v0.0.2-11: initial version released for public

Last edited by brkn; 2012-11-29 at 21:08. Reason: changelog
 

The Following 6 Users Say Thank You to brkn For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#3
dhcp not working.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#4
created manual connection to 192.168.99.1 255.255.255.0 192.168.1.10, connected, but no piratebox in browser.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#5
Tested just now and I get a DHCP assigned IP on my Windows7 PC, Nokia 808, Nokia N950(stock, no Open Mode) and BlackBerry PlayBook.
Could it be Open Mode related?
 
Posts: 299 | Thanked: 557 times | Joined on Aug 2012
#6
Originally Posted by coderus View Post
dhcp not working.
Output of
Code:
ls -l /var/lib/misc/dnsmasq.leases
and
Code:
ps a | grep dnsmasq | grep -v grep
please.

Last edited by brkn; 2012-11-29 at 13:41.
 

The Following 3 Users Say Thank You to brkn For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#7
I'm on open mode and having an issue here; clicking on the PirateBox icon starts it with WiFi icon blinking twice and then disappearing... There is a banner as well as a notification that Piratebox has started but it doesn't create the PirateBox network. Opening the browser and clicking on any webpage just makes the system connect to a network and loads said webpage while the PirateBox icon still has red eyes and I haven't stopped it nor has there been any notification of such.

Didn't have this issue on the dev version.

Output of ls -l /var/lib/misc/dnsmasq.leases:

Code:
-rw-rw-rw-  1 root  root  75 Nov 29 21:33 /var/lib/misc/dnsmasq.leases

Edit: After stopping PirateBox I'm unable to connect to any WiFi network; a reboot solves it...Never had this on the dev version too...


Edit 2: Just as you were posting the debug version everything is fine in pirate land
What I did? Well two reboots, started it from terminal and it worked.
Disconnected it and started it as usual and works still.
Rebooted and started from homescreen (no terminal involved) and still works.

Sorry for troubling you

Last edited by thedead1440; 2012-11-29 at 15:32.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#8
First post updated with a DEBUG version.
Help us to help you.
 
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#9
like like!
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following User Says Thank You to HtheB For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#10
Code:
~ $ ls -l /var/lib/misc/dnsmasq.leases
-rw-rw-rw-    1 root     root             0 Nov 30 00:08 /var/lib/misc/dnsmasq.leases
~ $ ps a | grep dnsmasq | grep -v grep
675 nobody     0:00 /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z -1
9870 user       0:00 /usr/sbin/dnsmasq -a 192.168.99.1 --address=/#/192.168.99.1 -z -1 --dhcp
-range=192.168.99.20,192.168.99.40,255.255.255.0,12h --dhcp-option=3,192.168.99.1 --dhcp-optio
n=6,192.168.99.1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1993 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1993 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:252913 (246.9 KiB)  TX bytes:252913 (246.9 KiB)

phonet0   Link encap:UNSPEC  HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP POINTOPOINT RUNNING NOARP  MTU:4000  Metric:1
          RX packets:55512 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24399 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:16302184 (15.5 MiB)  TX bytes:2746128 (2.6 MiB)

wlan0     Link encap:Ethernet  HWaddr 04:A8:2A:1D:03:C5  
          inet addr:192.168.99.1  Bcast:192.168.99.255  Mask:255.255.255.0
          inet6 addr: fe80::6a8:2aff:fe1d:3c5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:64141 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57368 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:28581193 (27.2 MiB)  TX bytes:22847540 (21.7 MiB)

IAP connected
hit any key to exit
/var/run/piratebox_simple.pid: 9873
/var/run/piratebox_chat.pid: 9874
/var/run/piratebox_droopy_server.pid: 9872
/var/run/piratebox_dnsmasq.pid: 9870
/var/run/piratebox_starter.pid: 9790
Restoring network...
Closing PirateBox
exit in 60s
__________________
Telegram | Openrepos | GitHub | Revolut donations

Last edited by coderus; 2012-11-29 at 18:50.
 

The Following User Says Thank You to coderus For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:49.