This shows you the differences between two versions of the page.
barebox [2018/03/31 20:43] |
barebox [2022/10/25 04:58] (current) rzr [REFERENCE] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ====== WD My Cloud ====== | ||
+ | |||
+ | WdMyCloud is single HardDisk NaS that comes with BareBox + DebiaN GnU/LinuX based FirmWare and allows you to LogIn as RooT and with great CommunitY Thanks [[wd]]. | ||
+ | |||
+ | ===== REFERENCE ===== | ||
+ | |||
+ | * http://www.wdc.com/en/products/products2.aspx?id=1140#Tab3# WDBCTL0020HWT 2TB | ||
+ | * https://www.modesdemploi.fr/western-digital/my-cloud-wdbctl0020hwt/mode-d-emploi?p=111 reset booton | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== WIP ===== | ||
+ | |||
+ | I managed to displace my backuped files to spare disk (40GB) one (the backup fits on one CDR) | ||
+ | |||
+ | Now I plan to debbootstap debian into the data part or even better on usb stick | ||
+ | the challenge would be make it compatible without touching the [[uboot]] conf or stoke FirmWare | ||
+ | or at least minimal changes that can be reverted easily... | ||
+ | |||
+ | Next job would be to rebuild all sources provided by WD and upstream what need to be upstreamed, this is not a fast job so any support is welcome... | ||
+ | |||
+ | ===== CommunitY : ===== | ||
+ | |||
+ | I plan to provide Native DebiaN support to it and eventually try to help to UpStream this... | ||
+ | |||
+ | * http://community.wd.com/t5/forums/recentpostspage/post-type/message/user-id/324266 | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/bd-p/mycloud# CommunitY | ||
+ | |||
+ | Note special attention to the reason I bought it (for 140EUR in 2015-01-17 ) is because of CommunitY and specially Fox_exe shared some many info about running DebiaN on this device... so respect to him and encourage him as much as you ca, he worth it ! most or content on this page was shared from this smart russian HackeR , national sport along chess :) | ||
+ | |||
+ | * https://community.wd.com/users/rzrfreefr | ||
+ | * http://community.wd.com/t5/user/viewprofilepage/user-id/280916 | ||
+ | * http://forum.ixbt.com/post.cgi?id=print:11:45621&page=29 | ||
+ | |||
+ | |||
+ | DebiaN : | ||
+ | |||
+ | * https://community.wd.com/t/clean-debian-and-openmediavault-on-wdmycloud/93714/291 | ||
+ | * https://openmediavault.readthedocs.io/en/latest/prerequisites.html# RAM: 1 GiB capacity | ||
+ | |||
+ | |||
+ | |||
+ | ===== HardWare : ===== | ||
+ | |||
+ | * CpU : MindSpeed ConcertO M86261 ARMv7 | ||
+ | |||
+ | * RaM : 256MB | ||
+ | * HdD : WD20EFX 2TB WE Nasware 2.0 ( SatA ) | ||
+ | * NiC : BCM54612E Gigabit Ethernet Transceiver http://mybookworld.wikidot.com/my-cloud | ||
+ | * BoarD : UarT? SW2? PowerSupply 12V*1.5A | ||
+ | * RoM : Winbond 24x40 (512KB)? | ||
+ | |||
+ | |||
+ | {{https://images-na.ssl-images-amazon.com/images/I/91mD4eRSx6L._SL1500_.jpg}} | ||
+ | |||
+ | |||
+ | |||
+ | ==== CASE ==== | ||
+ | |||
+ | Open will (or could?) crack warranty ? I dont care I wanted to know how I could replace the disk ... 1 of 4 clip was broken. | ||
+ | |||
+ | * https://www.youtube.com/watch?v=TGLJi66vxnY | ||
+ | |||
+ | |||
+ | |||
+ | ==== CPU === | ||
+ | |||
+ | CPU: Mindpeed (Manufacturer) Comcerto (Family) C2000 (Generation), M86261G (Model). Dual-core 650MHz, 256kb L2 cache, ARMHF (VFP+NEON Instructions). Designed for Hi-band routers and NAS. | ||
+ | |||
+ | * http://downloads.codico.com/misc/Newsletter/2013/2013_02/862xx-BRF-001-M_C2K.pdf (Not datashield available in public. Only family specs) | ||
+ | |||
+ | |||
+ | * http://www.theregister.co.uk/Print/2013/10/10/review_western_digital_my_cloud_2tb_nas/# MindSpeed ArmV7 CpU | ||
+ | * https://support.mindspeed.com/products/cpe-processors/comcertoreg-2000# CpU | ||
+ | |||
+ | ==== RAM ==== | ||
+ | |||
+ | RAM: Samsung K4B2G1646E-BCKO (512MB (128Mx16), DDR3-1600, 11-11-1 timing) | ||
+ | |||
+ | <code> | ||
+ | dmesg | grep 'Mem' | ||
+ | [ 0.000000] Memory policy: ECC disabled, Data cache writealloc | ||
+ | [ 0.000000] Memory: 44MB 192MB = 236MB total | ||
+ | [ 0.000000] Memory: 232128k/232128k available, 30016k reserved, 0K highmem | ||
+ | </code> | ||
+ | |||
+ | * http://www.samsung.com/global/business/semiconductor/file/product/ds_k4b2g1646e_rev121-0.pdf | ||
+ | * http://mybookworld.wikidot.com/my-cloud# 256MB RaM or ? | ||
+ | ==== NIC ==== | ||
+ | |||
+ | |||
+ | LAN: Brickmon BCM-54612E (Ethernet Gigabit transceiver) | ||
+ | |||
+ | * http://www.broadcom.com/products/Physical-Layer/Gigabit-Ethernet-PHYs/BCM54612E (No datashield available in public) | ||
+ | |||
+ | |||
+ | ==== ROM ==== | ||
+ | |||
+ | ROM: Winbond 25x40CLVIG, 4mbit (512KByte) SPI flash chip (Sometime used for store SMART info in HDDs) | ||
+ | |||
+ | * https://www.winbond.com/NR/rdonlyres/6E25084C-0BFE-4B25-903D-AE10221A0929/0/W25X40CL.pdf | ||
+ | |||
+ | |||
+ | ==== BOARD / UART ==== | ||
+ | |||
+ | BoarD has UarT pins, you can soldier wire directly to it, but I prefer to make my own adapter using a PcI SockeT since the width of pins seems to match. | ||
+ | |||
+ | Thanks I was looking for a way to avoid soildering the board | ||
+ | |||
+ | So designed my own socket by recycling a PCI socket :) | ||
+ | |||
+ | For serial you also an other board like RpI and just wire Tx to Rx etc ... | ||
+ | |||
+ | Will report how if you want | ||
+ | |||
+ | |||
+ | <code> | ||
+ | |||
+ | __(PS)___(eth)___(usb)__(rst)__ | ||
+ | : (o) (o)|______ | ||
+ | : ^\_____Screws___ /^ 4p? | | ||
+ | S ______| ___________ | ||
+ | A | < (big hole) | |= <G> o . | ||
+ | T screw |______ |___ |= <T> o . | ||
+ | A ----+| -- GND -(blue)---:-+ B62 |= <R> o . | ||
+ | : chip ----+| ->-- Tx -(green)-:-+ B61 |= . . | ||
+ | : up ----+| -<--(red)- Rx ---:-+ B60 |= . . | ||
+ | : ______| | |= . . | ||
+ | [ SW1 ] |______ < (small hole) | |= . . | ||
+ | ----+| ( unused ) + |= . . | ||
+ | Board : Component side up ______| | | . . | ||
+ | | | PCI | . . | ||
+ | ___________________| smaller row 22p > | | . . | ||
+ | CPU | __| Side | | ||
+ | J2? | |__ .......0 | ||
+ | : | View | . . | ||
+ | LED (o) : larger row 98 pin > : : . . | ||
+ | |||
+ | |||
+ | __________________________________________________________________ | ||
+ | | . . . . . : < 5p (GND Tx Rx ) < A side (unused here?)| | ||
+ | | . . . . . . : < 6p V V V | | ||
+ | | o . . . . 0 < 5p B61 ( PCI rear side ) | | ||
+ | | o o . . . . : < 6p : B62 B60 | ||
+ | |______________:________ ... < 22 pin row ... ... 88 pin row > ___| | ||
+ | GTR < GND=blue | TX=green | RX=yellow | ||
+ | |||
+ | |||
+ | 1st just plug G and T on : | ||
+ | |||
+ | __________________________ | ||
+ | | x x G (R) T ... | ||
+ | | . . . . . ... < GPIO | ||
+ | [sd] raspberry pi | ||
+ | | | ||
+ | |||
+ | </code> | ||
+ | |||
+ | This cable should do the trick too : | ||
+ | |||
+ | |||
+ | https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-F/ | ||
+ | |||
+ | GND=BLUE, RX(INPUT)=GREEN, TX(OUTPUT)=RED | ||
+ | |||
+ | Only green is needed to show output | ||
+ | |||
+ | <code> | ||
+ | sudo screen /dev/ttyAMA0 115200 | ||
+ | |||
+ | barebox 2011.06.0-svn10510-dirty3 (Dec 9 2013 - 12:04:00) | ||
+ | |||
+ | Board: Mindspeed C2000 | ||
+ | c2k_spi_probe | ||
+ | c2k_otp_probe. | ||
+ | cbus_baseaddr: 9c000000, ddr_baseaddr: 03800000, ddr_phys_baseaddr: 03800000 | ||
+ | |||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | |:::::::::::WWWWWWWWW::::WWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDD::::::::::::| | ||
+ | |:::::::::::WWWWWWWW::::WWWWWWWW:::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD::::::::::| | ||
+ | |:::::::::::WWWWWWWW:::WWWWWWWWW::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDDDD:::::::::| | ||
+ | |::::::::::::::::::::::::::::::::::::::::::::::::::::::::::DDDDDDDDDDD::::::::| | ||
+ | |:::::::::::WWWWWWW:::WWWWWWWWWW::::WWWWWWW::DDDDDDDDD:::::::DDDDDDDDD::::::::| | ||
+ | |:::::::::::WWWWWWW::WWWWWWWWWWW:::WWWWWWW::DDDDDDDDD::::::::DDDDDDDDD::::::::| | ||
+ | |:::::::::::WWWWWW::WWWWWW::WWWWW:WWWWWWW::DDDDDDDDDD:::::::DDDDDDDDDD::::::::| | ||
+ | |:::::::::::WWWWWWWWWWWWW:::WWWWWWWWWWWW::DDDDDDDDDD::::::DDDDDDDDDDD:::::::::| | ||
+ | |:::::::::::WWWWWWWWWWWW::::WWWWWWWWWWW::DDDDDDDDDDD:::DDDDDDDDDDDDD::::::::::| | ||
+ | |:::::::::::WWWWWWWWWWW:::::WWWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::| | ||
+ | |:::::::::::WWWWWWWWWW::::::WWWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::| | ||
+ | |:::::::::::WWWWWWWWW:::::::WWWWWWWW::DDDDDDDDDDDDDDDDDDDDDDDD::::::::::::::::| | ||
+ | |:::::::::::WWWWWWWW::::::::WWWWWWW::DDDDDDDDDDDDDDDDDDDD:::::::::::::::::::::| | ||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::| | ||
+ | b=============================================================================d | ||
+ | |||
+ | 1 | ||
+ | Malloc space: 0x8300d000 -> 0x83010000 (size 12 kB) | ||
+ | Stack space : 0x8300c000 -> 0x8300d000 (size 4 kB) | ||
+ | running /env/bin/init... | ||
+ | not found | ||
+ | uLoader > | ||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | * http://en.wikipedia.org/wiki/Conventional_PCI | ||
+ | * http://pinouts.ru/Slots/PCI_pinout.shtml | ||
+ | * https://drive.google.com/folderview?id=0B_6OlQ_H0PxVNTNQeHNQUVpodnc&usp=drive_web&tid=0B_6OlQ_H0PxVRXF4aFpYS2dzMEE# [[Wd]] | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/rescue-ramdisk-for-TFTP-needed-White-Solid-LED-or-new-barebox/m-p/843331/highlight/false#M28196# CommunitY FeedBack | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/Hardware-hacking/m-p/733364/highlight/true#M14411 | ||
+ | * community.wd.com/t5/WD-My-Cloud/rescue-ramdisk-for-TFTP-needed-White-Solid-LED-or-new-barebox/m-p/773125/highlight/true#M18970# serial port are 115200,8,n no hardware handshake | ||
+ | * http://elinux.org/RPi_Serial_Connection | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== BOARD / MISC ==== | ||
+ | |||
+ | * SW1 Button on board - I think is for Wireless QSS / Quick Connect / WPS button. (WiFi present in Kernel and PFE sources) ? | ||
+ | * Not soldered connector on top - USB v2.0 (Present in CPU, work, but need solder few chips back) | ||
+ | * J2 Connector - seems like PCI-E v2.0 interface for Wi-Fi module. | ||
+ | |||
+ | ==== BOARD / LED ==== | ||
+ | |||
+ | * white | ||
+ | * white blinking : ? | ||
+ | * orange blinking : init | ||
+ | * https://community.wd.com/t/my-cloud-blinking-orange/239861/2 | ||
+ | * Red : network issue | ||
+ | * https://community.wd.com/t/solid-red-led-light/222904/3 | ||
+ | |||
+ | * https://products.wdc.com/library/UM/ENG/user-manual-my-cloud-os5.pdf | ||
+ | |||
+ | |||
+ | ==== HARDISK ==== | ||
+ | |||
+ | <code> | ||
+ | Model: ATA WDC WD20EFRX-68E (scsi) | ||
+ | Disk /dev/sda: 2000GB | ||
+ | Sector size (logical/physical): 512B/4096B | ||
+ | Partition Table: gpt | ||
+ | |||
+ | Number Start End Size File system Name Flags | ||
+ | 3 15.7MB 528MB 513MB linux-swap(v1) primary | ||
+ | 1 528MB 2576MB 2048MB ext3 primary raid | ||
+ | 2 2576MB 4624MB 2048MB ext3 primary raid | ||
+ | 5 4624MB 4724MB 99.6MB primary | ||
+ | 6 4724MB 4824MB 101MB primary | ||
+ | 7 4824MB 4826MB 1049kB primary | ||
+ | 8 4826MB 4828MB 2097kB primary | ||
+ | 4 4828MB 2000GB 1996GB ext4 primary | ||
+ | |||
+ | Model: ATA WDC WD20EFRX-68E (scsi) | ||
+ | Disk /dev/sda: 2000398934016B | ||
+ | Sector size (logical/physical): 512B/4096B | ||
+ | Partition Table: gpt | ||
+ | |||
+ | Number Start End Size File system Name Flags | ||
+ | 3 15728640B 528482303B 512753664B linux-swap(v1) primary | ||
+ | 1 528482304B 2576351231B 2047868928B ext3 primary raid | ||
+ | 2 2576351232B 4624220159B 2047868928B ext3 primary raid | ||
+ | 5 4624220160B 4723834879B 99614720B primary | ||
+ | 6 4723834880B 4824498175B 100663296B primary | ||
+ | 7 4824498176B 4825546751B 1048576B primary | ||
+ | 8 4825546752B 4827643903B 2097152B primary | ||
+ | 4 4827643904B 2000398843903B 1995571200000B ext4 primary | ||
+ | |||
+ | |||
+ | Model: ATA WDC WD20EFRX-68E (scsi) | ||
+ | Disk /dev/sda: 243201,80,62 | ||
+ | Sector size (logical/physical): 512B/4096B | ||
+ | BIOS cylinder,head,sector geometry: 243201,255,63. Each cylinder is 8225kB. | ||
+ | Partition Table: gpt | ||
+ | |||
+ | Number Start End File system Name Flags | ||
+ | 3 1,232,39 64,63,62 linux-swap(v1) primary | ||
+ | 1 64,64,0 313,56,62 ext3 primary raid | ||
+ | 2 313,57,0 562,49,62 ext3 primary raid | ||
+ | 5 562,50,0 574,78,15 primary | ||
+ | 6 574,78,16 586,139,0 primary | ||
+ | 7 586,139,1 586,171,32 primary | ||
+ | 8 586,171,33 586,236,33 primary | ||
+ | 4 586,236,34 243201,78,12 ext4 primary | ||
+ | |||
+ | |||
+ | |||
+ | cat /proc/partitions | ||
+ | major minor #blocks name | ||
+ | |||
+ | 8 0 1953514584 sda | ||
+ | 8 1 1999872 sda1 | ||
+ | 8 2 1999872 sda2 | ||
+ | 8 3 500736 sda3 | ||
+ | 8 4 1948800000 sda4 | ||
+ | 8 5 97280 sda5 | ||
+ | 8 6 98304 sda6 | ||
+ | 8 7 1024 sda7 | ||
+ | 8 8 2048 sda8 | ||
+ | 9 1 1999808 md1 | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | ===== SoftWare : ===== | ||
+ | |||
+ | ==== Moders ==== | ||
+ | |||
+ | Official position about any of changes in software an firmware: | ||
+ | |||
+ | Modification of or tampering with the product, including but not limited to any Open Source Software, is solely at Your own risk. Western Digital is not responsible for any such modification or tampering. Western Digital will not support any product in which You have or have attempted to modify the software or hardware supplied by Western Digital. | ||
+ | |||
+ | Random notes, as suggested you can use cron to test stuff (ie do the job after a timeout or revert to original after an other timeout ) | ||
+ | |||
+ | * http://www.scramworks.net/hacking-mycloud.html | ||
+ | ==== OpenSource ==== | ||
+ | |||
+ | That's very nice from WD , thanks for doing it after all that's the FlosS way to do it | ||
+ | |||
+ | * http://download.wdc.com/gpl/gpl-source-sequoia-04.00.00-607.zip ObsoletE | ||
+ | * http://download.wdc.com/gpl/gpl-source-sequoia-04.00.01-623.zip ObsoletE | ||
+ | * http://download.wdc.com/gpl/gpl-source-sequoia-04.01.00-408.zip ObsoletE | ||
+ | * http://download.wdc.com/gpl/gpl-source-sequoia-04.01.01-413.zip ObsoletE | ||
+ | * http://download.wdc.com/gpl/gpl-source-sequoia-04.01.02-417.zip ObsoletE | ||
+ | |||
+ | Check the version you use ie : | ||
+ | |||
+ | WDMyCloud:~# cat /etc/version | ||
+ | 04.01.02-417 | ||
+ | |||
+ | WDMyCloud:~# cat /proc/version | ||
+ | Linux version 3.2.26 (buildmeister@ubuntu) (gcc version 4.7.3 20130102 (prerelease) (crosstool-NG linaro-1.13.1+bzr - Linaro GCC 2013.01) ) #1 SMP Tue Jun 17 15:53:22 PDT 2014 wd-2.2-rel | ||
+ | |||
+ | WDMyCloud:~# cat /etc/os-release | ||
+ | PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" | ||
+ | |||
+ | WD Provides GPL sourcecodes for: | ||
+ | |||
+ | * Barebox v2011.06.0 (Bootloader. Something like "BIOS" in PC's) | ||
+ | * Kernel 3.2.26 + Pfe module + Comcerto modifications | ||
+ | * Samba v4.0.0 | ||
+ | * Forked-daapd v0.19 | ||
+ | * Jquery timezone plugin v1.0 (Only for web UI) | ||
+ | * Libav v0.8.13 (For twonky and, maybe, WD's thumbnail generator) | ||
+ | * Libupnp v1.6.6 | ||
+ | * Netatalk v3.0.8(Apple Talk protocol support) | ||
+ | * Taglib v1.9.1 (File metainfo and id3 tags support for Twonky) | ||
+ | |||
+ | |||
+ | ==== BootLoader ===== | ||
+ | |||
+ | BareBox is the installed BootLoader, it's also OpenSource : http://www.barebox.org/ | ||
+ | |||
+ | |||
+ | === Login === | ||
+ | |||
+ | To log in you need to setup an UarT ConsolE. | ||
+ | |||
+ | |||
+ | === TFtp BooT === | ||
+ | |||
+ | #define WD_ICMP_ENCODE_MSG "WD-ICMP-BEACON" | ||
+ | |||
+ | echo "WD-ICMP-BEACON" | xxd | ||
+ | 0000000: 5744 2d49 434d 502d 4245 4143 4f4e 0a WD-ICMP-BEACON. | ||
+ | |||
+ | * http://community.wd.com/t5/WD-My-Cloud/Unbricking-without-opening/m-p/843261 | ||
+ | * http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen1/Recovery/Readme-en.txt | ||
+ | |||
+ | |||
+ | === Misc === | ||
+ | |||
+ | * http://archlinuxarm.org/forum/viewtopic.php?t=8251&p=44274# BooT "/env/bin/init script" | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/rescue-ramdisk-for-TFTP-needed-White-Solid-LED-or-new-barebox/m-p/773125/highlight/true#M18970 | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/Unbricking-without-opening/m-p/843261/highlight/true#M28179 | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/Hardware-hacking/m-p/733364/highlight/true#M14411 | ||
+ | |||
+ | ==== FIRMWARE ==== | ||
+ | |||
+ | |||
+ | === versions === | ||
+ | |||
+ | * https://support.wdc.com/download/notes/WD_My_Cloud_Firmware_Release_Notes_04.05.00-320.pdf?v=51 | ||
+ | * http://download.wdc.com/nas/sq-040500-320-20171027.deb Firmware: v04.05.00-320 | ||
+ | * https://support.wdc.com/downloads.aspx?p=233&lang=en# | ||
+ | |||
+ | [ 0.000000] Booting Linux on physical CPU 0 | ||
+ | [ 0.000000] Linux version 3.2.26 (root@steveh-ubuntu) (gcc version 4.7.3 20130102 (prerelease) (crosstool-NG linaro-1.13.1+bzr - | ||
+ | Linaro GCC 2013.01) ) #1 SMP Thu Jul 9 11:14:15 PDT 2015 wd-2.4-rel | ||
+ | [ 0.000000] CPU: ARMv7 Processor [412fc091] revision 1 (ARMv7), cr=10c53c7d | ||
+ | [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache | ||
+ | [ 0.000000] Machine: Comcerto 2000 EVM | ||
+ | |||
+ | |||
+ | |||
+ | === Enable SsH : === | ||
+ | |||
+ | * https://192.168.1.229/api/2.1/rest/local_login?username=admin&password=# : success | ||
+ | * http://www.wd2go.com/# Can be ignored | ||
+ | * https://192.168.1.229/api/2.1/rest/ssh_configuration?enablessh=true# : true | ||
+ | |||
+ | * http://community.wd.com/t5/WD-My-Cloud/Rest-call-for-enabling-SSH/td-p/844221 | ||
+ | |||
+ | http://$host/api/2.1/rest/local_login?username=YOURUSERNAME&password=CRIPTEDPASSWORD | ||
+ | http://xxx.xxx.xxx.xxx/api/2.1/rest/ssh_configuration?enablessh=true | ||
+ | |||
+ | |||
+ | === pkg === | ||
+ | |||
+ | * wdnotifier-sq64k - file-system event notifiers designed for the dynamic drive architecture | ||
+ | * wdmpserver-sq64k-release - This is the MediaCrawler component for cataloging and indexing all metadata for content | ||
+ | * wd-lib - WD library functions | ||
+ | * itunes - WD Itunes server wrapper component | ||
+ | * wd-nas - Core WD NAS functions | ||
+ | |||
+ | <code> | ||
+ | dpkg-query -W -f '${binary:Package} - ${Description} | ${Maintainer}\n' | grep wdc.com | cut -d'|' -f1 | ||
+ | afp - Afp service configuration - netatalk | ||
+ | alerts - WD alert definition and scripts | ||
+ | apache-php-webdav - Apache, php, webdav, with WD configuration | ||
+ | bonjour - Bonjour (mDNSResponder) service | ||
+ | data-volume-config - This add RAID support to user data | ||
+ | date-time - date-time handling | ||
+ | drive-lib - Drive mounting, locking (encryption), standby timer, eject, PTP/MTP drive support | ||
+ | ftp - Holds the ftp | ||
+ | itunes - WD Itunes server wrapper component | ||
+ | kernel-mindspeed-sequoia - Kernel binaries | ||
+ | nas-safepoint - This is safepoint | ||
+ | networking-general - WD networking component (bali) | ||
+ | nfs - Nfs file sharing | ||
+ | paragon-ufsd - Paragon ufsd (NTFS/HFS+/J file system driver) | ||
+ | smb-file - SMB implementation. currently using Samba | ||
+ | strings - localization strings | ||
+ | upnp-nas - Universal Plug and Play, with Microsoft Rally support (lld2d) | ||
+ | wd-lib - WD library functions | ||
+ | wd-nas - Core WD NAS functions | ||
+ | |||
+ | |||
+ | |||
+ | dpkg-query -W -f '${binary:Package} | ${Maintainer}\n' | grep -v '@' | ||
+ | admin-rest-api | ||
+ | comm-manager-armhf-release-64k-pagesize | ||
+ | dlna-server-twonky | ||
+ | map-drive | ||
+ | ramlog | ||
+ | ui | ||
+ | wdmpserver-sq64k-release | ||
+ | wdnotifier-sq64k | ||
+ | |||
+ | |||
+ | WDMyCloud:/tmp# #dpkg -L ui # /var/www/htdocs/index.html | ||
+ | |||
+ | </code> | ||
+ | |||
+ | === Linux === | ||
+ | |||
+ | * https://github.com/Johns-Q/wdmc-gen2 | ||
+ | |||
+ | |||
+ | ==== Linux ==== | ||
+ | |||
+ | * https://archlinuxarm.org/forum/viewtopic.php?p=45419 | ||
+ | * https://github.com/xyliu/wd_mycloud# CommunitY | ||
+ | |||
+ | |||
+ | ==== Debian ==== | ||
+ | |||
+ | * http://forums.debian.net/viewtopic.php?f=3&t=110768&p=565358#p565358# DebiaN on WdMyCloud | ||
+ | * https://forum.doozan.com/read.php?2,36023 | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/Clean-debian-and-OpenMediaVault-on-WDMyCloud/td-p/785505 | ||
+ | |||
+ | |||
+ | ==== MISC ==== | ||
+ | |||
+ | * http://www.scramworks.net/hacking-mycloud.html | ||
+ | * http://mybookworld.wikidot.com/forum/t-1006056/debian-on-the-my-cloud-with-open-media-vault | ||
+ | * http://support.wdc.com/download/notes/WD_My_Cloud_Firmware_Release_Notes_04.01.02-417.pdf?v=4237 | ||
+ | * https://www.wd2go.com/ | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/GUIDE-How-To-Unbrick-your-2TB-3TB-4TB-My-Cloud/td-p/765959# FirmWare | ||
+ | * https://drive.google.com/file/d/0B_6OlQ_H0PxVNlhUVE5QTmo1cUE/view# wd-source-code-gpl LinuxKernel 3.2 ? | ||
+ | * NetWork PfE ? | ||
+ | * http://archlinuxarm.org/forum/viewtopic.php?t=8251&p=44274 | ||
+ | * http://community.wd.com/t5/WD-My-Cloud/Unbrick-with-Clean-03-04-01-230-Bittorrent-FIrmware/td-p/763356# | ||
+ | * https://community.wd.com/t/how-exactly-do-you-build-with-the-gpl-source-release-aka-4-00-firmware-broke-git/93339# OpenSource | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== OMV ==== | ||
+ | |||
+ | * https://wiki.debian.org/InstallOpenMediaVaultOnDebian | ||
+ | * https://docs.google.com/uc?id=0B_6OlQ_H0PxVZVdlemxhRlZUWW8&export=download# omv_1.17.tar.gz (661M) | ||
+ | |||
+ | grab AutoInstall.zip | ||
+ | |||
+ | https://drive.google.com/folderview?id=0B_6OlQ_H0PxVUENWT2UwQTIyb2s&usp=drive_web&tid=0B_6OlQ_H0PxVRXF4aFpYS2dzMEE | ||
+ | |||
+ | http://homenas.ru/forum/viewtopic.php?f=5&t=351 | ||
+ | |||
+ | |||
+ | WDMyCloud:/DataVolume# bash -x install.sh # TODO time ? | ||
+ | |||
+ | will reboot | ||
+ | |||
+ | |||
+ | ssh again root:mycloud | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <code> | ||
+ | root@MyCloud:~# uname -a | ||
+ | Linux MyCloud 3.2.68 #7 SMP Wed Apr 1 18:37:42 UTC 2015 armv7l GNU/Linux | ||
+ | |||
+ | TODO: apt-get install etckeeper | ||
+ | |||
+ | root@MyCloud:~# bash -x /run_me_after_reboot.sh | ||
+ | |||
+ | reboot | ||
+ | |||
+ | dpkg-reconfigure tzdata | ||
+ | sudo apt-get install localepurge | ||
+ | |||
+ | |||
+ | http://$host/index.php | ||
+ | |||
+ | |||
+ | omv-firstaid # change admin password | ||
+ | |||
+ | |||
+ | http://$host/index.php | ||
+ | |||
+ | mount /dev/sda4 from gui | ||
+ | |||
+ | ie: | ||
+ | |||
+ | /dev/sda4 33827620 180560 32959712 1% /media/57d6cf45-8bb6-4fb3-8421-a06fdeedce48 | ||
+ | |||
+ | </code> | ||
+ | ===== ERRORS ===== | ||
+ | |||
+ | ==== Reading Configuration Information ==== | ||
+ | |||
+ | * https://community.wd.com/t/reading-configuration-information/145449# | ||
+ | |||
+ | |||
+ | ===== MISC ===== | ||
+ | |||
+ | * http://community.wd.com/t5/forums/searchpage/tab/message?filter=labels%2Clocation&location=forum-board%3Amycloud&location=forum-board%3Amycloud&q=noise# NoisE NaS WesternDigital My ClouD | ||
+ | * http://www.wdc.com/global/products/specs/?driveID=1346&language=1# WD1003FZEX 1TB | ||
+ | |||
+ | * http://store.westerndigital.com/store/wdeu/fr_FR/list/ThemeID.22586100/Bonnes_affaires/Reconditionn%C3%A9s/parentCategoryID.21056100/categoryID.60680000# ShoP 104EUR | ||
+ | * http://www.darty.com/nav/achat/accessoires/stockage_memoire/disque_dur/western_digital_my_cloud_2_to_ethernet.html# 135EUR 2015-01-03 | ||
+ | * http://zyxel.nas-central.org/wiki/Bootlog_%28NAS540%29 | ||
+ | * http://tech.memoryimprintstudio.com/wd-my-cloud-hacking/ | ||
+ | * https://eriffoorp.wordpress.com/2015/05/28/replace-a-hard-drive-on-wd-my-cloud-3/# RestorE | ||
+ | |||
+ | |||
+ | ===== MORE ===== | ||
+ | |||
+ | @TaG: [[wd]] NaS BooT | ||
+ | |||
+ | |||
+ | <html> | ||
+ | <iframe width="560" height="315" src="https://www.youtube.com/embed/vizVO6eS5Ks" frameborder="0" allowfullscreen></iframe> | ||
+ | </html> | ||
+ | |||