Installation problem

Posted by KAEL 
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
Installation problem
April 11, 2017 09:11AM
Hello

I need some installation support. I hope somebody can help me.

I have bought a new MR3020 TPLink router. I have followed up the Install PirateBox 1.1 on this page https://piratebox.cc/openwrt:diy

Then I tried to get the website. But I never been able to see it. When I put piratebox.lan, I got a DNS error. When I put [192.168.1.1], I could see a redirect page and then again the DNS error page.

So as a good DIY guy, I have done several test, following various tutorial. Without success.

Then I have formatted my USB Stick. And followed Upgrade PirateBox on this page https://piratebox.cc/openwrt:diy

But now when I connect on the terminal, I can see OpenWrt session insteadof piratebox. I don't really know what to do anymore.

following I share my piratebox configuration. Apparently there is an issue with the /opt/ folder. It seems not available.

root@OpenWrt:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda1 on /mnt/usb type vfat (rw,sync,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /mnt/ext type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
none on /proc/bus/usb type usbfs (rw,relatime)
root@OpenWrt:/# ls -la /mnt/
drwxr-xr-x    1 root     root             0 Jan  1 00:01 .
drwxr-xr-x    1 root     root             0 Jan  1 00:00 ..
drwxr-xr-x    4 root     root          1024 Mar 19  2017 ext
drwxrwxrwx    5 root     root          4096 Jan  1 00:00 usb
root@OpenWrt:/# ls -la /mnt/usb
drwxrwxrwx    5 root     root          4096 Jan  1 00:00 .
drwxr-xr-x    1 root     root             0 Jan  1 00:01 ..
drwxrwxrwx    6 root     root          4096 Jan  1  1980 PirateBox
drwxrwxrwx    2 root     root          4096 Jan  1  1980 external_fs
drwxrwxrwx    3 root     root          4096 Jan  1  1980 install
-rwxrwxrwx    1 root     root         41606 Jan  1  1980 install.log
-rwxrwxrwx    1 root     root       3932160 Apr 10  2017 openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
root@OpenWrt:/#  ls -la /mnt/usb/PirateBox
drwxrwxrwx    6 root     root          4096 Jan  1  1980 .
drwxrwxrwx    5 root     root          4096 Jan  1 00:00 ..
drwxrwxrwx    2 root     root          4096 Jan  1  1980 Shared
drwxrwxrwx    2 root     root          4096 Jan  1  1980 board
drwxrwxrwx    6 root     root          4096 Jan  1  1980 content
-rwxrwxrwx    1 root     root      52428800 Jan  1  1980 pbIMG_ws.img
-rwxrwxrwx    1 root     root            13 Jan  1  1980 timesave_file
drwxrwxrwx    2 root     root          4096 Jan  1  1980 tmp
root@OpenWrt:/#  ls -la /mnt/usb/install
drwxrwxrwx    3 root     root          4096 Jan  1  1980 .
drwxrwxrwx    5 root     root          4096 Jan  1 00:00 ..
-rwxrwxrwx    1 root     root        108522 Apr 10  2017 OpenWRT.img.gz
-rwxrwxrwx    1 root     root            20 Jan  1  1980 auto_package_done
drwxrwxrwx    2 root     root         12288 Apr 10  2017 cache
-rwxrwxrwx    1 root     root        222185 Apr 10  2017 kareha_3.1.4.zip
-rwxrwxrwx    1 root     root        398865 Apr 10  2017 piratebox_ws_1.1_img.tar.gz[/quote]
root@OpenWrt:/# ls -la /opt/piratebox
ls: /opt/piratebox: No such file or directory
root@OpenWrt:/# ls -la /opt/piratebox/www
ls: /opt/piratebox/www: No such file or directory
root@OpenWrt:/# cat /etc/pbx_custom_image
PBX_auto_Image_2.1
root@OpenWrt:/# cat /etc/openwrt_release
DISTRIB_ID="OpenWrt_backports"
DISTRIB_RELEASE="12.09.2"
DISTRIB_REVISION="r40431"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt_backports Attitude Adjustment 12.09.2"
DISTRIB_BACKPORT="V0.2"
root@OpenWrt:/# cat /opt/piratebox/version
cat: can't open '/opt/piratebox/version': No such file or directory
root@OpenWrt:/# cat /opt/piratebox/tmp/error.log
cat: can't open '/opt/piratebox/tmp/error.log': No such file or directory
root@OpenWrt:/#  cat /opt/piratebox/tmp/break.log
cat: can't open '/opt/piratebox/tmp/break.log': No such file or directory
root@OpenWrt:/#  cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

root@OpenWrt:/#  cat /etc/config/wireless
config wifi-device  radio0
        option type     mac80211
        option channel  11
        option hwmode   11ng
        option macaddr  84:16:f9:2d:bb:12
        option htmode   HT20
        list ht_capab   SHORT-GI-20
        list ht_capab   SHORT-GI-40
        list ht_capab   RX-STBC1
        list ht_capab   DSSS_CCK-40
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none

root@OpenWrt:/#  dmesg | tail -n 20
[   31.970000] batman_adv: B.A.T.M.A.N. advanced 2013.4.0 (compatibility version 14) loaded
[   35.140000] EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities
[   35.150000] EXT4-fs (loop0): couldn't mount as ext2 due to feature incompatibilities
[   35.250000] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[   36.790000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   36.790000] device eth0 entered promiscuous mode
[   36.800000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   37.770000] eth0: link up (100Mbps/Full duplex)
[   37.770000] br-lan: port 1(eth0) entered forwarding state
[   37.780000] br-lan: port 1(eth0) entered forwarding state
[   37.780000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   37.800000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   39.780000] br-lan: port 1(eth0) entered forwarding state
[   43.040000] Adding 32764k swap on /mnt/usb/external_fs/OpenWRT.swap.  Priority:-1 extents:1 across:32764k
[ 5207.950000] eth0: link down
[ 5207.950000] br-lan: port 1(eth0) entered disabled state
[ 6954.950000] eth0: link up (100Mbps/Full duplex)
[ 6954.950000] br-lan: port 1(eth0) entered forwarding state
[ 6954.960000] br-lan: port 1(eth0) entered forwarding state
[ 6956.960000] br-lan: port 1(eth0) entered forwarding state
root@OpenWrt:/#  dmesg | grep sda
[    9.650000] sd 0:0:0:0: [sda] 7639040 512-byte logical blocks: (3.91 GB/3.64 Gicool smiley
[    9.660000] sd 0:0:0:0: [sda] Write Protect is off
[    9.660000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    9.660000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.680000]  sda: sda1
[    9.680000] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@OpenWrt:/#  ls /dev/sd*
/dev/sda   /dev/sda1
root@OpenWrt:/#  ps
  PID USER       VSZ STAT COMMAND
    1 root      1504 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW<  [khelper]
    7 root         0 SW   [kworker/u:1]
   63 root         0 SW   [sync_supers]
   65 root         0 SW   [bdi-default]
   67 root         0 SW<  [kblockd]
   96 root         0 SW   [kswapd0]
  144 root         0 SW   [fsnotify_mark]
  173 root         0 SW<  [ath79-spi]
  184 root         0 SW   [mtdblock0]
  189 root         0 SW   [mtdblock1]
  194 root         0 SW   [mtdblock2]
  199 root         0 SW   [mtdblock3]
  204 root         0 SW   [mtdblock4]
  209 root         0 SW   [mtdblock5]
  250 root         0 SW   [kworker/0:1]
  442 root         0 SWN  [jffs2_gcd_mtd3]
  472 root         0 SW   [khubd]
  481 root         0 SW   [scsi_eh_0]
  482 root         0 SW   [usb-storage]
  510 root      1504 S    init
  542 root         0 SW<  [cfg80211]
  616 root         0 SW<  [bat_events]
  643 root      1508 S    /sbin/syslogd -C16
  645 root      1488 S    /sbin/klogd
  647 root       872 S    /sbin/hotplug2 --override --persistent --set-rules-f
  655 root       872 S    /sbin/ubusd
  727 root         0 SW<  [loop0]
  732 root         0 SW   [jbd2/loop0-8]
  733 root         0 SW<  [ext4-dio-unwrit]
  739 root      1468 S    /sbin/netifd
 1231 root      1152 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
 1247 root      1496 S    /usr/sbin/telnetd -l /bin/login.sh
 1337 root      1500 S    /sbin/watchdog -t 5 /dev/watchdog
 1401 nobody     956 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
 1417 root      1500 S    /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.ope
 1430 root      1504 S    /bin/ash --login
 1470 root      1496 R    ps
root@OpenWrt:/#  tail -n 200 /mnt/usb/install.log
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content/locales/data.pt-br.properties: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content/locales/locales.ini: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content/locales/data.en.properties: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content/locales/data.fr.properties: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content/locales: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content/locales: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: chown: /opt/piratebox/share/content: Operation not permitted
Jan  1 00:03:13 piratebox user.notice root: Starting script piratebox
Jan  1 00:03:13 piratebox user.notice root: Generating config for radvd..
Jan  1 00:03:13 piratebox user.notice root: Generating hosts file ....
Jan  1 00:03:13 piratebox user.notice root: Generating dnsmasq.conf .....
Jan  1 00:03:13 piratebox user.notice root: Generating Environment-config for lighttpd .....
Jan  1 00:03:14 piratebox user.notice root: Empty tmp folder
Jan  1 00:03:14 piratebox user.notice root: rm: /opt/piratebox/tmp: is a directory
Jan  1 00:03:14 piratebox user.notice root: Copy over directory design files
Jan  1 00:03:14 piratebox user.notice root: Generating json configuration file: /opt/piratebox/www/piratebox_config.json
Jan  1 00:03:14 piratebox user.notice root: Starting dnsmasq...
Jan  1 00:03:14 piratebox daemon.info dnsmasq[1653]: started, version 2.66 cachesize 150
Jan  1 00:03:14 piratebox daemon.info dnsmasq[1653]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Jan  1 00:03:14 piratebox daemon.info dnsmasq-dhcp[1653]: DHCP, IP range 192.168.1.10 -- 192.168.1.250, lease time 12h
Jan  1 00:03:14 piratebox user.notice root: 0
Jan  1 00:03:14 piratebox user.notice root: Setting up firewall rules...
Jan  1 00:03:14 piratebox daemon.info dnsmasq[1653]: read /opt/piratebox/conf/hosts_mesh - 0 addresses
Jan  1 00:03:14 piratebox daemon.err dnsmasq[1653]: bad address at /opt/piratebox/conf/hosts_generated line 2
Jan  1 00:03:14 piratebox daemon.info dnsmasq[1653]: read /opt/piratebox/conf/hosts_generated - 1 addresses
Jan  1 00:03:14 piratebox user.notice root: 0
Jan  1 00:03:14 piratebox user.notice root: Starting radvd...
Jan  1 00:03:14 piratebox user.notice root: start-stop-daemon: can't execute 'radvd': No such file or directory
Jan  1 00:03:14 piratebox user.notice root: 1
Jan  1 00:03:14 piratebox user.notice root: Starting droopy...
Jan  1 00:03:14 piratebox user.notice root: 0
Jan  1 00:03:14 piratebox user.notice root: /opt/piratebox/bin/shoutbox_stuff.sh: line 31: python: not found
Jan  1 00:03:14 piratebox user.notice root: /opt/piratebox/bin/shoutbox_stuff.sh: line 41: python: not found
Jan  1 00:03:14 piratebox user.notice root: chown: /opt/piratebox/www/diskusage.html: No such file or directory
Jan  1 00:03:14 piratebox user.notice root: chmod: /opt/piratebox/www/diskusage.html: No such file or directory
Jan  1 00:03:14 piratebox user.notice root: Starting lighttpd...
Jan  1 00:03:14 piratebox user.notice root: /usr/sbin/lighttpd: can't load library 'libpcre.so.0'
Jan  1 00:03:14 piratebox user.notice root: 16
Jan  1 00:03:14 piratebox user.notice root: Bringing PirateBox down again and leave image mounted
Jan  1 00:03:14 piratebox user.notice root:  for further installation
Jan  1 00:03:14 piratebox user.notice root: Stopping script piratebox
Jan  1 00:03:14 piratebox user.notice root: Stopping dnsmasq...
Jan  1 00:03:14 piratebox daemon.info dnsmasq[1653]: exiting on receipt of SIGTERM
Jan  1 00:03:14 piratebox user.notice root: 0
Jan  1 00:03:14 piratebox user.notice root: Removing firewall rules...
Jan  1 00:03:14 piratebox user.notice root: 0
Jan  1 00:03:14 piratebox user.notice root: Stopping droopy...
Jan  1 00:03:14 piratebox user.notice root: 0
Jan  1 00:03:14 piratebox user.notice root: Stopping lighttpd...
Jan  1 00:03:14 piratebox user.notice root: 1
Jan  1 00:03:14 piratebox user.notice root: Setup complete!
Jan  1 00:03:14 piratebox user.notice root: You can remove the WAN connection now.
Jan  1 00:03:14 piratebox user.notice root: Please reboot your PirateBox now:
Jan  1 00:03:14 piratebox user.notice root:    # reboot
Jan  1 00:03:14 piratebox user.notice root: Done
Jan  1 00:03:15 piratebox user.notice root: Collected errors:
Jan  1 00:03:15 piratebox user.notice root:  * verify_pkg_installable: Only have 128kb available on filesystem /mnt/ext/, pkg python needs 1870
Jan  1 00:03:15 piratebox user.notice root:  * opkg_install_cmd: Cannot install package piratebox-mod-imageboard.
Jan  1 00:03:15 piratebox user.notice root: Installing python (2.7.3-2) to ext...
Jan  1 00:03:15 piratebox user.notice root: Configuring piratebox.
Jan  1 00:03:15 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:03:15 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_package_stop
Jan  1 00:03:15 piratebox user.notice root: sh: /sys/class/leds/tp-link:green:wps/trigger: unknown operand
Jan  1 00:03:15 piratebox user.notice root: sh: /sys/class/leds/tp-link:green:wps/brightness: unknown operand
Jan  1 00:03:15 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:03:15 piratebox user.notice root: /bin/box_installer.sh : executing exit
Jan  1 00:03:34 piratebox user.notice root: Multiple line auto_package found. Shifting 1st line to auto_package_done
---------------------------------------------
Jan  1 00:00:50 piratebox syslog.info syslogd started: BusyBox v1.19.4
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_test
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Testing requirements...
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : not running extendRoot init, because it already is
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh: line 25: can't create /sys/class/leds/*wlan/trigger: nonexistent directory
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_fake_opkg_update
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Getting main Repository from /etc/opkg.conf
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Doing fake opkg update (copy from cache folder (attitude_adjustment)
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : .. doing it for Piratebox repository (optional)
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_package_start
Jan  1 00:00:50 piratebox user.notice root: sh: /sys/class/leds/tp-link:green:wps/trigger: unknown operand
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : executing run_install_package
Jan  1 00:00:50 piratebox user.notice root: /bin/box_installer.sh : Installing packge extendRoot-minidlna
Jan  1 00:00:52 piratebox user.notice root: Installing extendRoot-minidlna (0.10.1-3) to ext...
Jan  1 00:00:52 piratebox user.notice root: Copying /mnt/usb/install/cache/extendRoot-minidlna_0.10.1-3_all.ipk.
Jan  1 00:00:52 piratebox user.notice root: Installing minidlna (1.0.24-1) to ext...
Jan  1 00:00:52 piratebox user.notice root: Copying /mnt/usb/install/cache/minidlna_1.0.24-1_ar71xx.ipk.
Jan  1 00:00:53 piratebox user.notice root: Collected errors:
Jan  1 00:00:53 piratebox user.notice root:  * wfopen: /mnt/ext/etc/init.d/minidlna: No space left on device.
Jan  1 00:00:53 piratebox user.notice root:  * extract_archive: Cannot make dir /mnt/ext/etc/config/: No space left on device.
Jan  1 00:00:53 piratebox user.notice root:  * wfopen: /mnt/ext/etc/config/minidlna: No such file or directory.
Jan  1 00:00:53 piratebox user.notice root:  * pkg_write_filelist: Failed to open /mnt/ext//usr/lib/opkg/info/minidlna.list: No space left on device.
Jan  1 00:00:53 piratebox user.notice root:  * opkg_install_pkg: Failed to extract data files for minidlna. Package debris may remain!
Jan  1 00:00:53 piratebox user.notice root:  * opkg_install_cmd: Cannot install package extendRoot-minidlna.
Jan  1 00:00:53 piratebox user.notice root:  * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device.
Jan  1 00:00:53 piratebox user.notice root:  * opkg_conf_write_status_files: Can't open status file /mnt/ext//usr/lib/opkg/status: No space left on device.
Jan  1 00:00:53 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:53 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_package_stop
Jan  1 00:00:53 piratebox user.notice root: sh: /sys/class/leds/tp-link:green:wps/trigger: unknown operand
Jan  1 00:00:53 piratebox user.notice root: sh: /sys/class/leds/tp-link:green:wps/brightness: unknown operand
Jan  1 00:00:53 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:53 piratebox user.notice root: /bin/box_installer.sh : executing exit
Jan  1 00:00:33 OpenWrt syslog.info syslogd started: BusyBox v1.19.4
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan  1 00:00:34 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan  1 00:00:34 OpenWrt user.notice root: /etc/init.d/ext: Creating swapspace...
Jan  1 00:00:40 OpenWrt authpriv.info dropbear[1434]: Running in background
Jan  1 00:00:42 OpenWrt user.notice root: 32+0 records in
Jan  1 00:00:42 OpenWrt user.notice root: 32+0 records out
Jan  1 00:00:42 OpenWrt user.notice root: Setting up swapspace version 1, size = 32764 KiB
Jan  1 00:00:42 OpenWrt user.notice root: no label, UUID=8395f887-d3ee-4ad7-aacc-6ce49ee2e4d6
Jan  1 00:00:43 OpenWrt user.notice root: /etc/init.d/ext: Forcing overwrite of /mnt/usb/external_fs/OpenWRT.img if it already exsits
Jan  1 00:00:43 OpenWrt user.notice root: /etc/init.d/ext: Creating ext loop image...
Jan  1 00:01:07 OpenWrt user.notice root: /etc/init.d/ext: Including the external mountpoint to system
Jan  1 00:01:07 OpenWrt user.notice root: /etc/init.d/ext: Creating /bin/ext_path_fixer
Jan  1 00:01:07 OpenWrt user.notice root: /etc/init.d/ext: Including ext_path_fixer to /etc/profile
Jan  1 00:01:07 OpenWrt user.notice root: /etc/init.d/ext: Including   ext_path_fixer to /etc/rc.common
Jan  1 00:01:07 OpenWrt user.notice root: /etc/init.d/ext: Enable for startup
Jan  1 00:01:07 OpenWrt user.notice root: /etc/init.d/ext: Starting...
Jan  1 00:01:08 OpenWrt user.notice root: If you run this during an install or run the init the first time
Jan  1 00:01:08 OpenWrt user.notice root:  please run
Jan  1 00:01:08 OpenWrt user.notice root:     source /etc/profile
Jan  1 00:01:08 OpenWrt user.notice root: /bin/box_installer.sh : Fixing paths
Jan  1 00:01:08 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:08 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan  1 00:01:08 OpenWrt user.notice root: /bin/box_installer.sh: line 25: can't create /sys/class/leds/*wlan/trigger: nonexistent directory
Jan  1 00:01:08 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:08 OpenWrt user.notice root: /bin/box_installer.sh : executing run_fake_opkg_update
Jan  1 00:01:08 OpenWrt user.notice root: /bin/box_installer.sh : Getting main Repository from /etc/opkg.conf
Jan  1 00:01:09 OpenWrt user.notice root: /bin/box_installer.sh : Doing fake opkg update (copy from cache folder (attitude_adjustment)
Jan  1 00:01:09 OpenWrt user.notice root: /bin/box_installer.sh : .. doing it for Piratebox repository (optional)
Jan  1 00:01:09 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:09 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_package_start
Jan  1 00:01:09 OpenWrt user.notice root: sh: /sys/class/leds/tp-link:green:wps/trigger: unknown operand
Jan  1 00:01:09 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:09 OpenWrt user.notice root: /bin/box_installer.sh : executing run_install_package
Jan  1 00:01:09 OpenWrt user.notice root: /bin/box_installer.sh : ERROR: /mnt/usb/install/auto_package is not set
Jan  1 00:00:33 OpenWrt syslog.info syslogd started: BusyBox v1.19.4
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:33 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan  1 00:00:34 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan  1 00:00:34 OpenWrt user.notice root: /etc/init.d/ext: Forcing overwrite of /mnt/usb/external_fs/OpenWRT.img if it already exsits
Jan  1 00:00:34 OpenWrt user.notice root: /etc/init.d/ext: Creating ext loop image...
Jan  1 00:01:09 OpenWrt user.notice root: /etc/init.d/ext: Including the external mountpoint to system
Jan  1 00:01:09 OpenWrt user.notice root: /etc/init.d/ext: Creating /bin/ext_path_fixer
Jan  1 00:01:09 OpenWrt user.notice root: /etc/init.d/ext: Including ext_path_fixer to /etc/profile
Jan  1 00:01:09 OpenWrt user.notice root: /etc/init.d/ext: Including   ext_path_fixer to /etc/rc.common
Jan  1 00:01:09 OpenWrt user.notice root: /etc/init.d/ext: Enable for startup
Jan  1 00:01:09 OpenWrt user.notice root: /etc/init.d/ext: Starting...
Jan  1 00:01:10 OpenWrt user.notice root: If you run this during an install or run the init the first time
Jan  1 00:01:10 OpenWrt user.notice root:  please run
Jan  1 00:01:10 OpenWrt user.notice root:     source /etc/profile
Jan  1 00:01:10 OpenWrt user.notice root: /bin/box_installer.sh : Fixing paths
Jan  1 00:01:10 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:10 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan  1 00:01:10 OpenWrt user.notice root: /bin/box_installer.sh: line 25: can't create /sys/class/leds/*wlan/trigger: nonexistent directory
Jan  1 00:01:10 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:10 OpenWrt user.notice root: /bin/box_installer.sh : executing run_fake_opkg_update
Jan  1 00:01:10 OpenWrt user.notice root: /bin/box_installer.sh : Getting main Repository from /etc/opkg.conf
Jan  1 00:01:11 OpenWrt authpriv.info dropbear[1498]: Running in background
Jan  1 00:01:11 OpenWrt user.notice root: /bin/box_installer.sh : Doing fake opkg update (copy from cache folder (attitude_adjustment)
Jan  1 00:01:11 OpenWrt user.notice root: /bin/box_installer.sh : .. doing it for Piratebox repository (optional)
Jan  1 00:01:11 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:11 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_package_start
Jan  1 00:01:11 OpenWrt user.notice root: sh: /sys/class/leds/tp-link:green:wps/trigger: unknown operand
Jan  1 00:01:11 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:01:11 OpenWrt user.notice root: /bin/box_installer.sh : executing run_install_package
Jan  1 00:01:11 OpenWrt user.notice root: /bin/box_installer.sh : ERROR: /mnt/usb/install/auto_package is not set
root@OpenWrt:/#
Re: Installation problem
April 11, 2017 07:18PM
hello

I have tried to progress by myself by doing a reflash. Now I get No space left on device when I want to change de password

root@piratebox:/# passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
passwd: /etc/passwd: No space left on device
passwd: can't update password file /etc/passwd


I really need your help. I haven't any idea anympre where to look at.
Re: Installation problem
April 11, 2017 07:50PM
Long story short: You are using an old image (.bin) file and you are doing the reflash wrong.

Please put your device offline,
lay a copy of the .bin file directly to the USB stick,
remove the install folder,
Put the USB stick back to the PirateBox
Power PirateBox online
connect to PirateBox
Login via SSH (if no password set, use telnet)
run
cd /mnt/usb
mtd -r write openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin  firmware
Do not cancel! It will reflash automatically.

After a reboot and the light stop to blink.
Power off
take USB stick to your computer
lay down a fresh copy of the install folder (unzip)
and put USB stick back to piratebox
Power PirateBox online
grap a cup of coffee
After around 45 minutes it should have steady lights.

Login and do post installation steps.

best regards
Matthias
Re: Installation problem [solved]
April 12, 2017 06:46AM
yes I got it!!! thank you very much.

I will work around with this new toy. I will certainly contact you again to know more about its working.
Re: Installation problem
April 12, 2017 06:47AM
I don't really understand how I have done to get a old version of the installation file.

Could you explain me why the auto_flash solution didn't work?
Re: Installation problem
April 12, 2017 07:16AM
I have just realized that the web interface is in French. How can I switch it to english?
Re: Installation problem
April 12, 2017 05:19PM
The webinterface is based on the language of your browser. If you browser sends out "english" it switches automatically. This is different for each client.

auto_flash is only available for newer images (since PirateBox 1.1). Older images do not have this feature.

best regards Matthias
Re: Installation problem
April 14, 2017 12:44PM
hello

I have progressed in my project. It is going well!

I would like to create Cgi-Bin in bash. I need the 'export' command in order to be able execute command into my script. It isn't available into piratebox. Do you know an alternative?
Re: Installation problem
April 14, 2017 02:35PM
I have found the answer. You can surround the problem by putting /sbin or /us/sbin before the command.