fix for PirateBox on SDCard

Posted by paul47 
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
fix for PirateBox on SDCard
March 10, 2016 08:22AM
Please, excuse me for my bad english...

Raspberry Pi2, piratebox_rpi2_1.0.7-1.img; sdcard Sandisk 32Go wifi on Netgear WNA1100
I followed this page: https://piratebox.cc/raspberry_pi:mods chapter "PirateBox on SDCard"
It works finely if I type that commands:

wget [github.com]
wget [raw.githubusercontent.com]
chmod u+x lbx_functions.sh
chmod u+x cli_lbx.sh

sudo mv lbx_functions.sh /bin/
sudo mv cli_lbx.sh /bin/

cd /bin

sudo ./cli_lbx.sh do_swapon_step1
sudo ./cli_lbx.sh do_ext_step1



Congratulations for your work!
paul
Re: fix for PirateBox on SDCard
March 10, 2016 03:01PM
Oh, that's cool. Thanks for the information, we need to write that up somewhere :-)
Re: fix for PirateBox on SDCard
March 10, 2016 07:39PM
Whoops! Thank you for your feedback, I added the missing sudos on the mod page!
Eco
Re: fix for PirateBox on SDCard
March 18, 2016 04:35PM
Had no issue.

Run the following commands on your PirateBox as root:
so sudo is not needed.
Eco
Re: fix for PirateBox on SDCard
March 18, 2016 04:46PM
Eco Wrote:
-------------------------------------------------------
> Had no issue.
>
> Run the following commands on your PirateBox as
> root:
> so sudo is not needed.


Just start with;
sudo -i
or
sudo bash

winking smiley
Re: fix for PirateBox on SDCard
March 19, 2016 12:24AM
I followed the steps on that page as well and it seems to be working, however the part of the page that shows how much data has been used is way off. It shows 62% used, but there are only a few jpegs on there.
It should be showing like 2% used. How can I fix this?
Re: fix for PirateBox on SDCard
March 21, 2016 09:06PM
You need to post more information about your system to get an idea what is wrong... and where do you see the counts?

df 
mount 
ls -l /opt/piratebox
ls -l /opt/piratebox/share

best regards
Matthias