need help. TP-Link MR3020

Posted by sjchew 
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
need help. TP-Link MR3020
January 17, 2017 08:02AM
I got TP-Link MR3020 and The Kingston DT 16GB,
download and extract the install_piratebox.zip file to my USB,
firmware Upgrad the openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
install and open PuTTY. telnet into PirateBox:
set the password and time
use root@192.168.1.1 to access PirateBox again.
here are the problems
/opt/piratebox/bin/board-autoconf.sh // " not found"
cp /opt/piratebox/src/openwrt.example.minidlna /mnt/ext/etc/config/minidlna // can't start, no such files or directory
/etc/init.d/minidlna start // " not found"
/etc/init.d/minidlna enable // " not found"

anyone can tell me why. thanks
Re: need help. TP-Link MR3020
January 19, 2017 02:50AM
I am using the same hardware (WR703n Chinese firmware flashed to MR3020 firmware) and USB drive and firmware with no problems.

Reading your post I notice that you changed the password using PuTTY, I changed the password using Telnet from a Windows 10 PC and then having to use PuTTY to continue the post installation instructions.
Re: need help. TP-Link MR3020
January 21, 2017 10:29AM
Hi,
please post the output of the following commands -Technical summary-

This helps to find the issue.
best regards
Matthias
Re: need help. TP-Link MR3020
February 10, 2017 11:20PM
Hi Matthias,

have same problems as the other but dont know how to solve.
i hope you can help me to finde the issue.

---------------------------------------------------------------------------
outpost
---------------------------------------------------------------------------
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,size=14592k)
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)
none on /proc/bus/usb type usbfs (rw,relatime)


root@OpenWrt:/# ls -la /mnt/
drwxr-xr-x 1 root root 0 Feb 10 22:03 .
drwxr-xr-x 1 root root 0 Jan 1 1970 ..
drwxr-xr-x 2 root root 0 Feb 10 22:03 usb


root@OpenWrt:/# ls -la /mnt/usb
drwxr-xr-x 2 root root 0 Feb 10 22:03 .
drwxr-xr-x 1 root root 0 Feb 10 22:03 ..
-rw-r--r-- 1 root root 18281 Jan 1 1970 install.log

root@OpenWrt:/# ls -la /mnt/usb/PirateBox
ls: /mnt/usb/PirateBox: No such file or directory


root@OpenWrt:/# ls -la /mnt/usb/install
ls: /mnt/usb/install: No such file or directory

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.3.2


root@OpenWrt:/# cat /etc/openwrt_release
DISTRIB_ID="OpenWrt_backports"
DISTRIB_RELEASE="12.09.2"
DISTRIB_REVISION="r42647"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt_backports Attitude Adjustment 12.09.2"
DISTRIB_BACKPORT="V0.3-MaStr"



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 60:e3:27:b6:79:74
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.450000] loop: module loaded
[ 31.510000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 31.680000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[ 31.970000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 32.250000] batman_adv: B.A.T.M.A.N. advanced 2013.4.0 (compatibility version 14) loaded
[ 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.630000] eth0: link up (100Mbps/Full duplex)
[ 37.630000] br-lan: port 1(eth0) entered forwarding state
[ 37.640000] br-lan: port 1(eth0) entered forwarding state
[ 37.640000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 37.650000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 39.640000] br-lan: port 1(eth0) entered forwarding state
[ 323.780000] eth0: link down
[ 323.780000] br-lan: port 1(eth0) entered disabled state
[ 607.780000] eth0: link up (100Mbps/Full duplex)
[ 607.780000] br-lan: port 1(eth0) entered forwarding state
[ 607.790000] br-lan: port 1(eth0) entered forwarding state
[ 609.790000] br-lan: port 1(eth0) entered forwarding state



root@OpenWrt:/# dmesg | grep sda
[ 9.800000] sd 0:0:0:0: [sda] 122830848 512-byte logical blocks: (62.8 GB/58.5 Gicool smiley
[ 9.800000] sd 0:0:0:0: [sda] Write Protect is off
[ 9.810000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 9.810000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 9.830000] sda: sda1
[ 9.840000] 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]
5 root 0 SW [kworker/u:0]
6 root 0 SW< [khelper]
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]
483 root 0 SW [kworker/0:2]
484 root 0 SW [kworker/u:2]
506 root 1504 S init
541 root 0 SW< [cfg80211]
619 root 0 SW< [bat_events]
646 root 1508 S /sbin/syslogd -C16
648 root 1488 S /sbin/klogd
650 root 872 S /sbin/hotplug2 --override --persistent --set-rules-f
658 root 872 S /sbin/ubusd
720 root 1468 S /sbin/netifd
1118 root 1152 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1283 root 1500 S /sbin/watchdog -t 5 /dev/watchdog
1335 nobody 956 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
1352 root 1492 S syslogd -n -L -R 192.168.1.2:9999
1392 root 1500 S /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.ope
1435 root 1216 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1436 root 1512 S -ash
1473 root 1496 R ps



