Another 'Reinstall Piratebox' topic - MR3040 v2.4 & NoCatSplash/NoDogSplash

Posted by paul 
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
Another 'Reinstall Piratebox' topic - MR3040 v2.4 & NoCatSplash/NoDogSplash
March 03, 2016 01:07AM
Hi,

I've got a MR3040 v2.4 here. The end goal is have default page/splash appear when you connect to the PB Wifi - like when you connect to a hotel's wifi and it ask's you to login before access the internet.

Anyway first things first. I did have a working PB, when connected I could access 192.168.1.1 and see the PB forum page. Not sure what I did, but I broke something - I was playing with SSID and DHCP.

I've tried reinstalling the firmware and PB from USB - renamed /install/auto_package_done to /install/auto_package - but after boot it feels like not all of the software has not been installed e.g. I don't have a /opt folder.

Here's the log output - note the 4th line 'Something happend to extendRoot filesystem'

Jan 1 00:00:48 OpenWrt syslog.info syslogd started: BusyBox v1.19.4
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test_installation_destination
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Testing if installation destination by extendRoot is available.
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Something happend to extendRoot filesystem. Printing debug output...
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Mount output
Jan 1 00:00:48 OpenWrt user.notice root: rootfs on / type rootfs (rw)
Jan 1 00:00:48 OpenWrt user.notice root: /dev/root on /rom type squashfs (ro,relatime)
Jan 1 00:00:48 OpenWrt user.notice root: proc on /proc type proc (rw,noatime)
Jan 1 00:00:48 OpenWrt user.notice root: sysfs on /sys type sysfs (rw,noatime)
Jan 1 00:00:48 OpenWrt user.notice root: tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14592k)
Jan 1 00:00:48 OpenWrt user.notice root: tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
Jan 1 00:00:48 OpenWrt user.notice root: devpts on /dev/pts type devpts (rw,noatime,mode=600)
Jan 1 00:00:48 OpenWrt user.notice root: /dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
Jan 1 00:00:48 OpenWrt user.notice root: overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
Jan 1 00:00:48 OpenWrt user.notice root: debugfs on /sys/kernel/debug type debugfs (rw,relatime)
Jan 1 00:00:48 OpenWrt user.notice root: /dev/sda1 on /mnt/usb type vfat (rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : dmesg | grep sd
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.670000] sd 0:0:0:0: [sda] 7856127 512-byte logical blocks: (4.02 GB/3.74 Gicool smiley
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.670000] sd 0:0:0:0: [sda] Write Protect is off
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.680000] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 08
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.680000] sd 0:0:0:0: [sda] No Caching mode page present
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.680000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.690000] sd 0:0:0:0: [sda] No Caching mode page present
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.700000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.710000] sda: sda1
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.710000] sd 0:0:0:0: [sda] No Caching mode page present
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.720000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 00:00:48 OpenWrt user.notice root: [ 9.720000] sd 0:0:0:0: [sda] Attached SCSI removable disk
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : dmesg | grep loop
Jan 1 00:00:48 OpenWrt user.notice root: [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
Jan 1 00:00:48 OpenWrt user.notice root: [ 31.320000] loop: module loaded
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : dmesg | grep ext
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Exiting box-installer routine
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer_start.sh : Initiating reboot after installation

Does anyone have any tips please?

Once I've got a working PB again, I'd like to install NoCatSplash or NoDogSplash or the like, via I guess opkg install

thanks!
Re: Another 'Reinstall Piratebox' topic - MR3040 v2.4 & NoCatSplash/NoDogSplash
March 03, 2016 02:43AM
After more digging i've made some progress.

As the error message above indicates extendRoot wasn't running..

I had a dig around in /bin/box_installer.sh - after finding where my error message was produced, I ran the command that should have happened in the first place:

/etc/init.d/ext init

This setups a folder on the USB stick.

Next thing to run is the following this will install all the packages
/bin/box_installer.sh -p

But it produced an error, to fix this I needed to rename /mnt/usb/install/auto_package_done to /mnt/usb/install/auto_package

Still another error:
/bin/box_installer.sh : Installing packge
opkg: the ``install'' command requires at least one argument

The install script reads the first line of auto_package to decide what needs to be installed - for some reason my version on my USB was empty, where it should read
extendRoot-piratebox piratebox-mod-imageboard extendRoot-minidlna

I added the above line and re-ran: /bin/box_installer.sh -p

And we're off smiling smiley a whole bunch of stuff it outputted, and the PB reboots a couple of times. I now have the original SSID back and some extra folders in my root.

Here's the output:
root@OpenWrt:/bin# box_installer.sh -p
/bin/box_installer.sh : executing run_test_installation_destination
/bin/box_installer.sh : Testing if installation destination by extendRoot is available.
/bin/box_installer.sh : Installation destination is available.
/bin/box_installer.sh : Trying to find next step
/bin/box_installer.sh : executing run_fake_opkg_update
/bin/box_installer.sh : Creating opkg-lists folder, if missing
/bin/box_installer.sh : Getting main Repository from /etc/opkg.conf
/bin/box_installer.sh : Doing fake opkg update (copy from cache folder (attitude_adjustment)
/bin/box_installer.sh : .. doing it for Piratebox repository (optional)
/bin/box_installer.sh : Trying to find next step
/bin/box_installer.sh : executing run_signaling_package_start
/bin/box_installer.sh: line 220: can't create /sys/class/leds/*usb/trigger: nonexistent directory
/bin/box_installer.sh : Trying to find next step
/bin/box_installer.sh : executing run_install_package
/bin/box_installer.sh : Fixing paths
/bin/box_installer.sh : Installing packge extendRoot-piratebox piratebox-mod-imageboard extendRoot-minidlna
Installing extendRoot-piratebox (0.10.1-3) to ext...
Copying /mnt/usb/install/cache/extendRoot-piratebox_0.10.1-3_all.ipk.
Installing extendRoot-lighttpd (0.10.1-3) to ext...
Copying /mnt/usb/install/cache/extendRoot-lighttpd_0.10.1-3_all.ipk.
Installing lighttpd (1.4.30-2) to ext...
Copying /mnt/usb/install/cache/lighttpd_1.4.30-2_ar71xx.ipk.
Installing libopenssl (1.0.1i-1) to ext...
Copying /mnt/usb/install/cache/libopenssl_1.0.1i-1_ar71xx.ipk.
Installing libpcre (8.11-2) to ext...
Copying /mnt/usb/install/cache/libpcre_8.11-2_ar71xx.ipk.
Installing libpthread (0.9.33.2-1) to ext...
Copying /mnt/usb/install/cache/libpthread_0.9.33.2-1_ar71xx.ipk.
Installing extendRoot-python (0.10.1-3) to ext...
Copying /mnt/usb/install/cache/extendRoot-python_0.10.1-3_all.ipk.
Installing python (2.7.3-2) to ext...
Copying /mnt/usb/install/cache/python_2.7.3-2_ar71xx.ipk.
Installing libffi (3.0.10-1) to ext...
Copying /mnt/usb/install/cache/libffi_3.0.10-1_ar71xx.ipk.
Installing python-mini (2.7.3-2) to ext...
Copying /mnt/usb/install/cache/python-mini_2.7.3-2_ar71xx.ipk.
Installing piratebox (1.0.1-8) to ext...
Copying /mnt/usb/install/cache/piratebox_1.0.1-8_all.ipk.
Installing lighttpd-mod-cgi (1.4.30-2) to ext...
Copying /mnt/usb/install/cache/lighttpd-mod-cgi_1.4.30-2_ar71xx.ipk.
Installing lighttpd-mod-redirect (1.4.30-2) to ext...
Copying /mnt/usb/install/cache/lighttpd-mod-redirect_1.4.30-2_ar71xx.ipk.
Installing lighttpd-mod-alias (1.4.30-2) to ext...
Copying /mnt/usb/install/cache/lighttpd-mod-alias_1.4.30-2_ar71xx.ipk.
Installing lighttpd-mod-setenv (1.4.30-2) to ext...
Copying /mnt/usb/install/cache/lighttpd-mod-setenv_1.4.30-2_ar71xx.ipk.
Installing piratebox-mod-imageboard (0.1.3-1) to ext...
Copying /mnt/usb/install/cache/piratebox-mod-imageboard_0.1.3-1_all.ipk.
Installing perl (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perl_5.10.0-7_ar71xx.ipk.
Installing perlbase-base (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-base_5.10.0-7_ar71xx.ipk.
Installing perlbase-cgi (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-cgi_5.10.0-7_ar71xx.ipk.
Installing perlbase-essential (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-essential_5.10.0-7_ar71xx.ipk.
Installing perlbase-file (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-file_5.10.0-7_ar71xx.ipk.
Installing perlbase-bytes (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-bytes_5.10.0-7_ar71xx.ipk.
Installing perlbase-config (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-config_5.10.0-7_ar71xx.ipk.
Installing perlbase-data (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-data_5.10.0-7_ar71xx.ipk.
Installing perlbase-db-file (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-db-file_5.10.0-7_ar71xx.ipk.
Installing libdb47 (4.7.25.NC-6) to ext...
Copying /mnt/usb/install/cache/libdb47_4.7.25.NC-6_ar71xx.ipk.
Installing libxml2 (2.7.8-2) to ext...
Copying /mnt/usb/install/cache/libxml2_2.7.8-2_ar71xx.ipk.
Installing perlbase-digest (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-digest_5.10.0-7_ar71xx.ipk.
Installing perlbase-encode (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-encode_5.10.0-7_ar71xx.ipk.
Installing perlbase-encoding (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-encoding_5.10.0-7_ar71xx.ipk.
Installing perlbase-fcntl (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-fcntl_5.10.0-7_ar71xx.ipk.
Installing perlbase-gdbm-file (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-gdbm-file_5.10.0-7_ar71xx.ipk.
Installing libgdbm (1.9.1-2) to ext...
Copying /mnt/usb/install/cache/libgdbm_1.9.1-2_ar71xx.ipk.
Installing perlbase-integer (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-integer_5.10.0-7_ar71xx.ipk.
Installing perlbase-socket (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-socket_5.10.0-7_ar71xx.ipk.
Installing perlbase-time (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-time_5.10.0-7_ar71xx.ipk.
Installing perlbase-unicode (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-unicode_5.10.0-7_ar71xx.ipk.
Installing perlbase-unicore (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-unicore_5.10.0-7_ar71xx.ipk.
Installing perlbase-utf8 (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-utf8_5.10.0-7_ar71xx.ipk.
Installing perlbase-xsloader (5.10.0-7) to ext...
Copying /mnt/usb/install/cache/perlbase-xsloader_5.10.0-7_ar71xx.ipk.
Installing unzip (5.52-1) to ext...
Copying /mnt/usb/install/cache/unzip_5.52-1_ar71xx.ipk.
Installing extendRoot-minidlna (0.10.1-3) to ext...
Copying /mnt/usb/install/cache/extendRoot-minidlna_0.10.1-3_all.ipk.
Installing minidlna (1.0.24-1) to ext...
Copying /mnt/usb/install/cache/minidlna_1.0.24-1_ar71xx.ipk.
Installing libexif (0.6.19-1) to ext...
Copying /mnt/usb/install/cache/libexif_0.6.19-1_ar71xx.ipk.
Installing libjpeg (6b-1) to ext...
Copying /mnt/usb/install/cache/libjpeg_6b-1_ar71xx.ipk.
Installing libsqlite3 (3071201-1) to ext...
Copying /mnt/usb/install/cache/libsqlite3_3071201-1_ar71xx.ipk.
Installing libffmpeg-mini (0.8.7-2) to ext...
Copying /mnt/usb/install/cache/libffmpeg-mini_0.8.7-2_ar71xx.ipk.
Installing libbz2 (1.0.6-1) to ext...
Copying /mnt/usb/install/cache/libbz2_1.0.6-1_ar71xx.ipk.
Installing libid3tag (0.15.1b-3) to ext...
Copying /mnt/usb/install/cache/libid3tag_0.15.1b-3_ar71xx.ipk.
Installing libflac (1.2.1-1) to ext...
Copying /mnt/usb/install/cache/libflac_1.2.1-1_ar71xx.ipk.
Installing libvorbis (1.2.3-1) to ext...
Copying /mnt/usb/install/cache/libvorbis_1.2.3-1_ar71xx.ipk.
Installing libogg (1.1.4-2) to ext...
Copying /mnt/usb/install/cache/libogg_1.1.4-2_ar71xx.ipk.
Configuring perl.
Configuring perlbase-data.
Configuring perlbase-encode.
Configuring libjpeg.
Configuring libpthread.
Configuring libopenssl.
Configuring libpcre.
Configuring lighttpd.
Configuring lighttpd-mod-cgi.
Configuring perlbase-bytes.
Configuring lighttpd-mod-setenv.
Configuring libogg.
Configuring perlbase-socket.
Configuring libexif.
Configuring perlbase-cgi.
Configuring libflac.
Configuring extendRoot-lighttpd.
Configuring libffi.
Configuring python-mini.
Configuring python.
Configuring perlbase-unicore.
Configuring perlbase-utf8.
Configuring libvorbis.
Configuring libxml2.
Configuring extendRoot-python.
Configuring lighttpd-mod-redirect.
Configuring lighttpd-mod-alias.
Configuring piratebox.
Warning: Unable to locate ipset utility, disabling ipset support
Warning: Section @zone[1] (wan) cannot resolve device of network 'wan'
Warning: Section @zone[1] (wan) cannot resolve device of network 'wan6'
Warning: Section @zone[1] (wan) has no device, network, subnet or extra options
* Flushing IPv4 filter table
* Flushing IPv4 nat table
* Flushing IPv4 mangle table
* Flushing IPv4 raw table
* Flushing IPv6 filter table
* Flushing IPv6 mangle table
* Flushing IPv6 raw table
* Flushing conntrack table ...
* Populating IPv4 filter table
* Zone 'lan'
* Zone 'wan'
* Rule 'Allow-DHCP-Renew'
* Rule 'Allow-Ping'
* Forward 'lan' -> 'wan'
* Populating IPv4 nat table
* Zone 'lan'
* Zone 'wan'
* Populating IPv4 mangle table
* Zone 'lan'
* Zone 'wan'
* Populating IPv4 raw table
* Zone 'lan'
* Zone 'wan'
* Populating IPv6 filter table
* Zone 'lan'
* Zone 'wan'
* Rule 'Allow-DHCPv6'
* Rule 'Allow-ICMPv6-Input'
* Rule 'Allow-ICMPv6-Forward'
* Forward 'lan' -> 'wan'
* Populating IPv6 mangle table
* Zone 'lan'
* Zone 'wan'
* Populating IPv6 raw table
* Zone 'lan'
* Zone 'wan'
* Set tcp_ecn to off
* Set tcp_syncookies to on
* Set tcp_window_scaling to on
* Running script '/etc/firewall.user'
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr c4:e9:84:4f:b0:74 and ssid "PirateBox - Share Freely"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
/etc/init.d/piratebox: Creating piratebox loop image...
-------------- Initialize PirateBoxScripts -----------
Starting initialize PirateBox Part2..
Distribute HEADER.txt into /opt/piratebox/share/Shared
Distribute README.txt into /opt/piratebox/share/Shared
chown: /opt/piratebox/share: Operation not permitted
Starting script piratebox
Generating hosts file ....
Generating dnsmasq.conf .....
Generating Environment-config for lighttpd .....
Empty tmp folder
rm: /opt/piratebox/tmp: is a directory
Copy over design files
Starting dnsmasq...
0
Starting droopy...
0
Stopping lighttpd...
0

PirateBox wireless SSID: PirateBox - Share Freely
PirateBox DNS and hostname: piratebox.lan
hostname with unique suffix is: piratebox.lan
PirateBox LAN IP address: 192.168.1.1
PirateBox shared directory:

Setup complete, PirateBox started.
You can remove the WAN connection now.
Please reboot your PirateBox now:
# reboot
Done
Configuring extendRoot-piratebox.
Configuring libdb47.
Configuring perlbase-db-file.
Configuring perlbase-base.
Configuring perlbase-essential.
Configuring perlbase-file.
Configuring perlbase-config.
Configuring perlbase-digest.
Configuring perlbase-encoding.
Configuring perlbase-fcntl.
Configuring libgdbm.
Configuring perlbase-gdbm-file.
Configuring perlbase-integer.
Configuring perlbase-time.
Configuring perlbase-unicode.
Configuring perlbase-xsloader.
Configuring unzip.
Configuring piratebox-mod-imageboard.
Kareha Zip found...
Archive: kareha_3.1.4.zip
creating: kareha/
inflating: kareha/.DS_Store
inflating: kareha/admin.pl
inflating: kareha/captcha.pl
inflating: kareha/config.pl
inflating: kareha/example.htaccess
creating: kareha/extras/
creating: kareha/extras/icons/
extracting: kareha/extras/icons/archive-7z.png
extracting: kareha/extras/icons/archive-bz2.png
extracting: kareha/extras/icons/archive-gz.png
extracting: kareha/extras/icons/archive-lzh.png
extracting: kareha/extras/icons/archive-rar.png
extracting: kareha/extras/icons/archive-zip.png
extracting: kareha/extras/icons/audio-aac.png
extracting: kareha/extras/icons/audio-flac.png
inflating: kareha/extras/icons/audio-it.png
inflating: kareha/extras/icons/audio-mo3.png
inflating: kareha/extras/icons/audio-mod.png
extracting: kareha/extras/icons/audio-mp3.png
extracting: kareha/extras/icons/audio-mpc.png
inflating: kareha/extras/icons/audio-nsf.gif
extracting: kareha/extras/icons/audio-ogg.png
inflating: kareha/extras/icons/audio-sid.png
inflating: kareha/extras/icons/audio-spc.png
inflating: kareha/extras/icons/audio-xm.png
extracting: kareha/extras/icons/flash.png
inflating: kareha/extras/icons/torrent.png
creating: kareha/extras/old_perl/
inflating: kareha/extras/old_perl/sjis.pl
creating: kareha/extras/styles/
creating: kareha/extras/styles/css/
inflating: kareha/extras/styles/css/buun.css
inflating: kareha/extras/styles/css/mercury.css
creating: kareha/extras/styles/img/
extracting: kareha/extras/styles/img/ginchan.png
inflating: kareha/extras/styles/img/greyrose.png
inflating: kareha/extras/styles/img/greyrose_big.png
inflating: kareha/extras/styles/img/rose.png
extracting: kareha/extras/styles/img/rose_big.png
inflating: kareha/kareha.ico
inflating: kareha/kareha.js
inflating: kareha/kareha.pl
creating: kareha/mode_image/
inflating: kareha/mode_image/config.pl
inflating: kareha/mode_image/config_defaults.pl
creating: kareha/mode_image/css/
inflating: kareha/mode_image/css/burichan.css
inflating: kareha/mode_image/css/futaba.css
inflating: kareha/mode_image/css/gurochan.css
inflating: kareha/mode_image/css/photon.css
creating: kareha/mode_image/include/
inflating: kareha/mode_image/include/footer.html
extracting: kareha/mode_image/include/header.html
inflating: kareha/mode_image/include/rules.html
creating: kareha/mode_image/src/
inflating: kareha/mode_image/templates.pl
creating: kareha/mode_image/thumb/
inflating: kareha/mode_image/zeroconv.pl
creating: kareha/mode_message/
inflating: kareha/mode_message/config.pl
inflating: kareha/mode_message/config_defaults.pl
creating: kareha/mode_message/css/
inflating: kareha/mode_message/css/blue_moon.css
inflating: kareha/mode_message/css/futaba.css
inflating: kareha/mode_message/css/headline.css
inflating: kareha/mode_message/css/pseud0ch.css
inflating: kareha/mode_message/css/toothpaste.css
inflating: kareha/mode_message/css/VIPPER.css
creating: kareha/mode_message/img/
extracting: kareha/mode_message/img/ba.gif
creating: kareha/mode_message/include/
inflating: kareha/mode_message/include/footer.html
extracting: kareha/mode_message/include/header.html
extracting: kareha/mode_message/include/mid.html
inflating: kareha/mode_message/include/rules.html
inflating: kareha/mode_message/templates.pl
inflating: kareha/mode_message/templates_jp.pl
creating: kareha/res/
inflating: kareha/spam.txt
creating: kareha/src/
creating: kareha/thumb/
inflating: kareha/wakautils.pl
chown: /opt/piratebox/share/board/kareha.pl: Operation not permitted
chown: /opt/piratebox/share/board/admin.pl: Operation not permitted
chown: /opt/piratebox/share/board/captcha.pl: Operation not permitted
chown: /opt/piratebox/share/board/config.pl: Operation not permitted
chown: /opt/piratebox/share/board/example.htaccess: Operation not permitted
chown: /opt/piratebox/share/board/extras/old_perl/sjis.pl: Operation not permitted
chown: /opt/piratebox/share/board/extras/old_perl: Operation not permitted
chown: /opt/piratebox/share/board/extras/old_perl: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-mod.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/archive-lzh.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-ogg.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-mpc.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/flash.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-nsf.gif: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-it.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/archive-rar.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-xm.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/archive-gz.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/archive-bz2.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/archive-zip.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-mo3.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-sid.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-spc.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/archive-7z.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-mp3.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/torrent.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-flac.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons/audio-aac.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons: Operation not permitted
chown: /opt/piratebox/share/board/extras/icons: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/img/greyrose.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/img/rose_big.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/img/greyrose_big.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/img/rose.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/img/ginchan.png: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/img: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/img: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/css/buun.css: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/css/mercury.css: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/css: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles/css: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles: Operation not permitted
chown: /opt/piratebox/share/board/extras/styles: Operation not permitted
chown: /opt/piratebox/share/board/extras: Operation not permitted
chown: /opt/piratebox/share/board/extras: Operation not permitted
chown: /opt/piratebox/share/board/kareha.ico: Operation not permitted
chown: /opt/piratebox/share/board/kareha.js: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/config_defaults.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/include/rules.html: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/include/header.html: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/include/footer.html: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/include: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/include: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/thumb: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/thumb: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/src: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/src: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/templates.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/zeroconv.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/css/gurochan.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/css/burichan.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/css/futaba.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/css/photon.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/css: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/css: Operation not permitted
chown: /opt/piratebox/share/board/mode_image/config.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_image: Operation not permitted
chown: /opt/piratebox/share/board/mode_image: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/config_defaults.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/include/rules.html: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/include/mid.html: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/include/header.html: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/include/footer.html: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/include: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/include: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/img/ba.gif: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/img: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/img: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/templates.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css/VIPPER.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css/headline.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css/pseud0ch.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css/futaba.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css/blue_moon.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css/toothpaste.css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/css: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/config.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_message/templates_jp.pl: Operation not permitted
chown: /opt/piratebox/share/board/mode_message: Operation not permitted
chown: /opt/piratebox/share/board/mode_message: Operation not permitted
chown: /opt/piratebox/share/board/res: Operation not permitted
chown: /opt/piratebox/share/board/res: Operation not permitted
chown: /opt/piratebox/share/board/spam.txt: Operation not permitted
chown: /opt/piratebox/share/board/src: Operation not permitted
chown: /opt/piratebox/share/board/src: Operation not permitted
chown: /opt/piratebox/share/board/thumb: Operation not permitted
chown: /opt/piratebox/share/board/thumb: Operation not permitted
chown: /opt/piratebox/share/board/wakautils.pl: Operation not permitted
chown: /opt/piratebox/share/board/config_defaults.pl: Operation not permitted
chown: /opt/piratebox/share/board/css/gurochan.css: Operation not permitted
chown: /opt/piratebox/share/board/css/burichan.css: Operation not permitted
chown: /opt/piratebox/share/board/css/futaba.css: Operation not permitted
chown: /opt/piratebox/share/board/css/photon.css: Operation not permitted
chown: /opt/piratebox/share/board/css: Operation not permitted
chown: /opt/piratebox/share/board/css: Operation not permitted
chown: /opt/piratebox/share/board/include/rules.html: Operation not permitted
chown: /opt/piratebox/share/board/include/header.html: Operation not permitted
chown: /opt/piratebox/share/board/include/footer.html: Operation not permitted
chown: /opt/piratebox/share/board/include: Operation not permitted
chown: /opt/piratebox/share/board/include: Operation not permitted
chown: /opt/piratebox/share/board/templates.pl: Operation not permitted
chown: /opt/piratebox/share/board/zeroconv.pl: Operation not permitted
chown: /opt/piratebox/share/board/index.htm: Operation not permitted
chown: /opt/piratebox/share/board: Operation not permitted
chown: /opt/piratebox/share/board: Operation not permitted
Errors in chown occurs if you are using vfat on the USB stick
. don't Panic!
Generating index page
wget: can't connect to remote host (127.0.0.1): Connection refused
finished!
Now Edit your kareha settings file to change your ADMIN_PASS and SECRET :
# vi /opt/piratebox/www/board/config.pl
Configuring libsqlite3.
Configuring libbz2.
Configuring libffmpeg-mini.
Configuring libid3tag.
Configuring minidlna.
Configuring extendRoot-minidlna.
/bin/box_installer.sh : Trying to find next step
/bin/box_installer.sh : executing run_signaling_package_stop
/bin/box_installer.sh: line 220: can't create /sys/class/leds/*usb/trigger: nonexistent directory
/bin/box_installer.sh: line 220: can't create /sys/class/leds/*usb/brightness: nonexistent directory
/bin/box_installer.sh : Trying to find next step
/bin/box_installer.sh : executing exit
root@OpenWrt:/bin#

I'll keep playing but I think I'm making progress.
Re: Another 'Reinstall Piratebox' topic - MR3040 v2.4 & NoCatSplash/NoDogSplash
March 09, 2016 05:54AM
Good catch and well found!
The issue was, that you removed the external_fs folder and the already initialized extRoot was not able to start. To prevent that the installer installs all the packages directly on the firmware, I added that "catch".
You did everything correct, as far as I read. I only wonder why auto_package was containing a blank line, but that might only be some weird reason winking smiley
Re: Another 'Reinstall Piratebox' topic - MR3040 v2.4 & NoCatSplash/NoDogSplash
March 09, 2016 06:03AM
Thanks for getting back to me.

Yes it was a weird one - everything is working well now smiling smiley

Would still love to get some kind of captive portal setup.. A project for another day.
Re: Another 'Reinstall Piratebox' topic - MR3040 v2.4 & NoCatSplash/NoDogSplash
March 09, 2016 08:46PM
Did you tried this hack? [piratebox.aod-rpg.de]
Re: Another 'Reinstall Piratebox' topic - MR3040 v2.4 & NoCatSplash/NoDogSplash
March 09, 2016 11:33PM
Awesome, thanks for that! I will give it a go. The reason I ask is we are using the piratebox for a promotion at SXSW this year, and would love to show a 'popup' page with a message when people connect. I've customised the standard piratebox page, we'll see how it goes, I'll try captive portal later on, as its already on its way to the US at the moment smiling smiley