Earlier I went ahead and compiled testdisk and photorec for my Gen2 MyCloud, as a user had need of a way to recover files. That got me wondering about other potentially useful utilities that could greatly help out, given the very minimalist toolkit WD gave us with the baseline firmware.
Since I have the day off today, I have embarked on a little bit of time wasting, and compiled a few other useful things, like ddrescue and foremost. (both working on my Gen2)
Are there any other potentially useful tools others here would like to see compiled for the MyCloud?
(Keep them simple please-- no crazy server daemons or anything. I am specifically wanting to create a useful toolkit package for things like recovery, or network analysis. Please dont ask me for updated versions of Plex server or something.)
I suppose some things like iscsiadm and pals would be nice to have on the singlebay myclouds. (The kernel modules are already present, but no admin programs are present.)
I know what I use my box for, but it would help to have some feedback on what tools others wish were available, so I can see if I can compile them.
2 Likes
I’m sure I’ll think of something later, but have you already published how you are compiling things on a Gen 2 AND defeating the reboot “clean sweep” ? (Or are you just creating a bin
dir under /shares/Public
?)
Come to think of it, I would love to have better shell than ash
(bash and/or ksh), a better editor, vim
(?) and the less
utils. If I can follow your instructions, I’ll build them myself.
Thanks for sharing!
I am abusing the bejeebus out of fox_exe’s debian package. Basically I am using it as a sandbox for doing the compile. It is full-native to the host kernel though, so the compiler gets all the needed configuration. No cross compiler setup.
All you have to do is compile the -static option passed to gcc. The sandbox can have all the libraries put where they would normally be, since they live in a chroot, and the resulting binaries are statically compiled-- meaning they dont make any library calls-- the libraries are statically compiled inside them already.
An easy way to overcome the volatility of the system would be to add some fast symlink creation fu to fox_exe’s wdcrack package. It basically runs as an init script running at user init. symlink creation is faster than file copy, so will fire off very quickly. The actual files can live in /mnt/HD/HD_a2/Nas_Progs along with all the other goodies his packages install. The symlinks would be where they would be expected to be, in /bin, /sbin, /usr/bin, and /usr/sbin, as appropriate.
Ok, I have successfully built all three of those.
Bash is v4.4
vim is v8.0.627
less is v487
I put them in another folder on my google drive along with the other stuff here:
https://drive.google.com/open?id=0B0EsuN03YHardlRUQUNRYWp1VUU
Will you help us…Please!
I don’t know about a tool…BUT… if interested, a " TUTORIAL" maybe. I certainly can tell by reading some of your posts, that you are just the person who can help! I’m sure1,000’s more will benefit as well too…If you choose to do so! … @Wierd_w
Here we go…
How in the heck does one USE the SSH (Secure Shell) on a My Cloud?
I have looked around and read a several posts but most of them are like trying to read a foreign language, Tabs & pages open everywhere from links and bouncing back in forth to google for definitions!
It probably seems elementary to you, but you’d be surprised at how many others want to know too but are scared of bricking their device.
DON’T YOU AGREE ? [poll type=single min=0 max=2]
SSH is merely an access mechanism for connecting to a computer (Secure SHell).
Once you’re logged in via SSH, you’re using the embedded Linux running on the computer that runs inside the MyCloud. There’s no quick way to explain how to use the vast and rich facilities of Unix/Linux, I’m afraid… Not to mention the facilities bolted on top of Linux to provide the MyCloud. Or the fact that there are two main variants of MyCloud firmware.
If you’re not familiar with linux, you will have to do some reading… Or leave the MyCloud to do its thing.