Can't Activate Kareha Image and Discussion Board

Posted by rocketman10 
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
Can't Activate Kareha Image and Discussion Board
January 04, 2015 05:09AM
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
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!
Update:
Works perfectly fine now smiling smiley.
By the way, using it with RAVPower 13000 mA something like 13 hours of autonomy grinning smiley.
Gonna be nice :p
Re: Can't Activate Kareha Image and Discussion Board
January 05, 2015 06:22AM
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
January 05, 2015 08:46AM
Hi!
First of all, thank you for this tool smiling smiley.
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 sad smiley.
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: Can't Activate Kareha Image and Discussion Board
January 07, 2015 07:01PM
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: Can't Activate Kareha Image and Discussion Board
January 07, 2015 08:58PM
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 yawning smiley)
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
January 07, 2015 09:04PM
new thread, yes - would be better.
Re: Can't Activate Kareha Image and Discussion Board
February 01, 2015 07:05PM
Hi,
I noticed yesterday, that the kareha install files are missing on the latest image file.
See this thread for further information (and a howto).

Sorry for that,
regards
Matthias