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

wifi protection/password on raspberry pi help

$
0
0
I have a raspberry piratebox and i would like to add password protection to the wireless. can anyone help me put a password onto the connection, it would help me alot.

Re: wifi protection/password on raspberry pi help

$
0
0
Hi,
try to add those lines to /opt/piratebox/conf/hostapd.conf

wpa=2
wpa_passphrase=123456789
wpa_pairwise=TKIP CCMP

That might enable encryption, but I haven't tried it for myself.

Matthias

{SOLVED} [SSID] Name Change Issue

$
0
0
Hey guys, I set up my raspberry pi(rate) box last night and it was a huge success. Today I wanted to make some changes to it and I was able to do all of them except of 1 change, it won't let me change my SSID name. Like I said earlier, the pirate box worked perfectly, but after I changed the SSID; the network doesn't on any of my devices after I reboot the pirate box. Please help!

hostapd.conf
-----------------------
interface=wlan0
driver=nl80211
ssid=Ph1b3r Piratebox - 100% offline anonymous file sharing!
hw_mode=g
channel=1
#auth_algs=1
#ieee80211n=1

Re: [SSID] Name Change Issue

$
0
0
Nevermind! the SSID name was just too long to show!

Can't Activate Kareha Image and Discussion Board

$
0
0
I (somehow) managed to get myself to step 2 of the Post-Installation, but I have been there for a while. My problem is that, as far as I can tell, the /opt/piratebox/www/board/config.pl does not exist. I need to change the user and pass, but whenever I navigate to that file, it ends up making a blank file with that name. I could change the file manually if I knew how the code inside was supposed to look, but without that I am stuck for now.

Any help would be appreciated.

Thanks

Re: Can't Activate Kareha Image and Discussion Board

$
0
0
Hi there!
Same problem here, but I am sure I dont have this file.
To seek it, go to your home and use: find /opt -name "*.pl" -print
In my case I have only three files, kareha_img_confi.pl, kareha.pl (twice this one, in src and the board).
I have found this: [forum.piratebox.cc]
I'll try it out, and let you know the result!

Re: Can't Activate Kareha Image and Discussion Board

$
0
0
Update:
Works perfectly fine now :).
By the way, using it with RAVPower 13000 mA something like 13 hours of autonomy :D.
Gonna be nice :p

Re: Can't Activate Kareha Image and Discussion Board

$
0
0
Hi everyone,
with which image you encountered the problem?
Maybe I made a mistake while preparing the new image for the raspberry PI.

Paneb, how did you solve it?

Matthias

Re: Can't Activate Kareha Image and Discussion Board

$
0
0
Hi!
First of all, thank you for this tool :).
Then, my hardware: R-Pi B, Wi-Pi as wifi dongle, a FAT32 usb Key (1Go, was not here when I had my problem), SD card Samsung 16Go. Image from: [downloads.piratebox.de] (which need to be rename as a .img on windows, because no file extension).

I think my problem was the USB stick, I plugged a new one, then removed the init_done (I found it by using find / -name "init_done" -print), which was not as you said on the other thread on my usb stick, but in board folder (you said it also anyway ^^). Then I ran the install script again, /opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf imageboard and it works fine. I don't know which are the differences between raspirate and general piratebox, and you should be able to understand if there is a problem better than me :p.
One more point, my SD card 16Go became 100 Mo, as Windows warmed me and checked by the df command once on the Pi :(.
So I used the way there: [davidnelson.me] to grow it, directly from the Pi without any problem, as the df command shows me a root partition a ~14Go now.
But, strangely there is still nothing on the USB key. I am guessing it's only used for the install step by default? Can't find the sda1 neither, but usb-devices seems to show an usb storage, so I am lost on this one. Maybe (it is an anon usb key) it is incompatible with the Pi, but still can help for the install step?

Oh, and rocketman, if you are as enthusiast as me, you might want to customize a little bit the pirate box! Little trick I found, because none of the mount/unmount solution I read fits me, use mv, cp and this kind of stuff to put the files you want to edit in the Shared folder (or upload picture from your personal computer to the box there if you want to add it to the html pages). Then mv and a little bit of chown/chgrp, and your new image works fine in the index.html for example.
P.S : sorry in advance for my mistakes, as a French my English can be hard sometimes x)

Re: wlan0: link is not ready

$
0
0
As a newbie myself, I encountered the same problem. I finally solved it by installing the alternate driver for my USB WiFi dongle. The instructions are on the "Mods" page (http://www.piratebox.cc/raspberry_pi:mods). Scroll down to the "Using Alternative HostAPD binaries and drivers (For tested devices)" and follow the steps listed. Good luck!

Re: wifi protection/password on raspberry pi help

berryboot

$
0
0
Hi, first time posting here, all looks interesting and worth a shot on one of my two new B+ Pis arriving today.
Just as a though as I cannot find the details anywhere.
Can the piratebox be installed in berryboot? Is it sqfs
I ask this as at the moment I have.
1 B pi with 2gig sd card connected to a 1tb hdd (system is on the hdd)
I would like to install on there but just swap the card onto the new B+
Great program 8-)

