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

Re: Can not reach 'piratebox.lan'

$
0
0
Yes, Mattias! Below the "lusb":

Bus 001 Device 022: ID 03f0:5307 Hewlett-Packard (Pendrive)
Bus 001 Device 021: ID 413c:2107 Dell Computer Corp. (keyboard)
Bus 001 Device 020: ID 2001:330d D-Link Corp. (Wireless N Nano USB Adapter)
Bus 001 Device 019: ID 413c:3012 Dell Computer Corp. (keyboard)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Best regards Edson

Re: Can not reach 'piratebox.lan'

$
0
0
Hi,
sorry, you have a model using that rtl8192cu chipset, which is not 100% supported (found here).
Try to exchange the hostapd.

If you want to try something new,
download the following file: hostapd-8192cu-0.8_rtw_r7475.20130812_beta-3-armv6h.pkg.tar.xz
I built this for the new LibraryBox image.

You have to download this on your computer and bring it somehow to the Pi. One option is to copy it over to an USB Stick, and plug this on your Pi and do

mkdir -p /mnt/usb
mount /dev/sda1 /mnt/usb
cp /mnt/usb/*pkg* /root/

Then you have to run the following commands to exchange the hostapd stuff:

pacman --noconfirm --force -U hostapd
pacman --noconfirm --force -U  /root/*.pkg.*
sed 's#driver=.*#driver=rtl871xdrv#'  -i /opt/piratebox/conf/hostapd.conf

After this run

systemctl stop piratebox
systemctl start piratebox

Ah, and keep crossing fingers.

Matthias

Raspberry Pi Model B+

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

$
0
0
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 ;)

Matthias

Re: Raspberry Pi Model B+

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

$
0
0
the Arch image of PirateBox is not compatible to the RPi+

that is known.

I meant to install PirateBox on a plain fresh image

Re: USB storage, How on current image (8/6/14)

$
0
0
Hi! How do you add that line to the /etc/fstab? I can not seem to access it.

Thanks.

Can not reach 'piratebox.lan' solved!

$
0
0
Success, Matthias ... I tried the "something new" as you suggested! Downloaded the "hostapd-8192cu-0.8_rtw_r7475.20130812_beta-3-armv6h.pkg.tar.xz"and ran the five commands "mkdir-p / mnt / usb
mount / dev / sda1 / mnt / usb
cp / mnt / usb / * pkg * / root / "and then" pacman --noconfirm --force -U hostapd
pacman --noconfirm --force -U /root/*.pkg.*
sed 's # = driver. * driver = # # rtl871xdrv' /opt/piratebox/conf/hostapd.conf -i ".

The first "pacman --noconfirm --force -U hostapd" returned "unsolvable conflict". So I removed the "--noconfirm" and submitted again. Everything ran smoothly and after some time, BINGO! Gold Medal!

I now have a "PirateBox" in the air, on the Raspberry Pi.
Thank you and congratulations! Glad Tidings! You can spread this to the whole world!

Best regards, Edson

Banana Pi is there an image

Re: Banana Pi is there an image

$
0
0
Hi,
no.
I tried my luck with the CubieTruck, got it working but scheduled a working image for later

Matthias

Re: USB storage, How on current image (8/6/14)

$
0
0
Hi,
use "vi" or you can add it like this

echo "/dev/sda1 /mnt/usbdrive vfat user 0 0" >> /etc/fstab
Make sure that you have two > !

Matthias

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.

Re: Raspberry Pi Model B+

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

command failure

$
0
0
so, i was setting up my pi(rate) box, and when i issued the command "systemct1 enable piratebox" and got the error "command not found". i'm ssh'd from my ubuntu desktop to my pi, there is definitely a connection, so i'm not sure what the problem is.

Re: command failure

$
0
0
It is a lower case L, not a 1, the correct command is
systemctl enable piratebox

Files gets removed after reboot

$
0
0
Hello!
after I have uploaded files and restarting the pirate box the files just disappear as if they would be tmp files. so my question is how do I make them be save permanently? (raspberry pi b+ raspbian)
thx

Re: Files gets removed after reboot

$
0
0
Hi Nekros,
I'm wondering about that.
How did you setup your raspbian-PirateBox ?

during a startup the following types of files will be deleted:

1. Starting with tmp
2. Files with filesize 0 Bytes

regards Matthias

Re: Files gets removed after reboot

$
0
0
i just followed this guide: [piratebox.aod-rpg.de]
and then linked /opt/piratebox/share/Shared whit my usb
but yeah all the files i upload starts whit tmp!

Re: Files gets removed after reboot

$
0
0
Was the filename tmp.... on purpose or does it resolve like this and it is not wanted?
There is currently a bug in iOS 8.0 about unfinished file uploads, that would result on PirateBox in tmp.... filenames.

Re: Files gets removed after reboot

$
0
0
(im using android v4.4.4)
when i upload a file for example called "Free.mp3" the name changes to: "tmp_3698-Free-231135750.mp3"



UPDATE
did a test whit my laptop and it worked it diden't rename it, and the file is still there after the reboot! seems to be a bug with android as well then?
Viewing all 1863 articles
Browse latest View live