Can't reinstall sad smiley MR3040 [SOLVED]

Posted by nightfox7 
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
Can't reinstall sad smiley MR3040 [SOLVED]
October 09, 2014 04:44PM
So, I need some help! SEE THE SOLUTION IN THE NEXT POST

I was changing my SSID and something happened in PuTTY, it crashed.. I restarted the PB, and noticed that it was no longer distributing a wireless signal, and went back to vi into the file to check and see what was up.. well the file is empty.. So I figured it'd be easy enough just to reinstall the thing.. Wrong.. I can not get it to work.. maybe I am doing something wrong?

I am putting the install folder onto the USB stick after formatting it, along with the firmware for my model, then putting it back into the PB, and firing it up.. it sits there and does a whole of nothing.. So I researched a bit and saw to rename the file "auto_package_done" to "auto_package". I did this, and still no avail..

Here's the log..

Jan  1 00:00:45 piratebox syslog.info syslogd started: BusyBox v1.19.4
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_test
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Testing requirements...
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : .. USB storage modules available
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : extendRoot package is installed
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_start
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_prepare_extendRoot
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : configure initi step for extendRoot
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_init_extendRoot
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : not running extendRoot init, because it already is
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_extendRoot_stop
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh: line 25: can't create /sys/class/leds/*wlan/trigger: nonexistent directory
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_fake_opkg_update
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Getting main Repository from /etc/opkg.conf
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Doing fake opkg update (copy from cache folder (attitude_adjustment)
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : .. doing it for Piratebox repository (optional)
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_package_start
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : executing run_install_package
Jan  1 00:00:45 piratebox user.notice root: /bin/box_installer.sh : Installing packge extendRoot-piratebox piratebox-mod-imageboard extendRoot-minidlna 
Jan  1 00:00:47 piratebox user.notice root: Installing extendRoot-piratebox (0.8.0-1) to ext...
Jan  1 00:00:47 piratebox user.notice root: Copying /mnt/usb/install/cache/extendRoot-piratebox_0.8.0-1_all.ipk.
Jan  1 00:00:47 piratebox user.notice root: Installing extendRoot-lighttpd (0.8.0-1) to ext...
Jan  1 00:00:47 piratebox user.notice root: Copying /mnt/usb/install/cache/extendRoot-lighttpd_0.8.0-1_all.ipk.
Jan  1 00:00:47 piratebox user.notice root: Installing piratebox-mod-imageboard (0.1.2-1) to ext...
Jan  1 00:00:47 piratebox user.notice root: Copying /mnt/usb/install/cache/piratebox-mod-imageboard_0.1.2-1_all.ipk.
Jan  1 00:00:47 piratebox user.notice root: Installing piratebox (1.0.0-7) to ext...
Jan  1 00:00:47 piratebox user.notice root: Copying /mnt/usb/install/cache/piratebox_1.0.0-7_all.ipk.
Jan  1 00:00:47 piratebox user.notice root: Installing extendRoot-minidlna (0.8.0-1) to ext...
Jan  1 00:00:47 piratebox user.notice root: Copying /mnt/usb/install/cache/extendRoot-minidlna_0.8.0-1_all.ipk.
Jan  1 00:00:48 piratebox user.notice root: Collected errors:
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/extendRoot-lighttpd.postinst: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/extendRoot-lighttpd.prerm: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/extendRoot-lighttpd.control: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * set_flags_from_control: Failed to open /mnt/ext//usr/lib/opkg/info/extendRoot-lighttpd.control: No such file or directory.
Jan  1 00:00:48 piratebox user.notice root:  * pkg_write_filelist: Failed to open /mnt/ext//usr/lib/opkg/info/extendRoot-lighttpd.list: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * opkg_install_pkg: Failed to extract data files for extendRoot-lighttpd. Package debris may remain!
Jan  1 00:00:48 piratebox user.notice root:  * opkg_install_cmd: Cannot install package extendRoot-piratebox.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/piratebox.preinst: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/piratebox.postinst: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/piratebox.prerm: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/piratebox.postrm: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext//usr/lib/opkg/info/piratebox.control: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext/usr/share/piratebox/piratebox.common: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext/usr/share/piratebox/timesave.common: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext/etc/init.d/piratebox: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * wfopen: /mnt/ext/etc/piratebox.config: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * set_flags_from_control: Failed to open /mnt/ext//usr/lib/opkg/info/piratebox.control: No such file or directory.
Jan  1 00:00:48 piratebox user.notice root:  * pkg_write_filelist: Failed to open /mnt/ext//usr/lib/opkg/info/piratebox.list: No space left on device.
Jan  1 00:00:48 piratebox user.notice root:  * opkg_install_pkg: Failed to extract data files for piratebox. Package debris may remain!
Jan  1 00:00:48 piratebox user.notice root:  * opkg_install_cmd: Cannot install package piratebox-mod-imageboard.
Jan  1 00:00:48 piratebox user.notice root:  * verify_pkg_installable: Only have 28kb available on filesystem /mnt/ext/, pkg minidlna needs 110
Jan  1 00:00:48 piratebox user.notice root:  * opkg_install_cmd: Cannot install package extendRoot-minidlna.
Jan  1 00:00:48 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:48 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:48 piratebox user.notice root: Installing minidlna (1.0.24-1) to ext...
Jan  1 00:00:48 piratebox user.notice root: /bin/box_installer.sh : Trying to find next step
Jan  1 00:00:48 piratebox user.notice root: /bin/box_installer.sh : executing run_signaling_package_stop

Can anyone offer any advice? smiling smiley

-Seth



Edited 2 time(s). Last edit at 10/10/2014 03:13PM by nightfox7.
Re: Can't reinstall sad smiley MR3040 [Solution HERE]
October 09, 2014 05:53PM
And I guess I might add that I can not SSH or Telnet back into the router either at this time...

I really wish I would had just left the SSID ALONE.. sad smiley lol I really need this thing to work.. been working on it all day.. Maybe serial is my only choice now?

I need helpppppp eye popping smiley

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Solution~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

So with the help of crunchy_captain (Which actually wasn't his user on there, it was really captain_curly and his name on the forum is caretu) on the IRC chat, I was able to get my mr3040 back up and running!

Here's what I did:

I had to go in via serial and install the firmware.

Here's a pretty great guide, it's for the mr3020, but just take the concepts and apply it to the 3040, just make sure to get the correct firmware for your device.
Recover bricked MR3020

To make sure you give the correct commands for your specific device (in my case the 3040v2), make sure to follow the commands located here: [wiki.openwrt.org]

I have a FTDI programmer that I used for this process. Make sure to pay attention to the pin layout on the board, and how it corresponds to the pinout on the FTDI. I did not use the VCC from the FTDI, I just powered from the usb, to make sure I didn't fry anything (if you put more than 3.3v in at the serial connection then you will fry it).

I then proceeded to simply put the install folder from the install_piratebox.zip after unzipping it.
And I also put the customized copy of openwrt on the usb drive an plug it into your box.

From here, I just followed the guide mentioned above. Just make sure to pay attention to what commands you are suppose to give for your device. Once again, located here. Let the device do it's job, it took mine a good 30 mins before it rebooted and was working properly.

Hopefully that will help anyone who was in my situation out!!



Edited 3 time(s). Last edit at 10/11/2014 03:01AM by nightfox7.
Re: Can't reinstall sad smiley MR3040 [SOLVED]
October 10, 2014 11:54PM
Crunchy_captain? Not only did you forget my forum nick, you also got my irc-nick all screwed up, it's captain_curly... but I choose to be flattered since it's almost Captain Crunch, one of the hacker heroes smiling smiley
Re: Can't reinstall sad smiley MR3040 [SOLVED]
October 11, 2014 02:59AM
caretu Wrote:
-------------------------------------------------------
> Crunchy_captain? Not only did you forget my forum
> nick, you also got my irc-nick all screwed up,
> it's captain_curly... but I choose to be flattered
> since it's almost Captain Crunch, one of the
> hacker heroes smiling smiley


This is too funny! grinning smiley I suck at names man.. You know I even asked about your name! Oh well.. >grinning smiley<smileys with beer

I almost feel like I should leave it in there, or change my name to crunchy captain.. You have to give me creds for getting captain right. eye rolling smiley