Re: Really don't get how to set up the USB

$
0
0
I use berryboot which allows me to install on an ext hdd, but not sure if this image is a sqaushfs which is what berryboot uses. Does anyone know if piratebox is compatable?
I have started a new thread called berryboot.

Re: Can't Activate Kareha Image and Discussion Board

$
0
0
Oh, be careful. The first partition of the SD card is FAT and recognizable by Windows. It contains the boot files.. this is missleading. Important is, that you use the customization from the mod page, and enable the storage behind the system partition.

Re: berryboot

$
0
0
The PirateBox Image is using a normal ext4 filesystem, no squashfs-sorry.
But you can setup an external HGG as storage location.

Matthias

Re: Can't Activate Kareha Image and Discussion Board

$
0
0
Ah right, I forgot about the about partition's type! Well I guess it will be still okay, as I only extended the boot partition and not reduced it. Except if by default the data is not stored on this particular partition ?(which actually makes sense :o)
Are you speaking about this page: [www.piratebox.cc] ?
I don't really get this (the PirateBox on SDCard), since all is already on one?
But maybe it would be better to create an other thread, and don't disturb more rocketman10's one ^^.

Re: Can't Activate Kareha Image and Discussion Board

$
0
0
new thread, yes - would be better.

Partition questionning

$
0
0
Hi!

My question is about the partition by defaults on the Pi after this distrib has been installed. I am not new to Linux, but still a beginner, and it's my first time trying to really use my Pi(es), not really the time before. I know the main bases about each kind of partition, mount/unmount system etc.
Anyway, my main concern!
I use a Samsumg 16Go SD card on a Raspberry B (not plus).
>>For the test, I reinstall on a 8Go one, to not erase my config on the first SD card.<<

If I do nothing, I have (when I used df on the fresh 8Go) :
Filesystem----1K-blocks-----Used-----Available-------Use%-----Mounted on
/dev/root -----1929616-------789492----1024056------44%-------/
devtmps-------218384----------0-----------218384-------0% -------/dev
tmpfs-----------222604----------0-----------222604-------0% -------/dev/shm
tmpfs-----------222604----------348--------222604-------1% ------- /run
tmpfs-----------222604----------0-----------222604-------0% ------- /sys/fs/cgroup
tmpfs-----------222604----------0-----------222604-------0% ------- /tmp
/dev/mmcblk0p1- 102182---15488------86694-------16% ------- /boot
tmpfs-----------44524-----------0------------44524-------0% ------- /run/user/0

Moreover, I used fdisk -l to have some more information. It says my disk is on /dev/mmcblk0 and has 7.4Go (which is indeed the case). But I have only two devices listed after, /dev/mmcblk0p1 and [...]p2, first one 100M FAT32 (the boot one if I understood well what you were saying on the other subject), ou 1.9G for the second, Linux type. So I have like 6Go which are... where?

I did some tweaks based on a resize for the root one, so now I have (on my 16Go SD, with some files already in the www/Shared folder as you can see from the used space in the root) :
Filesystem----1K-blocks-----Used-----Available-------Use%-----Mounted on
/dev/root------15082008---1374464---13061548-------10%-------/
devtmps-------218384----------0----------218384----------0% -------/dev
tmpfs-----------222604----------0----------222604----------0%-------/dev/shm
tmpfs-----------222604-----------316------222604 ---------0%-------/run
tmpfs-----------222604-----------0---------222604 ---------0%-------/sys/fs/cgroup
tmpfs-----------222604-----------0----------222604 --------0%-------/tmp
/dev/mmcblk0p1--102182----15488------86694---------16%-------/boot
tmpfs-----------44524-------------0-----------44524-------------0%-------/run/user/0
When I used fdisk _l, I have my disk of 14.8G, the boot device of 100M and the mmcblk0p2 which is 14.7 (full free space)/

I might have mistypes some of the numbers, but the idea is here. I resize the root partition because, as far as I know its there uploaded files are stored.

Did I misunderstood something important? Maybe even if the space is not shown by the partition, it will be slowly fill if needed?

Where are the files that people upload located in the filesystem

$
0
0
Where are the files that people upload located in the filesystem

Re: Where are the files that people upload located in the filesystem

$
0
0
/opt/piratebox/share/Shared

regards Matthias
Viewing all 1863 articles
Browse latest View live