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

Re: Raspberry Pi Model B+

$
0
0
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.

Viewing all articles
Browse latest Browse all 1863

Trending Articles