root@OpenWrt:/# cat /mnt/usb/install.log
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_start.sh : Doing extendRoot initilization
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:33 OpenWrt user.notice root: Please connect USB disk. If it is already plugged-in,
Jan 1 00:00:33 OpenWrt user.notice root: wait for a few seconds, and if nothing happens, please
Jan 1 00:00:33 OpenWrt user.notice root: reconnect the device. Keep in mind that your router's
Jan 1 00:00:33 OpenWrt user.notice root: ports may not be able to supply enough power to
Jan 1 00:00:33 OpenWrt user.notice root: spin-up a USB HDD.
Jan 1 00:00:34 OpenWrt authpriv.info dropbear[1334]: Running in background
Jan 1 00:05:04 OpenWrt auth.info passwd: Password for root changed by root
Feb 10 21:59:41 OpenWrt authpriv.info dropbear[1746]: Child connection from 192.168.1.1:34188
Feb 10 21:59:54 OpenWrt authpriv.notice dropbear[1746]: Password auth succeeded for 'root' from 192.168.1.1:34188
Feb 10 22:03:49 OpenWrt user.notice root: .....................................................................................................................................................................................................................................
Feb 10 22:03:49 OpenWrt user.notice root: USB disk is now available. Continuing...
Feb 10 22:03:49 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Feb 10 22:03:49 OpenWrt user.notice root: mount: mounting /dev/sda1 on /mnt/usb failed: Invalid argument
Feb 10 22:03:49 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Feb 10 22:03:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Feb 10 22:03:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Feb 10 22:03:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Feb 10 22:03:49 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
---------------------------------------------
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_start.sh : Doing extendRoot initilization
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:00:48 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:00:48 OpenWrt user.notice root: mount: mounting /dev/sda1 on /mnt/usb failed: Invalid argument
Jan 1 00:00:48 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
---------------------------------------------
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_start.sh : Doing extendRoot initilization
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:00:49 OpenWrt user.notice root: mount: mounting /dev/sda1 on /mnt/usb failed: Invalid argument
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
---------------------------------------------
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
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:00:49 OpenWrt user.notice root: mount: mounting /dev/sda1 on /mnt/usb failed: Invalid argument
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
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
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:00:49 OpenWrt user.notice root: mount: mounting /dev/sda1 on /mnt/usb failed: Invalid argument
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
Jan 1 00:27:43 OpenWrt user.notice root: $: Model Type tl-mr3020 identified
Jan 1 00:27:43 OpenWrt user.notice root: $: Model Type tl-mr3020 identified
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer_start.sh : Doing extendRoot initilization
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:27:44 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:27:44 OpenWrt user.notice root: mount: mounting /dev/sda on /mnt/usb failed: Invalid argument
Jan 1 00:27:44 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:27:44 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
---------------------------------------------
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_start.sh : Doing extendRoot initilization
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:00:49 OpenWrt user.notice root: mount: mounting /dev/sda on /mnt/usb failed: Invalid argument
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
---------------------------------------------
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_start.sh : Doing extendRoot initilization
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:00:49 OpenWrt user.notice root: mount: mounting /dev/sda on /mnt/usb failed: Invalid argument
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing exit
---------------------------------------------
---------------------------------------------
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_start.sh : Doing extendRoot initilization
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:48 OpenWrt user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: Mounting external USB storage...
Jan 1 00:00:49 OpenWrt user.notice root: mount: mounting /dev/sda on /mnt/usb failed: Invalid argument
Jan 1 00:00:49 OpenWrt user.notice root: /etc/init.d/ext: ERROR: unable to mount USB storage
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:00:49 OpenWrt user.notice root: /bin/box_installer.sh : executing exit

---------------------------------------------------------------------------------------

i dont know how to handle the problem with mounting the usb storage

ich dreh langsam am rad -.- sad smiley

hoffe du kannst hier helfen
vg
timmy

edit:
maybe it´s because it´s a 64GB USB Stick with exFat not Fat32?



Edited 1 time(s). Last edit at 02/10/2017 11:27PM by timmy_new_to_piratebox.
Re: need help. TP-Link MR3020
February 20, 2017 08:53PM
Hi,
yes, the USB stick needs to be FAT32

best regards
Matthias


This is only my signature.
Re: need help. TP-Link MR3020
February 24, 2017 05:06PM
I seem to be having a similar issue

Having successfully set up PB on both TP Link 3020's and 3040's a few months ago, I purchased a dozen for a new project. I lined them up on a bench and began the setup (formatting the USB drives on a PC with FAT 32) downloading the latest files from your site. However, having upgraded the firmware the units restarted, but with a mixture of results. Some showing root@OpenWrt some showing root@piratebox, another showing root@none and another root@nx24j93

