Clean OS (Debian), OpenMediaVault and other "firmwares"


#1

WD make a great device with cheap price, but its not so functional for me. So i make few alternatives and here is they:

Whats done now?

  • Clean OS (Debian Wheezy and Jessie) + Test build with WD/Mindspeed patch (Memory page size changed from default 4kb to 64kb)
    > Installation: Read info file inside “Autoinstall” folder.
  • OpenMediaVault - Debian wheezy + OMV. Can be upgraded to latest version. Work almost all stuff.
    Ps: Please, dont change network settings or check /etc/network/interfaces before reboot if you changed it)
    > Installation: Read info file inside “Autoinstall” folder.
  • Synology DiskStationManager v5.2 - Yes! Its DSM from synology! Great WebGUI and lots of functions (Work almost all, except disk mamagment and Synology cloud services - need valid MAC and Serial number). Stable.
    > Installation: Read info inside DSM5 folder.

Recovery and roll back:
If something went wrong, please read “Replace HDD” instruction - its help you reupload firmware to HDD or change internal HDD to another one (Yes, need disasemble device)
Or read instructions from “Recovery” folder - Its almost same, but no need to open device (And void warranty)

Notes:

  • WOL not supported by Hardware.
  • Be careful with network settings - sometime its erase network settings (/etc/network/interfaces)
  • On first login you can get “Error 404: Not found”. Just clear browser cache and check URL (There is no “/UI” string anymore)
  • All your data is safe (DataVolume not changed and not formatted)
  • User / Password for login (WebGui, SSH, etc…) is root/mycloud or admin/mycloud
  • For OMV: After install - go to Storage -> File systems -> Unmount /dev/sda4 and mount it again, then create “Shared folders” and setup other things (Samba, ftp, ssh etc…)
  • For other questions - check this thread. I think all questions already answered.
  • Sometime i can answer in Skype. Check my personal page.

Alternative Firmware (Debian Jessie, Synology DSM6)
Has anyone tried to overwrite MyCloud NAS with Ubuntu Server?
Debian for my WD myCloud EX2 Ultra?
Apt-get update bricked drive
Recover user files Openmediavault installation
Restore Image - bloatware removed + transmission
Alternative Firmware (Debian Jessie, Synology DSM6)
Possible bricked - latest guide?
Nas os
Turning WD My Cloud into a NextCloud Box
Help me Unbrick my WD Mycloud 3TB
Can I use alternative software on my My Cloud
Config file
Synology OS on WD my Cloud - new Hope
WD My Cloud device completely broken (help!)
[DISCUSSION] Debian on mycloud
My Cloud not loading (Solid white light)
OpenVPN and myCloud
WD My cloud reliability
WD Sync and macOS High Sierra
Mainline kernel (>=4.11.x) for WD My Cloud Gen2
Any actual alternative software?
Adding new App
Media server MyCloud 1st Gen
OpenMediaVault question - after install, getting a solid red light
How to download Torrents directly
Viewing files from a removed hard drive
Turn off/ Shut Down WD My Cloud using Android?
WDMycloud and Western Digital softwares
Manage sub-folders permissions
My Cloud gen2 easily install Transmission
Necesito reinstalar el sistema operativo debian 7 de my cloud 3tb
Alternative Software
Home automation - Z-wave
Has anyone updated their My Cloud linux OS?
Using Plex Media Server with My Cloud
Cant connect to the my cloud dashboard
Cannibalizing 4tb mycloud
Image file with GCC?
Festplattenwechsel bei WD MyCloud / Woher den Kernel bekommen?
How to install MySQLi on gen1
Not able to see download option in apps section for WD Cloud
OS X or Window 10 network boot
Totally Useless bit of kit. Scans whole drive everytime I add something and takes a week to scan
Question from New User- WD My Cloud - 2TB
WD - Frequently asked questions
Why are apps only on the ex2?
Using of Subvision
Unrar at V4+
Anyone upgraded their My Cloud Firmware to 4.01.02-41​7? Is this still buggy?
How to run a user boot script at MyCloud Gen2 (2.11.xx) devices
My Cloud Stuck on White LED
Is there a way to set maximum Share sizes in MyCloud?
Loop module
WD My Cloud - File System type - Ubuntu connection question
WD - Frequently asked questions
Tracking/Monitoring use on My Cloud
Running VPN Server on My cloud
Change disk for a smaller
Optware on MyCloud?
Problems after FW upgrade: WDMYCLOUD
[GUIDE] Install MiniDLNA on WD My Cloud (firmware series 3)
How to increase my partition?
New firmware for mycloud
Can you update firmware from 2.x to 4.x on MyCloud Device?
Access My Cloud via ASPX code
Rdiff-backup and point-in-time backups
How can I pull images from mycloud.com and show them in my website?
Help With apache2 in Debian OS
Plex
Backup an network drive to my remote My Cloud on win 10
#2

Additions : Replace Samba 3 to Samba 4:

In simple:

Download compiled bin’s: https://drive.google.com/file/d/0B_6OlQ_H0PxVVmNFWXVHYTZ3XzQ/edit?usp=sharing

apt-get install samba
service samba stop
tar xvfz samba4_binary.tar.gz -C /usr/sbin/
service samba start

In /etc/samba/smb.conf edit/replace:

security = user
lanman auth = no
main protocol = NT1
encrypt passwords = truesocket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVEwrite cache size = 2097152
use sendfile = true
getwd cache = ye

Result:

Download speed: 60-70 MB/s*

Upload speed: 30-40 MB/s*

* @ 1 GB/s network via Samba (CIFS, Windows shares)


New Release Firmware Release 04.04.02-105 (1/27/2016)
#3

Aleluia!


#4

Yes, you can upgrade to Jessie or “Sid” - All works fine.

And you can use “Clean debian” - Its run faster. (And install under that - WebMin or Newer version of OMV (1.0.8))

All instructions included in first message. (And more in Google Drive folder)


#5

Now let’s wait for somebody to make an english tutorial so we can install it to our buggy wd cloud :smiley:

Thanks for the info!


#6

An english tutorial would be highly appreciated!

Thanks for your effort.


#7

Pardon my Linux ignorance, but what is it that you are doing? I am curious. Are you replacing the OS provided by WD? Does it modify the disk layout? Are you adding packages and functionality?


#8

Pardon my Linux ignorance, but what is it that you are doing? I am curious. Are you replacing the OS provided by WD? Does it modify the disk layout? Are you adding packages and functionality?

  • Yes. Its really “Clean Debian Wheezy 7.6” with some important stuff (Ramlog, mdadm and some tweaks for work)
  • If you want - You can modify layout on you HDD what you want (But /dev/sda7 - Is important. He stored boot config). My “FW” dont modyfy anything. (Used original layout - yeasy for install or rewert)
  • OMV = OpenMediaVault - Its free NAS OS, include CIFS/Samba shares, FTP, SMART monitoring, E-Mail notifications, Sync (Backup) services and more stuff in addition repository from commynity - Transmission, Web server (NGinx, PHP5, MySQL5), BTSync, OwnCloud!, ISCSI Target, MiniDLNA and lots of other stuff!

But omv still have some small bugs. (Not important - All original stuff works aswell).

Sorry for bad english - Im not use Google translate :smiley:


#9

Some questions.

Do you lose the data in DataVolume?

Can i install it using ssh or i have to dissasemble de HD and plug in on PC with linux.

Sorry for my bad english.

Thanks!!!


#10
  • Data not loose. Just dont touch /dev/sda4 (Only remount it in new system)
  • For now - Installation only with dissasemble device. (You can use Ubuntu or Debian LiveCD at regulat desctop)

#11

Great work! I’m might try them one of these ‘free’ days…


#12

So can you advise us how to install it from Linux please ? 

I am eager to try it 

Thanks


#13

openmediavalue is very functional solution.
I installed it on my WD.
Unfortunately, the samba transfer performance is pathetic.
Fixed error HTTP Error 504 Gateway timeout when you try to log on
(cookies cleared)

Do you know someone solve the above problems?

How do I change the language clean install of Debian with ru> en?


#14

Read first post!

About 503 error - IUse this solution: http://phpbb.openmediavault.org/viewtopic.php?f=13&t=5048

* First open of web gui - is 3 min. (But then - works fast)


#15

You need to change/update the sources list from russian to english.

#!! Create /etc/apt/sources.list
deb http://ftp.ru.debian.org/debian wheezy main contrib non-free
deb http://ftp.ru.debian.org/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

#updated sources list  /etc/apt/sources.list 
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free

cd /etc/apt/sources.list
nano sources.list

change first two lines that contain ftp.ru.debian…

Save and close out.

apt-get update

 Change you local language. You must be root for this to work.

 I found it here: https://wiki.debian.org/ChangeLanguage

env | grep LANG

export LANG=en_US.UTF-8

dpkg-reconfigure locales

A window will ask you to select the languages you want to have available. Choose your own.

Changes may not show immediately, a reboot will be needed.

Let us know how it goes.


#16

hi there

I’m trying to install the image from a livecd of ubuntu.

I follow all the steps but I can not install fake-hdclock (there).

After installing mdadm I do not see any md127 or md0 device.

I have the hard drive connected via USB and I can see all the partitions sdx-sdx8

Any idea?

Thank you !!


#17

Search md’s:

ls /dev/ | grep md

Or just start manually:

mdadm -A /dev/md0 /dev/sdb1 /dev/sdb2

Where sdb = you WD HDD.


#18

I had to use a gparted livecd because k / ubuntu did not recognize my usb.

It seems that the partition sdb4 has gone. Some proble in partition table. gparted see the device sdb4 but i can`t mount it.

When starting WDMyCloud, the LED flashes white and appears to be doing a check disk.

Any recommendation?


EDIT

I got to repair the partitions and install an image of wdmycloud.

The disk boot with the blue LED in seconds. Then install debian image and now the LED blinks all the time in white.

Is this normal?


#19

This is great work.

How fast OpenMediaVault works on MyCloud?

Is it slower than official firmware?


#20

* OMV and CleanDebian have green LED (For difference). Blinking white - not good (Cant boot). Check manual. (recreate raid as /dev/md0 - is important!)

* OMV runs very fast, but have 2 bugs:

  1. Samba v3 - so slow… Need some tuning and upgrade to v4 (Samba v3=30MBps)
  2. First open of WEB gui takes 3 min. (OMV trying to load somthing at start, but can’t. 3min - cooldown.)

All other stuff - works as well.

~ 1 mounth - Run stable. (OMV v1.0.8, update to 1.0.13 - no problems.)