Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
laptop:mods [2017/07/07 07:26] matthias [OpenStreetMap on Piratebox] |
laptop:mods [2017/07/07 07:27] (current) matthias [Modifications for PirateBox] |
||
---|---|---|---|
Line 17: | Line 17: | ||
After this make a ''reboot''. All ''.php'' files are processed, as long as these are placed in the ''/content/'' folder. This folder is located in ''/opt/piratebox/share''. In fastcgi-php.conf, the thread limit is 1, if you run on a multiple core system you may want to increase it. | After this make a ''reboot''. All ''.php'' files are processed, as long as these are placed in the ''/content/'' folder. This folder is located in ''/opt/piratebox/share''. In fastcgi-php.conf, the thread limit is 1, if you run on a multiple core system you may want to increase it. | ||
- | ====== Modifications for PirateBox 1.0 ====== | + | |
==== Change SSID ==== | ==== Change SSID ==== | ||
Line 105: | Line 105: | ||
/etc/init.d/cron enable && /etc/init.d/cron start | /etc/init.d/cron enable && /etc/init.d/cron start | ||
- | |||
- | ==== www offload ==== | ||
- | This option is important for the OpenWRT users. You want a www folder on your USB stick? | ||
- | Put your folder to | ||
- | |||
- | <usb device>/PirateBox/www_alt | ||
- | |||
- | Then install your box or run the following commands on your box | ||
- | |||
- | /etc/init.d/piratebox stop | ||
- | /etc/init.d/piratebox updatePB | ||
- | /etc/init.d/piratebox start | ||
- | | ||
- | The folder is recognized, if the following message apears: | ||
- | <code> | ||
- | ---------------------------------------------------- | ||
- | #### Alternative www folder found #### | ||
- | #### /mnt/usb/PirateBox/www_alt #### | ||
- | #### switching directories #### | ||
- | ---------------------------------------------------- | ||
- | </code> | ||