WD MyCloud Gen2 Chroot (+ Transmission and Minidlna)

sry, I can’t find the <chroot-jessie-gen2.tar.gz> download url.
would you show me.
thx!

First of all thank you very much for your effort!

I’ve innstalled now the debian bin for my mycloud mirror gen2 but chroot-debian.sh says it can’t find chroot.

I’ve moved everything to HD_a2/ so everything is at HD_a2/chroot/ but still the same. Appending /bin/bash/ made it work however if I install a deb package the command can’t be found (cyberduck).

Isn’t this supposed to be working or what am I doing wrong?

Can’t find the file chroot-jessie-gen2.tar.gz to upload.
Pse support me.
Thanks

hi, i don’t know where is chroot-jessie-gen2.tar.gz link to down load. Please help me. tks

Read first post (Fixed)

Tks u very much
now i have problem with minidlna server. MiniDLNA status is 0 video, 0 Audio, 0 Image. Please tell me how to fix it.

I always thank you for sharing this. Recently, I connected an external hard driver, and I want for Transmission to save torrent download in external hard driver. I tried but I cannot find the root to external hard driver in chroot. (I can find the root before I go inside chroot).I tried to mount sdb1 but the console says it is already mounted. Can somebody help me?

Hi all.
I need a little explanation please.
I have a mirror gen2 4tb, i have found the right Debian app.

How we make permanent the chroot?

My target is install from chroot the lftp (apt-get install lftp?) because i wrote a script in bash that do a mirror from a personal ftps to a local folder (i am using It in a Mac at the moment).
This script (It’s a .sh extension file) should be launched with a cron schedule at every hour.

So basically i need explanation
-path of chroot
-is It permanent or how to make permanent
-where i need to edit the cron job for my script.sh to make It permanent even after reboot

Hy, if you want to install only transmission is very easy. You need only to download the version of a transmission and try to install directly from your webui.

Go to web interface
In “URL” field (In your browser) type:
javascript:APP_INSTALL_FUNCTION=1; APPS_EULA=1; check_app_eula();
Alternative way: Press [ctrl] + [shift] + [i], open “Console” tab, put this and hit [enter]:
APP_INSTALL_FUNCTION=1; APPS_EULA=1; check_app_eula();
Go to Apps tab and install “WD_Crack” app.
Refresh page and install any other apps.

Hi!

Which are the steps I need to do to use this Debian in my WD My Cloud Gen 2?

This is what I have done:

  1. Install the WDCrack app
  2. Install the Debian app
  3. Enable SSH

Now … ¿what should I do? In the first message of this thread Fox_exe said that the next step is to run “chroot /mnt/HD/HD_a2/chroot /bin/bash”, but I don’t have that folder.

Should I run any of the scripts placed in the “/mnt/HD/HD_a2/Nas_Prog/Debian/” folder?

Thanks :slight_smile:

Hi again!

I am not able to install anything in the Chroot Debian. This is what I am trying to do:

~ # chroot /mnt/HD/HD_a2/Nas_Prog/Debian/chroot /bin/bash
root@WDMyCloud:/# apt-get install python

And this is the output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  file libmagic1 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib mime-support
  python-minimal python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
  file libmagic1 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib mime-support python
  python-minimal python2.7 python2.7-minimal
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 3892 kB/4139 kB of archives.
After this operation, 18.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err http://ftp.debian.org/debian/ jessie/main libmagic1 armhf 1:5.22+15-2+deb8u1
  404  Not Found
Err http://ftp.debian.org/debian/ jessie/main libpython2.7-minimal armhf 2.7.9-2
  404  Not Found
Err http://ftp.debian.org/debian/ jessie/main python2.7-minimal armhf 2.7.9-2
  404  Not Found
Err http://ftp.debian.org/debian/ jessie/main libpython2.7-stdlib armhf 2.7.9-2
  404  Not Found
Err http://ftp.debian.org/debian/ jessie/main python2.7 armhf 2.7.9-2
  404  Not Found
Err http://ftp.debian.org/debian/ jessie/main file armhf 1:5.22+15-2+deb8u1
  404  Not Found
E: Failed to fetch http://ftp.debian.org/debian/pool/main/f/file/libmagic1_5.22+15-2+deb8u1_armhf.deb  404  Not Found

E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/python2.7/libpython2.7-minimal_2.7.9-2_armhf.deb  404  Not Found

E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/python2.7/python2.7-minimal_2.7.9-2_armhf.deb  404  Not Found

E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/python2.7/libpython2.7-stdlib_2.7.9-2_armhf.deb  404  Not Found

E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/python2.7/python2.7_2.7.9-2_armhf.deb  404  Not Found

E: Failed to fetch http://ftp.debian.org/debian/pool/main/f/file/file_5.22+15-2+deb8u1_armhf.deb  404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Anyone has successfully installed something inside the chrooted Debian?

hey guys it’s possible to reactivate the standby of the mycloud system with minidlna faster?
Is there any script or anything?
Because after I played a movie on my samsung tv the second time the hdd boots up and the film is showing.

Run apt update first.

Hi,
I’m having a problem with speed on Transmission, It can’t reach speeds over 10MB’s, I have an internet speed 600 mbps, i can eaisly get 60MB’s on desktop PC (tested the same item), home network uses switches 1000mbps, WDMyCloud is connected to 1000 port (green LED), transfers WDMyCloud <–> my PC using cable are about 100MB’s. I’ve checked transmission configuration files and there are no limits set. I’m out of ideas :confused: could you help please?
log from ethtool:
root@WDMyCloud:/# ethtool egiga0
Settings for egiga0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: uag
Wake-on: d
Link detected: yes

speed test via:

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -

result:
Retrieving speedtest.net configuration…
Testing from
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by
[35.15 km]: 13.437 ms
Testing download speed…
Download: 321.54 Mbit/s
Testing upload speed…
Upload: 63.45 Mbit/s

Torrents uses much more cpu than regular file downloads, because there is so many different algorithms spin “under the hood”: Managing dozens of download flows, checking checksums, encryption, etc.
10MBps - almost maximum for this slow CPU.

Thank you. It looks like I need sth more powerful :slight_smile:

Sorry to bother, I already read this entire thread and the other one specifically about installing Debian, but I still fail to understand some of the important details.

I also already went through Fox_exe’s files looking for specifics but didn’t found what I was looking for.

I have a MyCloud EX2 Ultra (yes yes, I understood it’s just like the Mirror Gen2) with firmware version 2.41.116, my main need right now is just to make DDNS to work properly (not fast enough to IPv6 and only updates the loopback address to the server), so I don’t need to change the OS.
The possibility of briking the device is also a major issue since I currently have no other device large enough to backup during the procedure and be sure nothing would be lost.

If I understood it correctly so far, this Chroot procedure is to create an area on the device that will survive reboots and permits to install native linux programs using the usual apt-get method; Wile the other thread is to completely change the underling OS with full Debian. Is this correct?

So, how safe it is the Chroot procedure?
I just need to go to the Apps tab on my device, install the ChrootedDebian.bin for my version and it will be working?
Anything available to apt-get can be installed safely under the new root directory?

I would appreciate any help, doing anything beyond the most basic tasks has been a nightmare so far with this little box and the new OS 5 firmware seams just a much worse can of worms…

Hi @Fox_exe! Any chance you could please recompile the Debian app for Mirror Gen2, compatible with the latest OS5 (5.18.117)? Much appreciated, in advance.