Welcome! Log In Create A New Profile

Advanced

WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)

Posted by JanN 
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
December 17, 2017 03:32AM
user1231 Wrote:
-------------------------------------------------------
> Also, I've thrown together a script that downloads
> binaries from debian.org and replaces the ones in
> Carl's initrd, in case you're paranoid about
> running binaries from unknown sources. Not that I
> don't trust Carl, Martin and Fox_exe, but my
> employer doesn't... oh well.
> Let me know if anyone's interested and I'll share
> it here.
>
> Thanks for all the work you guys have put into
> this! Truly awesome!

I would appreciate it, if you can share this script. There is not only "the lack" of trust, with this script, it's easy to keep the binarey up to date.

And by the way with the latest ethernet-patch from bodhi wol works fine with a 4.13 kernel, maybe I should update my github. :-/

-------------------------------------------------------------------------
GitHub https://github.com/cschil
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
December 18, 2017 02:50PM
Here's the script. I've only tested it on debian stretch, for debian stretch.
Not much of any error handling in it either.
Attachments:
open | download - fetch_binaries.sh (1.9 KB)
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
December 18, 2017 02:51PM
As someone previously noted, you should modify initrd/bin/resume to use -e instead of -h to find "init", when you're on a linux dist that has init as a regular file instead of a symbolic link. Like stretch.
MM
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
February 11, 2018 06:49PM
Hi Carl,

Peacemaker Wrote:
-------------------------------------------------------
> And by the way with the latest ethernet-patch from
> bodhi wol works fine with a 4.13 kernel, maybe I
> should update my github. :-/


I'm trying to put a 4.14 kernel together.

I didn't get WOL working.

Can you elaborate, what you did? Which wakeup tool do you use, with which commandline? Are you setting flags with ethtool? Which patch do you use?

Thanks!

bye
MM
MM
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
February 12, 2018 08:50AM
I updated my mcm-daemon repo with patches and configs for newer kernels.

I got 4.14.18 running and fixed the missing ethernet. It was due to needed changes to the dts file.

I also added bodhi's ethernet and LED patch, but WOL still doesn't work for me, the LEDs are not yet tested.
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
February 13, 2018 08:36PM
MM Wrote:
-------------------------------------------------------
> I updated my
> mcm-daemon
> repo
with patches and configs for newer
> kernels.
>
> I got 4.14.18 running and fixed the missing
> ethernet. It was due to needed changes to the dts
> file.
>
> I also added bodhi's ethernet and LED patch, but
> WOL still doesn't work for me, the LEDs are not
> yet tested.

Thanks MM!

I think if hmartin can get this mcm-daemon to work on the WD My Cloud EX2100, it would be great!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
March 14, 2018 03:07AM
MM: I was looking through the commit you did to your repo, 4f949e169b254b78ee76978e2e192525df36f330, which was the LED and WOL patch.
I'm not seeing any WOL based functionality added there, just a few debug prints. So perhaps that's why it's still not working for you?

Br
Yes, that's why I was asking which patch he used. I didn't find anything else.

The LEDs work fine by the way, thanks bodhi!
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
March 15, 2018 01:51PM
Hi MM,

The WOL did not really have any patch other than debug prints while we were trying it.

I recall that I've concluded that the network chip has WOL built in and all we need was using ethtools to activate it. So I left the the debug prints in there to see the progress. However, this has not been finalized, WOL still does not work on my NAS326 either.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
March 15, 2018 02:09PM
Hey,
I can have a look how I get WOL working within my "old 4.13" build, this weekend.
As it is working fine, after you activated WOL with ethtools.

Cheers Carl

-------------------------------------------------------------------------
GitHub https://github.com/cschil
Re: WD MyCloud Mirror Gen2 (BWVZ, GrandTeton)
March 15, 2018 02:22PM
Hi Carl,

> As it is working fine, after you activated WOL
> with ethtools.

Sounds great! wonder if we have the same chip on your WD box and my NAS326?

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: