[Solved]Problem to upgrade my PB

Posted by leyoy 
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
[Solved]Problem to upgrade my PB
July 01, 2014 07:43AM
Hi all,
i'm on Linux Ubuntu and I use a TPLink 3020.
First I tried to install a pirate box with two old version 0.5.1 and 0.6.3. The twice was freezing at :

* Running script '/etc/firewall.user'
Command failed: Not found

Now i trie to install a new one with the new version 1.0 .

I can access by telnet to the box only in failsafe mode:
1-no usb key is present in /mnt.
2-all the file are in read only mode so i can't change password, ican't edit any file.

Do you know what i can do ?

Thanks for your answer



Edited 1 time(s). Last edit at 07/01/2014 08:58PM by leyoy.
Re: Problem to upgrade my PB
July 01, 2014 08:40AM
Well,

finally i accessed to my box by ssh (sometimes it works, sometimes not, sometimes connection stop !).
I can see the /mnt/usb directory and i can update the firmware.
But something wrong now:

Jan 1 00:00:34 OpenWrt syslog.info syslogd started: BusyBox v1.19.4
Jan 1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : executing run_test
Jan 1 00:00:34 OpenWrt user.notice root: /bin/box_installer.sh : Testing requirements...
Jan 1 00:00:34 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:35 OpenWrt user.notice root: /etc/init.d/ext: Creating swapspace...
Jan 1 00:01:04 OpenWrt authpriv.info dropbear[1435]: Running in background
Jan 1 00:01:18 OpenWrt user.notice root: 32+0 records in
Jan 1 00:01:18 OpenWrt user.notice root: 32+0 records out
Jan 1 00:01:20 OpenWrt user.notice root: Setting up swapspace version 1, size = 32764 KiB
Jan 1 00:01:20 OpenWrt user.notice root: no label, UUID=a4322e32-ec1d-48b2-8cc9-18e3d91919cd
Jan 1 00:01:20 OpenWrt user.notice root: /etc/init.d/ext: Forcing overwrite of /mnt/usb/external_fs/OpenWRT.img if it already exsits
Jan 1 00:01:20 OpenWrt user.notice root: /etc/init.d/ext: Creating ext loop image...
Jan 1 00:03:41 OpenWrt user.notice root: /etc/init.d/ext: Including the external mountpoint to system
Jan 1 00:03:42 OpenWrt user.notice root: /etc/init.d/ext: Creating /bin/ext_path_fixer
Jan 1 00:03:42 OpenWrt user.notice root: /etc/init.d/ext: Including ext_path_fixer to /etc/profile
Jan 1 00:03:42 OpenWrt user.notice root: /etc/init.d/ext: Including ext_path_fixer to /etc/rc.common
Jan 1 00:03:42 OpenWrt user.notice root: /etc/init.d/ext: Enable for startup
Jan 1 00:03:42 OpenWrt user.notice root: /etc/init.d/ext: Starting...
Jan 1 00:03:43 OpenWrt user.notice root: If you run this during an install or run the init the first time
Jan 1 00:03:43 OpenWrt user.notice root: please run
Jan 1 00:03:43 OpenWrt user.notice root: source /etc/profile
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : Fixing paths
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh: line 25: can't create /sys/class/leds/*wlan/trigger: nonexistent directory
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : executing run_fake_opkg_update
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : Getting main Repository from /etc/opkg.conf
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : Doing fake opkg update (copy from cache folder (attitude_adjustment)
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : .. doing it for Piratebox repository (optional)
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : executing run_signaling_package_start
Jan 1 00:03:43 OpenWrt user.notice root: sh: /sys/class/leds/tp-link:green:wps/trigger: unknown operand
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : Trying to find next step
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : executing run_install_package
Jan 1 00:03:43 OpenWrt user.notice root: /bin/box_installer.sh : ERROR: /mnt/usb/install/auto_package is not set

Any idea ?

Thanks



Edited 1 time(s). Last edit at 07/01/2014 09:09AM by leyoy.
Re: Problem to upgrade my PB
July 01, 2014 07:24PM
Hi,
login to your box, run:

mv /mnt/usb/install/auto_package_done mv/mnt/usb/install/auto_package
box_installer_start.sh
Then it should install the box.

Matthias


This is only my signature.
Re: Problem to upgrade my PB
July 01, 2014 08:57PM
Thank you Matthias, now it works !
A new Piratebox in Saint Etienne France drinking smiley
Re: [Solved]Problem to upgrade my PB
May 19, 2015 11:51PM
I tried the same thing and it tell's me that It can't
rename " no such file in directory" for both commands.

what am I missing?
Re: [Solved]Problem to upgrade my PB
May 20, 2015 05:50PM
Try to post the commands listed here: [www.piratebox.cc]