Installations HowTo - Raspberry

Posted by Matthias 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Installations HowTo - Raspberry
March 04, 2013 06:10AM
Re: Installations HowTo - Raspberry
March 08, 2013 12:13PM
Your custom image works at mine with a TL-WN722N. Even after an apt-get update && apt-get upgrade. Thank you very much.
anon Wrote:
-------------------------------------------------------
> Your custom image works at mine with a TL-WN722N.
> Even after an apt-get update && apt-get upgrade.
> Thank you very much.


I got it working after i did

# sudo /etc/init.d/piratebox start
Re: Installations HowTo - Raspberry
May 11, 2013 06:29PM
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: Installations HowTo - Raspberry
May 13, 2013 07:29AM
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: Installations HowTo - Raspberry
September 02, 2013 12:30PM
Hello..just signed up to report that the custom image worked perfectly out of the box with a raspberry pi model b version 1 with 256mb ram and a model b vers 512mb ram with a D-Link DWL G122vers E1..perfectthumbs up
Re: Installations HowTo - Raspberry
November 19, 2013 12:49AM
SuriRaven Wrote:
-------------------------------------------------------
> There. Any thoughts on this one?
> [newhome.birds-are-nice.me]
> ig.mod.7z
>
> 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.

Is this available anywhere else, or have you documented how you built it and what you removed?
Re: Installations HowTo - Raspberry
February 20, 2014 08:02PM
Why does the custom image seem broken? Will it be fixed?
Re: Installations HowTo - Raspberry
February 23, 2014 09:59AM
Because a lot of people reported that the system won't boot with the recent image.

When will it be fixed? I'll create a new image, after PirateBox 1.0 is released... and that is waiting for finishing the community page.
Re: Installations HowTo - Raspberry
February 26, 2014 09:26PM
To run the PirateBox on RaspberryPI without Wifi:

Is it crutial to do the modifications before starting it the first time? If yes, why?
Re: Installations HowTo - Raspberry
February 26, 2014 09:51PM
Which modifications are you talking about?
Re: Installations HowTo - Raspberry
February 26, 2014 11:56PM
About those modifications:

piratebox.conf:

DO_IFCONFIG="yes"
DO_IW="no"
USE_APN="no"
# The following can be set to no, too. Depends if the device shouldn't be a DHCP & DNS Server (no redirect to piratebox.lan)
USE_DNSMASQ="yes"
INTERFACE="eth0"
DNSMASQ_INTERFACE="eth0"

/etc/network/interfaces:

auto lo

iface lo inet loopback
iface eth0 inet **manual**


iface wlan0 inet manual
### disalbed for PirateBox
#allow-hotplug wlan0
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
Re: Installations HowTo - Raspberry
February 27, 2014 09:54AM
Yes it is cruital to change the piratebox.conf , because if you don't have a wifi card attached, the setup of the interface will fail and no webserver and other things are started beyond that point.

So you need to change at least the piratebox.conf file, that it doesn't try to start an hotspot. If you want to run the webserver and the upload-tool droopy only- you can switch the config like that:

DO_IFCONFIG="no" 
 DO_IW="no" 
 USE_APN="no"
..
USE_DNSMASQ="no" 
INTERFACE="eth0" 
DNSMASQ_INTERFACE="eth0"

Then only droopy and lighttpd will start.
Re: Installations HowTo - Raspberry
February 27, 2014 12:51PM
So, this works even with a Raspberry Piratebox, that has been used with a USB-Wifi adapter before.

"Before starting the piratebox first timeā€¦" sounds to me like the piratebox has to be virgin for this to work.

Thank you very much for doing all this!
Re: Installations HowTo - Raspberry
March 03, 2014 06:12PM
You are welcome.

No, it only points out, if you don't change the settings before you boot it up first, you may get a not properly running system. That's all smiling smiley

Have fun!

regards Matthias
Will the Kareha-forum, the Fix for IOS 7 (http://forum.daviddarts.com/read.php?9,8927) and this frontend (https://github.com/dsbrooks/PirateBox-FrontEnd) work on the Raspberry Piratebox?

And do you have a guess if and when there will be a new PiRate-box image?
Re: Installations HowTo - Raspberry
April 08, 2014 08:46PM
Yes, yes, and yes.

@time , no not yet.

Sorry... I'm quite busy.

If you are familiar with working on linux command line, you can create an image using my small written howto:

[github.com]

regards Matthias
Sorry, you can't reply to this topic. It has been closed.