Quantcast
Channel: PirateBox Forum - PirateBox OpenWrt
Viewing all articles
Browse latest Browse all 3254

Re: WR703N extroot and swappable storage?

$
0
0
Thanks for sharing me your skill level, because if you were a newbie, I would disencouraged you.

Quote

I See the openwrt.img, and openwrt.swap, I imagine the former is to hold all the additional packages too large to fit on the internal flash? And from a df I'd guess they're mounted as loopback?
correct. We are installing in that loopfile further software like python or lighttpd. These loopfile-mountpoint is included to libpath and path variables, so the software can be used (on PirateBox 0.6 you can install software in it with opkg install -d piratebox ;; on piratebox 1.0 it is opkg install -d ext ,,, because it is not directly depended to piratebox anymore). It is different approach then the usual root-overlay aproach from OpenWRT's wiki, it is sometimes difficult, but sometimes easier in case of problems.

Quote

pbIMG_ws.img I guess hold the piratebox files, again mounted in a similar way?
correct! It contains the content of /opt/piratebox , these is the script "core"

Quote

I did notice that if I boot without the USB drive, but with a blank one, the OpenWRT image and swap are recreated.
yes, I disabled that recreation in 1.0, because it is useless without an internet connection.

Quote

Where can I get the 1.0 that I can install with opkg (or instructions for a local install)?
you find the beta packages including a repository in

[beta.openwrt.piratebox.de]

if you install

Language: PHP
opkg install http://beta.openwrt.piratebox.de/all/packages/pbx-beta-opkg_0.0.5_all.ipk

you install the repository to your opkg-config.

You should install extendRoot:
opkg update
opkg install extendRoot

That only install the scripts and does not create anything. You will find the config file /etc/ext.config where you define the mountpoint for the USB stick in the default installation and all defined folders. Based on this variables, piratebox does its config. (leave /opt/piratebox untouched, I think you really need to change one or two configs)

After you changed the locations, where you want to have your parts of PirateBox-installtion, run
opkg install piratebox

Then it installs piratebox on the root folder with all dependencies. Because you are using normal root-overlay, which we don't use, you should have enough space for all dependend packages.

I never tested that, but if something will went wront, I can point you to the commands, configs and so on to run it manually. In my imagination, it should work like that, but I can't promise anything.

Further links:
PirateBox 1.0 scripts within the OpenWRT package: [github.com]
PirateBox Core scripts: [github.com]
ExtendRoot openWRT package: [github.com]

Viewing all articles
Browse latest Browse all 3254

Trending Articles