WD MyCloud Gen2 Chroot (+ Transmission and Minidlna)

Great… thanks for your quick reply @Fox_exe

I really appreciate to you for this tips. Now I can use Bubbleupnp and Plex.

Still, I have a problem when I try to play streaming video from my WD My Cloud (which is away from my house) to Chromecast 2.

I tried Plex and FTP streaming.
Plex only works for some File format and resolution, for example, 360p MP4. If I try 720p MP4, the voice is not available after 10 seconds.
FTP streaming works well for my computer and Android phone (with ES File Explorer), but it does not work when I try to stream video from Android to Chromecast2.

Does anyone have an idea?
Does it works wells if I move my WD My Cloud inside my house and using DLNA?

“ES Explorer” and network shares - Works great.

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.