forked from cschil/mcm-deamon
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Readme.txt
59 lines (44 loc) · 2.28 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
This is a simple daemon for the WD-My Cloud Mirror gen2 and Ex2 ultra NAS system.
It was developed on knowledge gained from reverse-engineering and spying
on the a D-Link dns320l system software and extended to the WD MyCloud
Gen2 devices (WD MyCloud Mirror Gen2 and WD MyCloud EX2 Ultra).
Parts of this work are based on fan-daemon.py by Lorenzo Martignoni and
(c) 2013 Andreas Boehler, andreas _AT_ aboehler.at
Modified for WD by
(c) 2016 Carl Schiller, schreibcarl@gmail.com
and
(c) 2017 Martin Mueller, mm@c-base.org
How it works
============
On bootup, mcm-daemon is executed and runs as a deamon. On startup, the
daemon can optionally read the RTC and set the system time to the RTC time.
It also sends the DeviceReady command to the MCU so that the Power LED stops
blinking.
Afterwards, it goes to fan control loop.
For normal operation a socket server on port 57367 is provided. You can
connect with any telnet client to this port and work with the device.
Just type "help" for a list of available commands.
Installation
============
Either compile the software on your NAS by typing "make" or cross-compile
it from your host computer using the supplied xcompile.sh script.
You can also build a debian package with:
dpkg-buildpackage -uc -us -b -t arm-linux-gnueabihf
The mcm-daemon depends on the iniparser library from:
http://github.com/ndevilla/iniparser
Put the binary to /usr/bin and the config file to /etc. Adapt the parameters
to your needs, leave to defaults if unsure.
A systemd unit is provided which can be copied to /etc/systemd/system and
enabled by running "systemctl enable mcm-daemon"
Disclaimer
==========
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <http://www.gnu.org/licenses/>.