I have noticed that on several units the I am unable to read the contents of the USB drive. I then began troubleshooting, think it may be an issue with the USB drives (32GB SanDisk) I tried a different batch of 16GB SanDisk, still without success I then tried a 4GB USB Imation drive. Still no joy.

I have tried reflashing using both the original and auto_flash methods. Still nothing.

As all of the units appear to be in different states, I have included a snapshot of one of them. This has a 16GB SanDisk USB 2.0 drive attached.

I've been meticulous in following the instructions and having had so much success in the past I am really struggling to find the issue. I have now 7 dead units and 6 more brand new that I dont want to touch until I get a better understanding of what's causing the issue.

The only common element is the Firmware that I have downloaded from the PB site (As I say, 7 units from different stores with 3 different types of USB drive).

[stable.openwrt.piratebox.de]

[stable.openwrt.piratebox.de]

As this code was last modified on the 5th Oct 2016 my previous successful implementions would have been with an earlier version of the firmware.

I have been working on this flat out for 3 days, pulling my hair out (we I would if I had any).

I'd really appreciate your guidance.

Many thanks,


Juan



=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------


BusyBox v1.19.4 (2016-01-26 21:26:14 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (12.09.2, r42647, V0.3-MaStr)
With additional backports from BB
[www.friedzombie.com]
-----------------------------------------------------
root@(none):/# 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,size=14592k)
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,noatime,lowerdir=/,upperdir=/overlay)
root@(none):/#
root@(none):/#
root@(none):/#
root@(none):/# ls -la /mnt/
drwxr-xr-x 1 root root 0 Jan 1 00:01 .
drwxr-xr-x 1 root root 0 Jan 1 00:01 ..
drwxr-xr-x 2 root root 0 Jan 1 00:01 ext
drwxr-xr-x 2 root root 0 Jan 1 00:00 usb
root@(none):/#
root@(none):/#
root@(none):/#
root@(none):/# ls -la /mnt/usb
drwxr-xr-x 2 root root 0 Jan 1 00:00 .
drwxr-xr-x 1 root root 0 Jan 1 00:01 ..
root@(none):/#
root@(none):/#
root@(none):/# ls -la /mnt/usb/PirateBox
ls: /mnt/usb/PirateBox: No such file or directory
root@(none):/#
root@(none):/#
root@(none):/# ls -la /opt/piratebox
drwxr-xr-x 2 root root 0 Jan 1 00:01 .
drwxr-xr-x 3 root root 0 Jan 1 00:01 ..
root@(none):/#
root@(none):/#
root@(none):/# ls -la /opt/piratebox/www
ls: /opt/piratebox/www: No such file or directory
root@(none):/#
root@(none):/#
root@(none):/#
root@(none):/#
root@(none):/# 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'
option ip6addr 'fdc0:ffea::1/64'

config alias
option interface 'lan'
option ip6addr 'fdc0:ffea::fef6:bbd9:5dba:4627/64'
option proto 'static'

root@(none):/#
root@(none):/#
root@(none):/# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11ng'
option macaddr '84:16:f9:6e:d5:ec'
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'

config wifi-iface
option device 'radio0'
option mode 'ap'
option network 'lan'
option ssid 'PirateBox - Share Freely'
option encryption 'none'
option isolate '1'

root@(none):/#
root@(none):/#
root@(none):/# cat /etc/openwrt_release
DISTRIB_ID="OpenWrt_backports"
DISTRIB_RELEASE="12.09.2"
DISTRIB_REVISION="r42647"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt_backports Attitude Adjustment 12.09.2"
DISTRIB_BACKPORT="V0.3-MaStr"
root@(none):/#
root@(none):/#
root@(none):/#
root@(none):/# cat /etc/pbx_custom_image
PBX_auto_Image_2.4
root@(none):/#
root@(none):/#
root@(none):/# ps
PID USER VSZ STAT COMMAND
1 root 1640 S {preinit} /bin/sh /etc/preinit
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]
365 root 804 S /sbin/hotplug2 --set-worker /lib/hotplug2/worker_fork.so --set-rules-file /etc/hotplug2-init.rules --persistent
429 root 1496 R telnetd -l /bin/login.sh
435 root 1488 S lock /tmp/.failsafe
436 root 1500 S ash --login
443 root 1500 S /bin/ash --login
466 root 0 SWN [jffs2_gcd_mtd3]
468 root 0 SW [flush-mtd-unmap]
499 root 1496 R ps
root@(none):/#
root@(none):/#
root@(none):/#
root@(none):/#
Re: need help. TP-Link MR3020
March 07, 2017 10:37AM
The problem I experienced was being caused by using a single USB A connection to my computer and not both USB A ports on the 3020 supplied cable. Matthias suggested I try using the OEM PSU which I did and made sure the USB drive was formatted on an Ubuntu system and everything is not working after using the auto_flash method.

Thanks for the support.


J.