Raspberry Pi Model B+

Posted by krauthaus 
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
Raspberry Pi Model B+
September 22, 2014 02:49PM
Hey guys, is there any way to install piratebox for my b+? Would appreciate help. (With the normal image arch is starting, but no one of my usb ports/network adapters is working.)
Re: Raspberry Pi Model B+
September 22, 2014 04:52PM
Technically is there a way.. but you should have at least network/ethernet port working?
If you are using the arch image, figure out how to use "netctl" - that is the first step to get internet winking smiley

Matthias
Re: Raspberry Pi Model B+
September 22, 2014 05:37PM
Thats the real problem. If i install arch linux only everything works fine. But when i start with the piratebox image the usb ports and the lan port are not working. So i cant use ssh or a keyboard atm. hm.
Re: Raspberry Pi Model B+
September 23, 2014 04:19PM
the Arch image of PirateBox is not compatible to the RPi+

that is known.

I meant to install PirateBox on a plain fresh image


This is only my signature.
Re: Raspberry Pi Model B+
September 30, 2014 05:25PM
So, I have a Raspberry Pi B+ that I'd like to install Piratebox on, but for several reasons I must use the existing image of Raspbian instead of flashing a prebuilt Piratebox image, be it Raspbian or Arch.

I will attempt to build it from source on my B+ and report back with any trouble or successes.

I may be a bit of an edge case- I have a pi with will be actively used, and furthermore, will have an internet connection on wlan0. The piratebox will be run off of a different adapter, wlan1. We'll see what happens.

EDIT

So, I got everything ostensibly installed and working after cloning from Github and following the instructions here:
[piratebox.aod-rpg.de]
Sort of. I decided to put the internet on wlan1 and the piratebox on wlan0 for ease of configuration. if I run:
sudo service piratebox start
It claims to be working, and running 'ip a' shows that wlan0 is now connected to 192.168.77.1. However, when I look for the access point from a phone or laptop, there is nothing to be found.
I will continue to try things and update. Since the B+ is claimed to be incompatible, I will pull my microSD card from my B+ and stick it in my B and see if everything magically starts working.
Update: the Pi B did not magically fix everything. Something is probably misconfigured somewhere.

Startup seems to be having a problem or three:

pi@raspberrypi ~ $ sudo service piratebox start
/etc/init.d/piratebox: 57: /etc/init.d/piratebox: [[: not found
Starting initialize PirateBox Part2..
ln: failed to create symbolic link `/opt/piratebox/www/board/board': File exists
ln: failed to create symbolic link `/opt/piratebox/www/Shared/Shared': File exists
[....] 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
Copy over design files
/opt/piratebox/bin/distribute_files.sh: 41: [: all: unexpected operator
Distribute all into /opt/piratebox/share/Shared
cp: cannot stat `all': No such file or directory
[ ok ] Starting hostap... :.
[....] Setting up wlan:Bringing up wifi interface wlan0
Setting up wlan0
[FAIL] Starting dnsmasq... : failed!
[ ok ] Starting droopy...:.
Generated HTML-Shoutbox File.
chmod: cannot access `ug+rw': No such file or directory
[ ok ] Starting lighttpd...:.
pi@raspberrypi ~ $

Turned out to be a driver issue. I fixed it by following these instructions:
[forum.piratebox.cc]
I can now see the SSID from other devices. They seem to be having some trouble actually acquiring a netowrk address, though. It seems to be a problem with dnsmasq.

FINAL EDIT:
Everything is now working all lovely. Installed the latest RC too.



Edited 6 time(s). Last edit at 09/30/2014 08:12PM by rdsqc22.
Re: Raspberry Pi Model B+
September 30, 2014 06:33PM
Hi,
make sure the default lighttpd is stopped.
After you did that, please use the latest beta package. The current 1.0.0 release contains some bugs, which are already fixed. The link is here: [beta.openwrt.piratebox.de]

regards Matthias


This is only my signature.