maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] PirateBox for Harmattan (https://talk.maemo.org/showthread.php?t=88059)

knobtviker 2012-11-29 12:37

[Announce] PirateBox for Harmattan
 
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:
http://i.imgur.com/HaH8K.png
http://i.imgur.com/l6dka.png

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! :cool:

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 :)

brkn 2012-11-29 12:38

Re: [Announce] PirateBox for Harmattan
 
PirateBox for N9 changelog:

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

coderus 2012-11-29 12:54

Re: [Announce] PirateBox for Harmattan
 
dhcp not working.

coderus 2012-11-29 12:57

Re: [Announce] PirateBox for Harmattan
 
created manual connection to 192.168.99.1 255.255.255.0 192.168.1.10, connected, but no piratebox in browser.

knobtviker 2012-11-29 13:09

Re: [Announce] PirateBox for Harmattan
 
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?

brkn 2012-11-29 13:12

Re: [Announce] PirateBox for Harmattan
 
Quote:

Originally Posted by coderus (Post 1299663)
dhcp not working.

Output of
Code:

ls -l /var/lib/misc/dnsmasq.leases
and
Code:

ps a | grep dnsmasq | grep -v grep
please.

thedead1440 2012-11-29 13:39

Re: [Announce] PirateBox for Harmattan
 
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 :D
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 :o

knobtviker 2012-11-29 14:59

Re: [Announce] PirateBox for Harmattan
 
First post updated with a DEBUG version.
Help us to help you. :)

HtheB 2012-11-29 16:06

Re: [Announce] PirateBox for Harmattan
 
like like!

coderus 2012-11-29 18:16

Re: [Announce] PirateBox for Harmattan
 
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



All times are GMT. The time now is 07:13.

vBulletin® Version 3.8.8