Reply
dijsil
Aspirant

Stora Software alternative

 

sdnick484 Posted a solution whoever has a stora and did a factory reset (like I did) and how has become a paperweigt.
 
 Anyone with enough linux knowledge can help out pls ?

 

1. On a Linux system, ensure you have tftp-hpa, nfs-utils, wireshark, & u-boot-tools installed.

install ubuntu 

https://linuxhint.com/install_tftp_server_ubuntu/

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-18-04

https://linuxhint.com/install_wireshark_ubuntu/

https://zoomadmin.com/HowToInstall/UbuntuPackage/u-boot-tools

 

2. Grab a rootfs image from here (link to Dropbox: Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2)

I downloaded the above and extracted in the linux path: /mnt/Axentra/marvell.nfs.rootfs/

 

3. Extract the root image at: /mnt/Axentra/marvell.nfs.rootfs/

 

4. Create a stora uImage using the steps in step 2 (I used the from the rootfs date "Updated 25 Aug 2019" - this is where u-boot-tools comes into play)

Can anyone please post the commands or maybe if he would record the whole process and post it on youtube that would be very helpful :/

 

5. Set up tftp to server that uImage file (i used tftpd, but inetd/xinetd could also work)

6. Set up NFS to export the location in step 3; my exportfs looks like: /mnt/Axentra/marvell.nfs.rootfs/ 10.0.0.0/8(rw,sync,insecure,no_root_squash,no_subtree_check,nohide)

7. Configure nfs-utils to use nfsv2 and UDP (they're no longer used by default). My nfsd parameters are "-u -V 2"

8. Configure your ethernet port to use 10.0.0.1 and connect a cable from it to the Stora

9. Fire up wireshark, unplug the stora, press and hold the reset with a paperclip, and power it back on

10. When you see the tftp traffic, you can release

11. If you did the above right, you should be able to log in after a couple minutes via ssh root@10.x.x.x with the password root (where 10.x.x.x is the IP of the stora which seems random).

12. Mount the Stora's rootfs via: ubiattach /dev/ubi_ctrl -m 2 -O 2048 && mount -t ubifs /dev/ubi0_0 /mnt/

13. Place your authorized keys in /mnt/root/.ssh and ensure permissions are correct (700 for .ssh) and enable root ssh in /mnt/etc/ssh/sshd_config

14. If all has gone well, you should be able to reboot and get back into your stora via root ssh keys.

My previous reply seems to have disappeared, so I'm going to try to post it again:

 

 

Message 1 of 4
tiaderosa
Tutor

Rif.: Stora Software alternative

I can share what I have done but you need to give additional info on the kind of help  you are expecting.

The procedure is well descrived at https://web.archive.org/web/20170525050200/http:/www.openstora.com/wiki/index.php?title=Root_Access_...

The "alternative" image is not available do so you need to refer to what is descrived in your post to be able to use it

 

Message 2 of 4
dijsil
Aspirant

Rif.: Stora Software alternative

1.JPGI followed the instructions on your link however when I switch it on (while pressing the reset button till there are 3 green flashes) it is showing ip 192.168.56.1

 

I am starting to giving up on this :/

Message 3 of 4
dijsil
Aspirant

Rif.: Stora Software alternative

just saw your other thread, will trythat Smiley Happy

Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 532 views
  • 0 kudos
  • 2 in conversation
Announcements