Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all 1863 articles
Browse latest View live

Re: Help with index page

$
0
0
Yes this is true.
The problem is, that the upload-stuff is running on a different port and you can refer correctly in the iframe nor use JS-calls

You can only overcome this problem, If you change your hosts-file at the "hybrid" computer (accessing internet and piratebox at the same time). This file is available in windows, too !

the point is, that you can add the PirateBox DNS service to your internet, connected machine, because it would simply overwrite all dns requests.
Until we have an integrated upload-part, It will as uncomfortable like that.

Sorry. But does that explain it, or am i wrong?

Matthias

RaspberryPi with Realtek RTL8188 and custom hostapd

$
0
0
I bought a TL-WN725N to run an AP on my RPi for a PirateBox. The following page provided a manual to get a custom hostapd, which actually runs with that Wifi USB plug:
[www.jenssegers.be]

now after the installation of the custom hostapd, the binary path for hostapd was
/usr/local/bin/hostapd
which I linked with
sudo ln -s /usr/local/bin/hostapd /usr/sbin/hostapd
so that the piratebox start/stop script can find it.
However, it does not work:
pi@raspberrypi ~ $ sudo /etc/init.d/piratebox start
[....] Starting script piratebox :
Generating hosts file .... 
Generating dnsmasq.conf .....
Generating Environment-config for ligttpd .....
Empty tmp folder
rm: cannot remove `/opt/piratebox/tmp/': Is a directory
[ ok ] Starting hostap... :.
[....]   Setting up wlan:Bringing up wifi interface wlan0 
Setting up wlan0
[ ok ] Starting dnsmasq... :.
[ ok ] Starting droopy...:.
Generated HTML-Shoutbox File.
[ ok ] Starting lighttpd...:.
pi@raspberrypi ~ $
after this, no wlan host is visible. There must be some special case for the set-up as explained in "Manual install" in
[piratebox.aod-rpg.de]

what can I do to debug this?

Re: Show us yours!

$
0
0
Here is mine. A Model A Raspberry Pi + D-Link DWA-125 + POWERbank 5v USB rechargable battery pack + USB to Micro USB Adapter.


Re: RaspberryPI USB wifi compatibility list (PC Also)

$
0
0
Just wanted to thank you guys for putting alot of time into this project. Ive been working on a piratebox project
for a about a month already, bricked a tp-link 3220 and succesfully installed PirateBox on my pc work under
ubuntu 13.04. ill post my laptop specs when i get to my room and i also wanted to post a USB Dongle that works.

TENDA W541U V2.0

im currently in afghahnistan and set up a moral harddrive under piratebox: share freely and share this with about
34 people. Im still trying to figure out the whole Kahera board thing. I also ordered a AWUS036NH to cover the
entire 60 foot long tent i sleep in, the last guy stream video at 90kb/s (not bad)

Thank you in advance
Sgt.Jaeger

PS: im working on a project you guys will like. ill post pics and specs after im done.

Re: RaspberryPI USB wifi compatibility list (PC Also)

Re: Temporary Fix for solving problems with ALFA devices

$
0
0
Matthias Wrote:
-------------------------------------------------------
> Then you have not done this step before removing
> /opt/piratebox:
>
> sudo mv /opt/piratebox/share /opt/piratebox_share
>
> for saving your shared data.
>
> Do
>
> mkdir /opt/piratebox/share
>
> to recreate it.
>
> Matthias

Well, I was starting a new one, which is why it probably wasn't working. Did the mkdir and went ahead and started the service and it's working, so thanks.

Is the new image with this built-in on this page:
[piratebox.aod-rpg.de]
Because it's dated as February 6th, so I wasn't sure.

Thanks again for everything you do, Matthias.

Re: Show us yours!

$
0
0

Took awhile, but I've got one running now. Hanging up in my shop, doing a battery runtime test. Had a book carved but the rPi has such a huge footprint it won't fit. Will come up with something to store it in later. Have several of those battery packs. Considering gutting them or finding a way to manage multiple microUSB power connections attached to it.

That battery I had attached to it lasted about 2.5 hours. It's a 2000mah battery. I wonder how complicated it'd be to gut those and daisy chain them together. There's a surplus store near me that has a BUNCH of the things for cheap.

Got a solar panel that can run a Pi, too, but don't have an easy way to charge those batteries to boot yet. I'll continue working on it.

Pi-ratebox, wireless, ideas.

$
0
0
I'm working on putting together a piratebox on a Raspberry Pi. It's not gone too badly, but I've encountered a few problems:

1. The hostname 'piratebox.lan' - Android really doesn't like it at all. My tablet wouldn't even consider it a valid name. I changed a few things to go by IP instead, and it worked.

2. I'm using rt5370 USB adaptor and hostapd. It works. It's stable. It's also slow: Of my two cards, one doesn't want to go over 5.5Mb/s connection and the other will sometimes go higher, but doesn't seem to actually transfer data any faster. I'm ordering some alternatives to try off ebay, after a whole day of fiddling with hostapd.conf settings proved fruitless.

3. I put together a little program that randomises the wireless interface MAC address before hostapd starts. Sneaky. As some of the uses for pirateboxes may involve some covert operation, it seems a good idea: It'd make it harder to track which events a given device pops up at, and it makes pinning ownership on someone harder too.

4. The webpage and chat function seem a little script-heavy. I'm not sure what I can do about that, but I intend to have a go.

Re: Pi-ratebox, wireless, ideas.

$
0
0
>>>1. The hostname 'piratebox.lan' - Android really doesn't like it at all. My tablet wouldn't even consider it a valid name. I changed a few things to go by IP instead, and it worked.

Did you try to use a different hostname? Can you confirm that dnsmasq is working correctly?

>>>> 2. I'm using rt5370 USB adaptor and hostapd. It works. It's stable. It's also slow: Of my two cards, one doesn't want to go over 5.5Mb/s connection and the other will sometimes go higher, but doesn't seem to actually transfer data any faster. I'm ordering some alternatives to try off ebay, after a whole day of fiddling with hostapd.conf settings proved fruitless.

I believe that hostapd is not the problematic performance point... hostapd is only announcing the SSID .. I think that the most critical part is the driver & chipset of your wifi card.


>>>> 3. I put together a little program that randomises the wireless interface MAC address before hostapd starts. Sneaky. As some of the uses for pirateboxes may involve some covert operation, it seems a good idea: It'd make it harder to track which events a given device pops up at, and it makes pinning ownership on someone harder too.

What do you want to achieve.. can you exclude that your mac changer does not cause the transfer-speed problems?


>>> 4. The webpage and chat function seem a little script-heavy. I'm not sure what I can do about that, but I intend to have a go.
We know, that the webpage is not the nicest one. What do you mean with "script-heavy"? What do you want to change?
What don't you like (beside the design)?

Matthias

Re: Pi-ratebox, wireless, ideas.

$
0
0
After a good part of a day fiddling, I've worked out the problem with 2: A not-very-good rt5370 driver. Very CPU-intensive. The hint is in the kworker thread that starts taking all available cycles once you push any significent amount through the wireless interface. Some googling shows other pi-users have had the same issue, so just using another wireless adaptor type should do it.

The MAC-changer is useful if you're running the piratebox covertly, snuck into public events or distributing files your government disapproves of, as it provides some level of defence in two scenarios:
- It stops an investigator tying one box to multible events. If you get caught, the MAC could otherwise be used to prove you were also operating the box on previous occasions where it was noticed and logged. This way if you get caught, at least you only get caught for the one time.
- It makes proving ownership harder. Even if you encrypt the filesystem or wipe the SD when you get home, anyone who can sieze your wireless adaptor can just match MACs to prove you are the owner of a device previously recorded.

With MACs changing, any investigator couldn't even tell how many piratebox operators were active - it could be ten people, or just one traveling a lot. I've confirmed that changing MAC isn't responsible for the throughput issue - though I can only give this assurance for the rt5370 as of yet. I've ordered more adaptors to play with.

The webpage I can't comment on much yet, as I've still not gotten it to work. Once I've gotten my roll-your-own done, I'll grab the ready-made image and examine a properly-functional box.

Re: RaspberryPI USB wifi compatibility list (PC Also)

$
0
0
Hey Matthias;

Just got my TP-LINK TL-WN722N. Everything looks fine and no error but i dont see my SSID.
Any suggestion?

SGT.Jaeger

Re: RaspberryPI USB wifi compatibility list (PC Also)

$
0
0
And PirateBox scripts are running?

Please check: ps ax

you should see lighttpd, dnsmasq and hostapd somewhere in the list

Which RPi-Model do you have?

Re: RaspberryPI USB wifi compatibility list

$
0
0
Got the TL-WN722N to work. The issue was the BELKING F5U237 USB HUB i bought. it appear the TL-WN722N doesnt like the
power supply the HUB come with but, the TL-WN722N works fine with the HUB and no power supply. Ill post the LSUSB later after work so you can take a look at it for future reference, and any other info you would like to see.

Re: Installations HowTo - Raspberry

$
0
0
Just gave it a test myself. It works, but what's with the CPU usage on uploading files? Python starts taking up around 80% of the processor time. So severe is this I think it's actually limiting the upload speed. Copying data shouldn't take that much processing power.

Re: Show us yours!

$
0
0
Plug n Play :)



Original 256mb RasPi (OC'd to 950Mhz) - SanDisk 64Gb micro SD - Mophie 6000 mAh battery

Re: Installations HowTo - Raspberry

$
0
0
There. Any thoughts on this one?
[newhome.birds-are-nice.me]

I stripped it of everything I could. The thing runs in about 22MB of ram now, making it pi-A friendly. Also enabled frequency scaling, which should buy a little more time on batteries, and installed my mac-randomiser. Made a very minor change to the page too, just playing around with adding a content warning.

My file is larger only because I used a 4GB card, not having a 2GB to hand. I'd zero free space and compress it better, but I've got to be off to work now.

Re: Show us yours!

PirateBox with Forum

$
0
0
I am loving the PirateBox image for the raspberry pi. But I do have one question. Is there a way to install either a forum or imageboard like with the OpenWRT Image?


That would be very beneficial to my project. Thank you for all the hard work

EDIT: I figured it out. I was forgetting to put this command in correctly /opt/piratebox/conf/piratebox.conf

Raspberry Pi(rate)Box Logo

$
0
0
Just for fun this morning I whipped up some logo ideas for the folks running PirateBox on their Pi.

Re: RaspberryPI USB wifi compatibility list

$
0
0
Hallo Matthias,

D-Link dwl-g122 is working right out of the box, without hub on my pi.

cheers,
Klaus
Viewing all 1863 articles
Browse latest View live